开发者

'Raw-send' using PHPmailer?

开发者 https://www.devze.com 2023-04-03 04:47 出处:网络
I need to write a PHP script that can insert one (or more) additional header, and re-send it to another email address.

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 (wit开发者_Go百科h additional headers inserted already).

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


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

Thanks for everyone commenting!

0

精彩评论

暂无评论...
验证码 换一张
取 消