Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending email from my .net app 1

Status
Not open for further replies.

benlogan1981

Programmer
Dec 9, 2001
14
GB
I have a requirement to include some basic email functionality into a windows desktop application - simple enough! The problem is that I can't use the standard SMTP stuff in .NET as we need the application to work accross multiple users desktops without seperate configuration. So I have no SMTP host. My guess is that I need to either bundle an email server with my app somehow, but that sounds like a lot of work. Or alternatively I could use a third party tool to perform direct sends, thereby avoiding SMTP all together. Can someone help me out on this one; I am a bit stuck as to the best way to proceed - I am sure that this must crop up quite often, but I cant seem to find many developer accounts of this problem on the web.

Any help would be much appreciated. I am currently testing the directsend feature in devMail.net ...
 
Without an email server that understands SMTP (and they all pretty much do) I think you'll be out of luck.

If you code up your own socket-based methods to send email, you still need an entry-point into the email system, and an email server with it's SMTP protocol provides that. No one is running a public SMTP or email server these days because of the spam problem, so you'll need to rely on a customer-provided email server (whether it's Exchange, Notes, or SendMail). So you'll need a place in your app to configure a SMTP host name.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Another option would be to submit the email contents to a web service that has access to smtp, and let the web service actually send the emails, but that is pretty weird.

How does needing a single config rule out using smtp?

Brian Begy
BugSentry - Automatic error reporting for .NET and COM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top