Blogs

Sending SMTP email from an SSL site

By Michael Doyle posted 02-10-2012 14:17

  

I ran into this problem when I was configuring a password recovery option (pulled from codeplex) for an SSL enabled FBA site. I could send smtp email just fine from all the other SharePoint sites but not that one. I checked to make sure I had the correct anonymous settings and the cert was properly applied but still no dice. It just wouldn’t work. Turns out that I had to modify the IIS settings as well. Once I did that then the SSL site worked just fine. So here are the steps.

  1. Open up IIS
  2. Click on the SSL site that you are using for FBA.
  3. Under the ASP.NET settings click on the SMTP E-mail icon.
  4. Enter the SMTP server and the E-mail address.
  5. Click apply over on the right hand side of the screen.

You should be able to test the password recovery option now. Nothing I tried on the SharePoint side worked, but changing it on the IIS side fixed it right away. The same site accessed without SSL (from the inside using Windows credentials) still worked as well. There may be another way to fix this but this worked for me and I was more than happy to move on and do more productive work.



#sharepoint #SSL #SMTP #SharePoint
0 comments
28 views

Permalink