I've got this code:
With cdoMessage
Set .Configuration = cdoConfig
.From = strEmail
.To = "do*********@disney.com"
.Cc = strmEmail
.Subject = "Maintenance Request"
.TextBody = strBody
.Send
End With
With cdoMessage
Set .Configuration = cdoConfig
.From = "Ma**************@disney.com"
.To = strEmail
.Subject = "Your Maintenance Request"
.HtmlBody = emailBody
.Send
End With
Now notice the second piece doesn't have .Cc, but they ( strmEmail from the
first piece) are still getting the emails.
How do I tell it not to send a .Cc?
I have five different possible values for strmEmail, and whichever one I
pick for the first part, shows up on the second, so I know it is passing the
value, but I don't want it to.
TIA!
Tom