Webmatrix & Razor & vbhtml. How to include pagebreaks when sending a mail from webpage
Posted on 2015-02-20
Hi Experts. I am sending a mail with the following which works correctly
Dim MailBody As string
MailBody = "1" & "2"
WebMail.Send(to:= "firstname.lastname@example.org", subject:= "Testing the Mail", body:= MailBody)
But I need to format MailBody and cannot get any formatting to work
Not even line breaks
MailBody = "1" & Environment.NewLine & "2"
Doesn't work either.
Anyone know how to add line breaks to this?
Also is it possible to do an html mail with webmail?