Page 1 of 1

Thoughts on notifications with expanded recipient headers?

Posted: Tue Jun 12, 2012 2:50 pm
by hhlodge
Before I put this in Tracker as a feature request, I wanted to 1) see if it's already possible (I don't think so) and 2) what people's thoughts were. When notifications come in, I often would like to "reply all" to the contacts for that notification to let them know something, inquire about the issue or any number of reasons. I already include who's getting notified by use of the $NOTIFICATIONRECIPIENTS$ macro, but that's not in the header recipient for the message, so I have to include addresses manually. Would it make sense or be of value for the header recipient (To: field) to include the email addresses of the contacts? I'm not sure if this would break anything. Thanks.

Re: Thoughts on notifications with expanded recipient header

Posted: Tue Jun 12, 2012 3:34 pm
by scottwilkerson
It would cause all of the recipients to get multiple copies of the alert, not sure if that would be the best idea...

Re: Thoughts on notifications with expanded recipient header

Posted: Wed Jun 13, 2012 8:00 am
by hhlodge
Having the recipients listed in the To: field (header recipients) would have no affect on the envelope recipients. This is easily proven with the following.

Code: Select all

$ > mailin.txt << EOF
To: [email protected],[email protected]
Subject: Test

Testing header recipients.
EOF

$ mailin | sendmail -v [email protected]
Only recipient1 will get the mail but both will be in the To: line and if he does a reply all, the MUA will put both (or all) in the new message and sendmail would then put all recipients in the envelope recipients.

Re: Thoughts on notifications with expanded recipient header

Posted: Wed Jun 13, 2012 9:36 am
by scottwilkerson
True, I thought you were talking about using the XI notification handler which actually used phpmailer.

With XI as it is you could create a custom notification handler setup this way and use that.

Re: Thoughts on notifications with expanded recipient header

Posted: Fri Jun 15, 2012 9:23 am
by hhlodge
I don't see a macro with the list of notified email addresses, just the list of short names in $NOTIFICATIONRECIPIENTS$. Do I need to resolve the email addresses myself from that list?

Re: Thoughts on notifications with expanded recipient header

Posted: Fri Jun 15, 2012 4:34 pm
by scottwilkerson
Yes, you would need to resolve them