RE: Cannot send a hyperlink

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

 



> We are sending email now,
> But we are back to the original problem,
> No hyperlink!
>
> $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 v".phpversion().$eol;
> $msg .= "--".$htmlalt_mime_boundary.$eol;
> $msg .= "Content-Type: text/html; charset=iso-8859-1".$eol;
> $msg .= "Content-Transfer-Encoding: 8bit".$eol.$eol;
> $body.= 'link ';
> $msg .= $body.$eol.$eol;
> mail($email, $subject, $msg, $headers);
>
>
> Yields
>
> Parse error: parse error, unexpected T_STRING in
> /home/zoneof5/public_html/index.php on line 76

If you can't deal with Example 1127. Sending HTML email http://php.net/manual/en/function.mail.php
Check out http://phpmailer.sourceforge.net/ and http://phpmailer.sourceforge.net/tutorial.php#4

_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
-- 
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