0

I'm developing an external ASP.NET app that will sit inside a SharePoint site. Can I use SharePoint services to send an email? The app will specify the email content (subject, to, from, and body). I just want to call a method on the SharePoint service to have it send the email.

I'm using WSS 3.0 (not MOSS). Is this possible? If not, what are possible alternatives?

Lifes
  • 1,226
  • 2
  • 25
  • 45

1 Answers1

0

You can use SPUtility.SendEmail method to send email. Add reference to SharePoint DLL and then you can use this method. This way you wil be using your WS site's email configuration.

Shoban
  • 22,920
  • 8
  • 63
  • 107
  • Anyway I can use this to send reminder emails too? I understand this is not possible with an web app and that the best way is to use a Windows Service. – Lifes Jul 28 '12 at 05:22
  • Yes a Windows Service is better or a SharePoint timer job is also a good option. – Shoban Jul 28 '12 at 18:05