CSharpFeeds - All your C# feeds in one place.

Thursday, March 03, 2005

Sending Mail through SMTP with Authentication

by bruce via Bruce Johnson's SOA(P) Box on 3/3/2005 3:35:00 PM

If you have looked at the process of sending emails from within .NET, odds are pretty good that you have stumbled across the SmtpServer class.  To send email, you create a MailMessage object, assign the necessary properties and then use the Send method on SmtpServer.  The SmtpServer class can be pointed to any mail server that you would like.  MailMessage message = new MailMessage(); message.From = "bjohnson@objectsharp.com";message.To = "who@ever.com";message.Subject = "Testing" ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us