CC on Email??

  • 6 October 2005
  • 2 replies
  • 0 views

Badge +2
Is it not possible to CC on an email? This seems like a relatively simple thing but I can't seem to find out how to do it. I want to send the email to the destination user and cc the originator so he/she know where the process is without needing to open up a browser.

If its not possible through the interface, can I edit the code somewhere?

2 replies

Badge +2
Nevermind, I figured it out myself. I forgot to generate the code before editing the code.
Badge +9
Hi,

The CC property of the System.Web.Mail.MailMessage is not implemented in the standard mail event template, you can however edit the code to implement this, please have a look at the sample below:

"
If IsNothing(strEmail) OrElse strEmail.Trim().Length = 0 Then
Throw New System.Exception("No Email Address was supplied, please rectify and try again.")
End If
strSubject = "Test Mail"
strBody = "This is a Test"
objMsg.From = strFrom
objMsg.To = strEmail
objMsg.Subject = strSubject
objMsg.Body = strBody

'Specify CC property
objMsg.Cc = myCCList
objSender.Send(objMsg)
End Function

Reply