RE: Cannot send a hyperlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brad wrote:

> Beginning with
> $headers .= "--".$htmlalt_mime_boundary.$eol;
> It starts to read it as text and not html??
> 
> Could this be a server side problem?

Nope.

> $email = $_REQUEST['email'] ;
> $fromaddress .= 'admin@xxxxxxxxxxxxxxxxxxxxx';
> $fromname .= 'Zone of success Club';
> $eol="\r\n";
> $headers  = "From: ".$fromname."<".$fromaddress.">".$eol;
> $headers .= "Reply-To: ".$fromname."<".$fromaddress.">".$eol;
> $headers .= "Return-Path: ".$fromname."<".$fromaddress.">".$eol;
> $headers .= "Message-ID: <".time()."-".$fromaddress.">".$eol;
> $headers .= "X-Mailer: PHP ".phpversion().$eol;
> $headers .= "--".$htmlalt_mime_boundary.$eol;
> $headers .= "Content-Type: text/html; charset=iso-8859-1".$eol;
> $headers .= "Content-Transfer-Encoding: 8bit".$eol.$eol;
> $body = "<a href=\"http://www.zoneofsuccessclub.com\";>link </a>\n";

You have a MIME boundary where it doesn't belong.  MIME boundaries are
for the body, not the header. 


/Per Jessen, Zürich

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux