Re: Cannot send a hyperlink (resent)

From: Date: Fri, 16 Nov 2007 14:29:24 +0000
Subject: Re: Cannot send a hyperlink (resent)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-264693@lists.php.net to get a copy of this message
On Nov 16, 2007 9:15 AM, Scott Wilcox <sc0tt@x0f.org> wrote: > I personally think many, many mail servers will block any mail with > X-Mailer containing PHP. Purely because there are an insane number of > chances that its going to be spam. > > This is purely based on my opinion though, I'd expect others on the list > to share it or be similar in viewpoint though. > > I'd personally not use that header. That is of course just my two cents > though! > > Scott. > > > tedd wrote: > > At 7:29 PM +0100 11/15/07, Per Jessen wrote: > >> Brad wrote: > >> > >>> Why is php refusing to parse as html? > >> > >> Here your code cut down to what you need: > >> > >> $headers = "From: \"".$fromname."\" > >> <".$fromaddress.">".$eol; > >> $headers .= "X-Mailer: PHP ".phpversion().$eol; > >> $headers .= "MIME-Version: 1.0\r\n"; > >> $headers .= "Content-Type: text/html; charset=\"iso-8859-1\"\r\n"; > >> $headers .= "Content-Transfer-Encoding: 8bit".$eol; > >> > >> $body = "<a > >> href=\"http://www.zoneofsuccessclub.com\">link > >> </a>\n"; > >> > >> mail($email, $subject, $body, $headers); > > > > I've been told that using: > > > > $headers .= "X-Mailer: PHP ".phpversion().$eol; > > > > is a good way to get stuck in a spam filter -- what do you think? > > > > Cheers, > > > > tedd > There are some SMTP servers that rely on the X-Mailer header to determine whether or not a message is SPAM, and can decide in either favor, in part, on that information. However, keep in mind that X-Mailer is also non-Internet standard. In fact, it's even listed in RFC 2076 (gotta' love the RFCs!) as such. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you.

« previous php.general (#264693) next »