Emailing from Access

S

Secret Squirrel

I'm using the "SendObject" function in Access to send emails but I wanted to
know how I can set it up to start new rows in the message area of the email.
Right now I have data that is put into the message area but I want to be able
to start a new row or even skip a row in the message area. Can anyone help
with this?
 
F

fredg

I'm using the "SendObject" function in Access to send emails but I wanted to
know how I can set it up to start new rows in the message area of the email.
Right now I have data that is put into the message area but I want to be able
to start a new row or even skip a row in the message area. Can anyone help
with this?

Is this what you mean?
'DoCmd.SendObject acSendNoObject, , acFormatTXT, "[email protected]",
, , "Test", "Line one." & vbNewLine & vbNewLine & "Line 2.", True
 
S

Secret Squirrel

Yes that is what I mean. So all I have to do is use the vbNewLine to start a
new line?
 
Top