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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple-line message

Status
Not open for further replies.

hungnguyen

Programmer
Sep 22, 2000
43
US
Hi
I am doing the email box for a web. This mailbox will send automatically a multiple-lines string to a person when the form is submitted. How can you write the message body in multiple lines
I have
objMail.body = "This form is submitted already"
objMail.body = "Thanks"
It does not work.
Please help

[sig][/sig]
 
Hi Hungnguyen,

try this,

msg = "This form is submitted already" &vbNewLine& "Thanks"
objMail.body = msg


Chiu [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top