Hi all,
I have a small Perl script which uses Mail:OP3Client to periodically check an email account. It works great except for forwarding. Basically I want it to forward certain messages to a different address if found. Right now, it does this OK except for the fact that it loses the original format of the message and any attachments.
What I'm currently doing is using Mail:OP3Client to get the headers and body and then simply using Sendmail to resend all those lines to the new address.
Obviously there's a better way to do this. Can anybody help me?
Thanks,
Nick
I have a small Perl script which uses Mail:OP3Client to periodically check an email account. It works great except for forwarding. Basically I want it to forward certain messages to a different address if found. Right now, it does this OK except for the fact that it loses the original format of the message and any attachments.
What I'm currently doing is using Mail:OP3Client to get the headers and body and then simply using Sendmail to resend all those lines to the new address.
Obviously there's a better way to do this. Can anybody help me?
Thanks,
Nick