Mar 15, 2011, 2:25 AM
Post #1 of 1
I'a administrating a mail forwarding server. The server is pretty in load because it sends several millions of emails per day(not spam. one of the registrar free services). Task: I need to resend the emails with changed From field. Unfortunately many customers use check sum of the emails so I can not just change the from field. I think that I need to parse the current mail for the needed headers and then create a new one. The I need to paste the data to the new mail like MIME attachment. Problems: this script should run very fast and the mail can be up to 50Mb.
Code examples are much appreciated.
P.S. Sorry for my terrible English.