Has anyone ever set up error emailing with Fluorinefx?
Update: Found the answer with the SmtpAppender in log4net
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Fluorinefx uses log4net as its logging source. You can add this appender (and the error level warning) and all is well. Note, the documentation (ala xml) says that smtp authentication won’t work unless you are in a 1.1 runtime. Sounds crazy, and it is. At least in log4net 2.0.5+, authentication works, but the code still says it won’t.
<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender">
<to value="to@someware.com" />
<from value="from@someware.com" />
<subject type="log4net.Util.PatternString" value="%property{log4net:HostName} Error: %appdomain" />
<smtpHost value="smtp.sendgrid.net" />
<username value="blah"/>
<password value="dee"/>
<authentication value="Basic"/>
<bufferSize value="512" />
<lossy value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline" />
</layout>
</appender>