tags:

views:

12

answers:

0

I working with an app that sends emails out to a predefined list of subscribers. Should an email bounce, I think the email is sent back to the email address specified in the "Return-path" header property, but I need to uniquely identify who sent this email(diff users can log into this app). So, I thought I would specify my own X-Header/X-Field property in the header of each email that gets sent, identifying the sender.

My question is: How do I place my own X-Header in the emails I send, and how do I read this information if the email does bounce back?

I'd be open to alternative solutions to this too. Thanks.