Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

email

Status
Not open for further replies.

jamesmills

Technical User
Jul 30, 2003
43
0
0
GB
Hey people i have this code so far. In the boy i want to be able to put:

"Somthing like this
With line brakes in it
so i can send
a body
of the email

like this"

''Send account activation e-mail to customer

''set customer address
emailCustomerEmail = "james@sharkeye.co.uk"
''set email subject
emailSubject = "Subject"
''set email body text = ""
emailBody = &quot;main body <br> /n&quot; & _
&quot;james&quot;

DoCmd.SendObject acSendNoObject, , , emailCustomerEmail, , , emailSubject, emailBody

Thanks
 
Use vbCrLf in your text statement like this

&quot;Somthing like this &quot; & vbCrLf & &quot;With line brakes in it &quot; & vbCrLf & &quot;so i can send &quot; & vbCrLf & &quot;a body&quot; & vbCrLf & &quot;of the email &quot; & vbCrLf & &quot;like this&quot;


Paul

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top