Hello:
I need to send two seperate message one to the the client, who is actually CC and another message that is sent to their broker, but with limited information. Its basically a confirmation message (registration application online) that the client fills out.
I have this so far...
Sorta confused, I tried creating a new instance of MailMessage using a different variable name, but when I tested it the "Broker E-mail" recieves a "False", but the client and membership receives it.Code:If strBrokerEmail = "" Then Dim Mail As New MailMessage 'Mail.To = "MemberApplication@pwr.net" Mail.To = "roberta@pwr.net" 'Mail.Cc = home_email.Text & ";" & strBrokerEmail Mail.Cc = home_email.Text Mail.From = """PWAOR Membership"" <MemberApplication@pwr.net>" Mail.Subject = "New Member Application - " & member_first_name.Text & " " & member_middle_initial.Text & " " & member_last_name.Text Mail.BodyFormat = MailFormat.Html Mail.Body = "info.........................." The top portion only sends it to the client and membership if the client doesnt choose to cc their broker else Dim Mail As New MailMessage 'Mail.To = "MemberApplication@pwr.net" Mail.To = "roberta@pwr.net" 'Mail.Cc = home_email.Text & ";" & strBrokerEmail Mail.Cc = home_email.Text Mail.From = """PWAOR Membership"" <MemberApplication@pwr.net>" Mail.Subject = "New Member Application - " & member_first_name.Text & " " & member_middle_initial.Text & " " & member_last_name.Text Mail.BodyFormat = MailFormat.Html Mail.Body = "info.........................." Now how or what do I add so it also sends to their broker, but a different Mail.Body information?
Thank for all the help!


Reply With Quote
Bookmarks