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 biv343 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 code

Status
Not open for further replies.

omlac

Programmer
Apr 7, 2008
13
ZA
Can someone help me on how to send email from a c# application without using SMTP server.


 
Um, I suppose there is a way to do it using outlook automation? Never tried that though, office automation is typically fraught with peril due to versioning issues and COM wackiness...

[small]----signature below----[/small]
Majority rule don't work in mental institutions

My Crummy Web Page
 
You can setup a webservice on a server that will send the email for you - you then just have to authenticate to the webservice and tell it what to send.

 
Hi,
Webservice?? If i use a web service and say i have 4 clients at 4 diferent sites, dont i need 4 different webservices 4 each site as well. I have read that i can create my own smtp server,Assuming that it does require exchange server installed, which one do u think is a better way of handling.
I need something that requires minimum modification once installed.
Thank you.
 
you would only need 1 webservice. the 4 clients would need access to that webservice.

if the clients have email then they have access to an email server. point the smtpclient object to the same server/port and send.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top