SamehMohamedEl-Sayed / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Add support for ssl encrypted connections to smtp #165

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
Please add smtpUseSsl="true|false" in the <errorMail> config and the
appropriate code to support ssl connections to the smtp server.

What goal would this enhancement help you achieve?
It is useful when using a non default port and an encrypted connection.

Original issue reported on code.google.com by bdaniel7 on 31 Mar 2010 at 4:14

GoogleCodeExporter commented 9 years ago
It seems that the support is already there, but the default config does not 
mention it:
just use *useSsl="true"* and the module will send the email through a secure 
channel.

Original comment by bdaniel7 on 31 Mar 2010 at 4:21

GoogleCodeExporter commented 9 years ago
> but the default config does not mention it

Will address this. Thanks.

Original comment by azizatif on 31 Mar 2010 at 4:33

GoogleCodeExporter commented 9 years ago
The sample web.config already mentions useSsl:

>        <errorMail 
>            from="elmah@example.com" 
>            to="admin@example.com" 
>            subject="..."
>            priority="Low|Normal|High"
>            async="true|false"
>            smtpPort="25"
>            smtpServer="smtp.example.com" 
>            useSsl="true|false"
>            userName="johndoe"
>            password="secret" 
>            noYsod="true|false" />

Original comment by azizatif on 31 Mar 2010 at 4:41

GoogleCodeExporter commented 9 years ago
hmm.. not this one, 
http://elmah.googlecode.com/svn/tags/REL-1.0/samples/web.config

Original comment by bdaniel7 on 31 Mar 2010 at 4:51

GoogleCodeExporter commented 9 years ago
That's correct because the revision (r592) was made after release 1.0 (r582). 
You will 
therefore find it in the sample web.config shipping with release 1.1:

http://elmah.googlecode.com/svn/tags/REL-1.1/samples/web.config

Original comment by azizatif on 31 Mar 2010 at 5:04