Josh Madagan

I'd like to send out emails from a web part using the SMTP server that's specified in SharePoint Central Admin. I need to know how to retrieve this SMTP server address (or how to pass the MailMessage to SharePoint and have it send the message for me). I think I've seen a way to do this somewhere, but I can't find anything online.

Re: SharePoint - Development and Programming Send email through SMTP server configured in Central Admin?


you probably should look at the sharepoint utility suite....i know that it has some method called SPUtility.SendMail that can be used.

You should be able to download the utlity suite from microsoft's website and look for documentation on SPUtility.SendMail method....hope this helps....