Click to See Complete Forum and Search --> : Line Break for JMail


Blelisa
12-13-2006, 11:02 AM
I cannot get a line break to occur in my email which is sent jmail. I think my syntax is off but cannot figure it out. Any help is appreciated.

Dim MyMail
Set MyMail = Server.CreateObject("JMail.SMTPMail")
MyMail.ServerAddress = "mail.hemisphere.net"
MyMail.Sender = "lblendowski@magneforcess.com"
MyMail.AddRecipient "lblendowski@hemisphere.net"
MyMail.Subject = "New Registrant on Hemisphere.net"
MyMail.Body = Session("company") & " at" & Session("contact") & " has submitted a service request" & vbcrlf & " TYPE OF SERVICE REQUESTED:" & Request.Form("make")& vbcrlf & "GENERAL SERVICE DESCRIPTION" & Request.Form("Team")& vbcrlf & " DESCRIPTION:" & Request.Form("details")& vbcrlf & " DATE REQUESTED:" & Request.Form("txtdate")
MyMail.Execute
Set myMail=nothing

russell
12-13-2006, 12:30 PM
is it an html email? tried "<br>" ?