web.config mail settings don’t support SSL/TLS

After digging around for a bit, I found this:
I had this exact problem. Using the SQL membership provider and the ForgotPassword control, I would get an error that the settings in the web.config weren’t set – something like:



      <smtp deliveryMethod="Network" from="someemail@gmail.com">

        <network host="smtp.gmail.com" userName="someemail@gmail.com" password="somepassword" port="587"/>




but then I got an error that this mailhost needs a secure connection, but there is no way to specify that in the web.config. So the link above describes the bug in detail and a workaround.

Posted in ASP.NET, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


Enter your email address to follow this blog and receive notifications of new posts by email.

Join 9 other followers

%d bloggers like this: