Guest User

Untitled

a guest
Nov 7th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. String[] parametri = {username};
  2. MapLookup.setMainArguments(parametri);
  3.  
  4. <SMTP name="Mailer" subject="${sys:logPath} - ${map:0}" to="${receipients}"
  5. from="${from}" smtpHost="${smtpHost}" smtpPort="${smtpPort}"
  6. smtpProtocol="${smtpProtocol}" smtpUsername="${smtpUser}"
  7. smtpPassword="${smtpPassword}" smtpDebug="false" bufferSize="200"
  8. ignoreExceptions="false">
  9. </SMTP>
  10.  
  11. <SMTPx name="ErrorMail" smtpHost="mailer.xxxx.de" smtpPort="25"
  12. from="your name <noReply@xxx.de>" to="${errorEmailAddresses}"
  13. subject="[PROJECT-ID, ${hostName}, ${web:contextPath}] %p: %c{1} - %m%notEmpty{ =>%ex{short})}"
  14. subjectWithLayout="true" bufferSize="5"
  15. burstSummarizingSeconds="300" bsCountInSubject="S" bsMessageMaskDigits="true"
  16. bsExceptionOrigin="true" >
  17. <PatternLayout pattern="-- %d %p %c [%.20t,%x] %m%n" charset="UTF-8" /> <!-- SMTP uses fixed charset for message -->
  18. </SMTPx>
  19. <Async name="AsyncErrorMail" blocking="false" errorRef="Console">
  20. <AppenderRef ref="ErrorMail"/>
  21. </Async>
Add Comment
Please, Sign In to add comment