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

Sending email from Windows application

P: n/a
Is it possible to send email from a Windows-form application like I do
from a web-form application?
regards
reidarT
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Reidar,

What are you doing using default mailclient or SMTP.

It both can in almost the same way.
(When you did it in ASP than reply because in ASPNET it goes a little bit
else).

Cor
Nov 21 '05 #2

P: n/a
You can still use the Web.Mail namespace if you are OK with having IIS
configured. Or you can always use a thirdparty emailing component or automate
Outlook or write your own lightweight SMTP component (It is not very
difficult if you dont have to do attachements. Just read the RFC and
implement the protocol.)

Check out http://www.codeproject.com/csharp/IndySMTP.asp for a sample

--
Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com
"ReidarT" wrote:
Is it possible to send email from a Windows-form application like I do
from a web-form application?
regards
reidarT

Nov 21 '05 #3

P: n/a
"ReidarT" <re****@eivon.no> schrieb:
Is it possible to send email from a Windows-form application like I do
from a web-form application?


Sending and receiving email
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=email&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.