babgvant / elmah

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

Adjust behavior of smtpPort attribute in <errorMail> #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A behavior that is a little confusing is that if you omit the smtpPort
attribute from <errorMail> then ELMAH uses port 25 regardless of your port
settings in <system.net>.

If you want ELMAH to use the port setting in <system.net> you have to
explicitly set smtpPort="0", which seems a little counter intuitive to me.

I described this issue in more detail here:
http://scottonwriting.net/sowblog/posts/13845.aspx

I would propose that if smtpPort is omitted that it is treated as if the
user had entered smtpPort="0" rather than smtpPort="25".

Original issue reported on code.google.com by scott.k....@gmail.com on 21 May 2009 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 22 May 2009 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 27 May 2009 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 27 May 2009 at 1:11

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 27 May 2009 at 1:37

GoogleCodeExporter commented 9 years ago
Implemented in r592.

Original comment by azizatif on 27 May 2009 at 1:40