I need to be able to parse an email account using you scripts and be able to redirect certain emails to the user at another email address, filtering only certain messages for this. I want the user to receive the email at a different email account than I am checking but when they get it appear still with the "to" address that I am checking, not the address I resent it to. This can be done in email programs but I don't see anything in the scripts for redirect or resend-to options. Am I missing it or is this not available?
sefgsdfg - 2011-08-31 16:49:21 - In reply to message 2 from Manuel Lemos
Sorry if this wasn't the best place to post the question. I use a number of your scripts and as what I am trying to do was send the email again after parsing it it seemed to be the right place. The link you provided I am already doing and that is working fine. I do want to process the email into a database and delete it, I am polling a pop3. This part is all fine. Users will mostly view the emails from the database but there are occasions where they want the emails we get to also go direct to them and they need to be able to reply from that email direct to the client. In desktop email programs I could set up a filter to look for something (same as the parsing) and if it matches redirect that email to another email address, basically sending it again but the new recipient sees it as we got it, the headers in include a Sent-to that gets it to the address we want while the email still shows the To address that was originally in the email that we got and parsed. Does that make sense?