How to send Email using VB.Net?

Questions by mahesh9920

Showing Answers 1 - 1 of 1 Answers

khlander attari

  • Oct 25th, 2007
 

by using
system.web.mail namespace,

here is procedure:
Dim mails1 As New MailMessage

mails1.From = "from address"

mails1.To = "to address"

mails1.Subject = "subject"

mails1.Body = " message "
SmtpMail.SmtpServer = "smtp.net4india.com"

SmtpMail.Send(mails1)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions