Question

I am new to ELMAH and am configuring it to send email. I cannot find any documentation on what the noYsod attribute means. I have omitted it and am getting email sent successfully, but I'd just like to know what this mystery attribute does.

Extra points...unclear on the priority attribute as well. Prioritizes sending from ELMAH, or tags the sent email with a priority?

       <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" />
Was it helpful?

Solution

For those who don't want to browse through source code:

noYsod: Indicates whether YSOD is attached to the e-mail or not. If true, the YSOD is not attached. Default is false.

priority: Sets the MailPriority of the email message. Default is Normal.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top