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.
Thank for all the help!
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...
VB.NET:
If strBrokerEmail = "" Then
Dim Mail As New MailMessage
'Mail.To = "[EMAIL="MemberApplication@pwr.net"]MemberApplication@pwr.net[/EMAIL]"
Mail.To = "[EMAIL="roberta@pwr.net"]roberta@pwr.net[/EMAIL]"
'Mail.Cc = home_email.Text & ";" & strBrokerEmail
Mail.Cc = home_email.Text
Mail.From = """PWAOR Membership"" <[EMAIL="MemberApplication@pwr.net"]MemberApplication@pwr.net[/EMAIL]>"
Mail.Subject = "New Member Application - " & member_first_name.Text & " " & member_middle_initial.Text & " " & member_last_name.Text
Mail.BodyFormat = MailFormat.Html
Mail.Body = "info.........................."
[I][B]The top portion only sends it to the client and membership if the client doesnt choose to cc their broker[/B][/I]
else
Dim Mail As New MailMessage
'Mail.To = "[EMAIL="MemberApplication@pwr.net"]MemberApplication@pwr.net[/EMAIL]"
Mail.To = "[EMAIL="roberta@pwr.net"]roberta@pwr.net[/EMAIL]"
'Mail.Cc = home_email.Text & ";" & strBrokerEmail
Mail.Cc = home_email.Text
Mail.From = """PWAOR Membership"" <[EMAIL="MemberApplication@pwr.net"]MemberApplication@pwr.net[/EMAIL]>"
Mail.Subject = "New Member Application - " & member_first_name.Text & " " & member_middle_initial.Text & " " & member_last_name.Text
Mail.BodyFormat = MailFormat.Html
Mail.Body = "info.........................."
[I]Now how or what do I add so it also sends to their broker, but a different Mail.Body information?[/I]
Thank for all the help!