06-18-2012 02:34 PM
Hi,
A customer is requesting us to insert "x-rcpt-to" command in the email header to help in their email deliveries.
How can we enable this feature and what are the pros and cons?
Looking forward to your usual assistance.
Best Regards,
Ruveni
Solved! Go to Solution.
06-18-2012 06:18 PM
Um, wow. That's an odd request. They're asking you to put in the header exactly what you're already putting on the envelope. Why can't they just get it from the envelope?
A filter whose action is this:
Insert-header("X-rcpt-to", $EnvelopeRecipients)
should do the trick. It'll put all recipients on a single header, not multiple headers with one recipient each. I don't think you can do that.
EDIT: I should point out that messages with very large recipient lists can cause problems with this idea. There is a limit to the size of the headers in a single message, and a really long recipient list could exceed this limit. I don't know what the result would be, but it could result in the message being dropped.
++Don
06-18-2012 06:18 PM
Um, wow. That's an odd request. They're asking you to put in the header exactly what you're already putting on the envelope. Why can't they just get it from the envelope?
A filter whose action is this:
Insert-header("X-rcpt-to", $EnvelopeRecipients)
should do the trick. It'll put all recipients on a single header, not multiple headers with one recipient each. I don't think you can do that.
EDIT: I should point out that messages with very large recipient lists can cause problems with this idea. There is a limit to the size of the headers in a single message, and a really long recipient list could exceed this limit. I don't know what the result would be, but it could result in the message being dropped.
++Don
06-18-2012 07:26 PM
Thankyou Don,
Noted...
Regards,
Ruveni
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide