I am using Access 2003 VBA to generate an Outlook 2007 email which is working fine. In the .HtmlBody section I would like to have 3 lines of text instead of just one which is what I am getting now. So my question is how to create a carriage return in the .HtmlBody section of the email text. Thank you.
With OutMail
.To = mail_to_list
.CC = ""
.BCC = ""
.Subject = "Varnish Tank Status, Philips EMAG, Juarez"
.HtmlBody = "<html>Raw varnish level: " & raw_gallons & " gallons. Day tank varnish level: " & day_gallons & " gallons. Last Updated: " & lastupdateraw & "</html>"
.Send
End With
With OutMail
.To = mail_to_list
.CC = ""
.BCC = ""
.Subject = "Varnish Tank Status, Philips EMAG, Juarez"
.HtmlBody = "<html>Raw varnish level: " & raw_gallons & " gallons. Day tank varnish level: " & day_gallons & " gallons. Last Updated: " & lastupdateraw & "</html>"
.Send
End With