Hi Tristan,

[EMAIL PROTECTED] wrote:

HAving:
..."From: [EMAIL PROTECTED]"); doesn't work on all recipients... BUT..
..." From: justaname"); Works on others... but not all...?
Surely this can't be? I've never come accross this before?
Any ideas what's up?

Well, what I do when sending mail with a "spoofed" sender, I do like this:

$olduser = getenv("USER");
putenv("USER=$user_i_want_act_as_for_mass_mailing");
do
{
        mail(.....);
}while($there_are_more_Addresses_to_spam_at);
putenv("USER=$olduser);

Not quite sure, whether I used setenv or putenv, I'm sure U'll find out.

AND: bweare sending spam to ME ;o)

Tris...

Stephan

*********************************************************************
The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
***********************************************************************


THIS is really funny in a mailing list :o)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to