Our business has many clients, each of which is assigned a number.  Using that 
number, we assign an email address to receive and store email communications 
for that client.  So, for example 12...@mydomain.com is received by a wildcard 
alias and deposited into one email account for all aliases.  I have a ruby 
routine that then grabs each new email, filters for unknown senders or spam, 
parses the headers to find the number of the original recipient, and processes 
the email from there.  

This all works wonderfully, except when the client’s folder is the recipient of 
a BCC.  Because of the alias, there is no trace of the original BCC address.  
The email gets ignored because there is no address to parse.

I understand the reason that the BCC is striped from the headers when viewed by 
the original recipient.  It wouldn’t be “blind” if the BCC was in the header, 
obviously.  My situation is preserving the BCC header info for the BCC 
recipient, in the header of the copy of the email received by the BCC 
recipient, either as a new header or any other method.

I’ve been asked why I want to do this.  Perhaps an example would help.  John 
hates George.  A situation arises that involves both of them and I want to send 
email to John with a BCC to George because I don’t want to fight with John 
about sending a copy to George.  Maybe it’s an employee/employer situation and 
I’m chastising an employee and want to save a copy in their personnel folder, 
but don’t want to add to the discord by letting them know I’m saving a copy to 
their personnel folder.

Anyone have any suggestions?

Reply via email to