Email from a Windows Form

  • Thread starter Thread starter Nitin Agarwal
  • Start date Start date
N

Nitin Agarwal

Hi,

I am in the process of developing an application wherein I want to add a
functionality: The moment the user presses submit, the application should
connect to an SMTP server and send out a preformed mail message to a
prespecified target email address. I know that raw SMTP commands such as
RCPT, MAILTO, etc. should be used - but am unaware of the exact syntax.

Any help would be appreciated.

Thanks,
Nitin

MS-MBA
Boston University
 
Hello,

Nitin Agarwal said:
I am in the process of developing an application wherein
I want to add a functionality: The moment the user
presses submit, the application should connect to an
SMTP server and send out a preformed mail message
to a prespecified target email address.

Have a look at the classes in the 'System.Web.Mail' namespace.

How-to: Send E-mail
http://msdn.microsoft.com/library/en-us/dnvssamp/html/vbcs_SendMail.asp
 
Back
Top