pepoluan
pepoluan

Reputation: 6808

'Raw-send' using PHPmailer?

I need to write a PHP script that can insert one (or more) additional header, and re-send it to another email address.

How would I do that using PHPmailer? I can't seem to find how to do a 'raw send' of email message (with additional headers inserted already).

Or, if PHPmailer can't do that, how do you recommend I do what I want?

Upvotes: 1

Views: 955

Answers (1)

pepoluan
pepoluan

Reputation: 6808

After spelunking around, I decided to just use 'fsockopen' and adapt this PHP snippet (lots of bugs there).

Thanks for everyone commenting!

Upvotes: 1

Related Questions