static class |
TransportRule.NameExpression
Server rule string format:
id-rule.[*-userrule].[match*-userrule].string
- id-rule are for "connect"-time exceptions
- *-userrule are for "send"-time exceptions involving every mail (not depending on the recipients address)
- match*-userrule are for "send"-time exceptions involving specific recipients (starting with match - ** to match every address)
Available rules:
- me[v]: MessagingException
- sfe[v]: SendFailedException
- smtpafeXXX[v]: SMTPAddressFailedException with XXX returnCode
- smtpaseXXX[v]: SMTPAddressSuccededException with XXX returnCode
- smtpsfeXXX[v]: SMTPSendFailedException with XXX returnCode
- null: NullPointerException
- io: IOException (nested in a MessagingException)
- rpt: repeat the previous rule pattern
- (*) if a "mail" rule (one involving addresses) ends with "v" resulting in a "valid" address (the failure is about some other error: valid unsent) |