Re: Re: Warning Spammer

From: Date: Wed, 11 Jun 2003 13:49:01 +0000
Subject: Re: Re: Warning Spammer
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-151065@lists.php.net to get a copy of this message
Thanks dude my spamassassin caught it and killed your example. :) > At 14:08 11.06.2003, Kevin Saenz said: > --------------------[snip]-------------------- > >I think we are waaaay off topic. > >But how do you know if they are sending from a legit email account > >I know if I was a spammer I would be using made up ones like > >123487549@aol.com joe9358467@hotmail.com how hard is it to forge > >email addresses? > --------------------[snip]-------------------- > > It's extremely simple - just put any email address as "From" address: > > mail('ksaenz@spinaweb.com.au', > 'Buy me!', > 'Here\'s some spam for you', > "From: 123487549@aol.com\r\n" . > "Reply-To: ksaenz@spinaweb.com.au\r\n" . > "X-Mailer: PHPSpam/" . phpversion() . "\r\n", > "-f123487549@aol.com"); > > The last parameter is a sendmail parameter which may be omitted (doesn't > work in safe mode anyway, see > http://www.php.net/manual/en/function.mail.php). -- Regards, Kevin Saenz Spinaweb Your one stop shop for I.T solutions. Ph: 02 4620 5130 Fax: 02 4625 9243 Mobile: 0418455661 Web: http://www.spinaweb.com.au

« previous php.general (#151065) next »