質問

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" />
役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top