in reply to Getting BCC: header from a message.

Note that you are probably failing on other occasions too because the "to" entry in the SMTP envelope is often not the same as the "To" in the header.

My guess is that the only way to really do what you want with full reliability would be to write a shell SMTP server that just forwards all the data off to sendmail for actually processing but does the lookup in your db based on the envelope.

I bet you could modify The Net::SMTP::Server Module to do this for you...

-I went outside... and then I came back in!!!!

  • Comment on Re: Getting BCC: header from a message.