Mike McLean
commented on
LOGBACK-603
Allow multiple addresses for "to" property of SMTPAppender
Ceki,
Even though the documentation indicates this should work, it doesn't seem to work.
<to>
email1@host.com
,
email2@host.com
</to>
Will result in a single email being sent to
email1@host.com
logback-classic-0.9.28.jar
logback-core-0.9.28.jar
slf4j-api-1.6.1.jar
In my context, I have a single XML file and use variable replacement to put a variable amount of addresses based on the environment (i.e.: In dev, I'll add 3 or more addresses, but in production it's a single mailing list)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your
JIRA administrators
.
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Even though the documentation indicates this should work, it doesn't seem to work.
<to>email1@host.com,email2@host.com</to>
Will result in a single email being sent to email1@host.com
logback-classic-0.9.28.jar
logback-core-0.9.28.jar
slf4j-api-1.6.1.jar
In my context, I have a single XML file and use variable replacement to put a variable amount of addresses based on the environment (i.e.: In dev, I'll add 3 or more addresses, but in production it's a single mailing list)