-
Topic
-
Hi Team,
I am wondering if you can point me in the right direction. The following code is an example of the code I use to send out a newsletter to many recipients.
The mail send out without any problems and looks quite neat. However if the recipient tries to reply to the email or forward it on to another recipient, the HTML code is shown in the body of the email, not the HTML view.Code Example:
dim newMail
dim srlText
dim mailTo
dim subjectSet srlText = Utilities.StringList
Set newMail = GroupWise.Account.MailBox.Messages.Add(“GW.MESSAGE.MAIL”)srlText.Add(“<HTML><BODY>” + vbCrLf)
srlText.Add(“<FONT TYPE=” + chr(34) + “VEDANA ” + chr(34) + “SIZE=” + chr(34) + “3” + chr(34) + “>”)
srlText.Add(“<BR> This is a link to “)
srlText.Add(“<A HREF=” + chr(34) + “http://www.advansyscorp.com/forums/forum/3634089931-2/”)
srlText.Add(chr(34) + “>Formativ Forums</A> <BR>”)
srlText.Add(vbCrLf + “</FONT></BODY></HTML>”)
subject = “Formativ Forum Support”
mailTo = emailaddressnewMail.Recipients.Add mailTo, , 0
newMail.Subject = subject
newMail.BodyText = srlText.Text
newMail.SendsrlText.Clear
End ExmapleAm I doing this the wrong way? I could not find anything in the Object API to describe a different way of creating HTML viewed emails.
HTML emails I have received from other sources forward on correctly, I wish mine to do the same.
Thanks in advance for any help.
Mike
- You must be logged in to reply to this topic.