Email body
My issue is with the body line. As you can see is scrolls off the page to the right. Any ideas how i can make this scroll down the page so its easier to read.?
Many thanks to anyone who can help
Dim mail As New MailMessage()
'set the addresses
mail.From = New MailAddress("EU-IT-Help-Desk@withersworldwide.com")
mail.To.Add("EU-New-User-Creation@withersworldwide.com")
'set the content
mail.Subject = "New User - " & strFirst & " " & strLast & " Account Details "
mail.IsBodyHtml = True
mail.Body = "****Automatic email****," & Environment.NewLine & "Please note London IT have created a new user account." & Environment.NewLine & "Name: " & strFirst & " " & strLast & " " & Environment.NewLine & "Initials: " & strUser & " " & Environment.NewLine & "Department: " & sDepartment & " " & Environment.NewLine & "Office Location: " & WithersOffice.Text & " " & Environment.NewLine & "Regards" & Environment.NewLine & "European IT Helpdesk" & Environment.NewLine & "Withers LLP" & Environment.NewLine & "+44 (0) 207 597 6440" & Environment.NewLine & "EU-IT-Help-Desk@withersworldwide.com" & Environment.NewLine & "****Please note this email was automatically generated from the IT User Creation Script****" & Environment.NewLine & "Please contact the European IT Helpdesk x6440 with any issues" & Environment.NewLine & "This Account has been created by: " & strLoggedonUser & ""
'send the message
Dim smtp As New SmtpClient("IP ADDRESS HERE")
smtp.Send(mail)

