System.web.mail

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hello

I am writing a contact form using system.web.mail
I am using emailMsg.Body = Body.Text; to add the text

How can I add more fields in the body eg.

I can get From, Subject and Message
But I need from, Subject, address, message etc.

Any ideas?
 
emailMsg.Body = "From: "+ txtFrom.text + "<BR>Subject: " + txtSubject.Text +.....

Just as a note I'm putting in a basic HTML line breaks.
 
Back
Top