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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top