I wish to send an email, and I want the ability to place explicit newline characters in the content (bodyText) of the mail.
I have tried both br and backslash-n. In both cases, instead of being interpreted as a newline character, they appear literally.
Thank you in advance for solutions.
For futher clarification, here is my code. All works fine except for the newline problem:
set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "kabbalaonline.org"
Mailer.FromName = "tom"
Mailer.FromAddress = "tom@mail.com"
Mailer.AddRecipient "joe", "joe@mail.com"
Mailer.Subject = "hello, joe"
Mailer.BodyText = "this is line 1<br>this is line2"
if Mailer.SendMail then
Response.Write("ok")
else
Response.Write("Mailer.Response")
end if
set Mailer = nothing