By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,582 Members | 1,720 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,582 IT Pros & Developers. It's quick & easy.

Email from a Windows Form

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello,

"Nitin Agarwal" <na******@bu.edu> schrieb:
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...s_SendMail.asp

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

P: n/a
Please check the following url
http://www.faqs.org/rfcs/rfc821.html
-----Original Message-----
Hi,

I am in the process of developing an application wherein I want to add afunctionality: The moment the user presses submit, the application shouldconnect to an SMTP server and send out a preformed mail message to aprespecified target email address. I know that raw SMTP commands such asRCPT, MAILTO, etc. should be used - but am unaware of the exact syntax.
Any help would be appreciated.

Thanks,
Nitin

MS-MBA
Boston University
.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.