RE: [PHP] Cannot send a hyperlink
| From: | Brad | Date: | Sat, 10 Nov 2007 21:25:00 +0000 |
| Subject: | RE: [PHP] Cannot send a hyperlink | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264304@lists.php.net to get a copy of this message | ||
I am not sure that would help.
Just another can of worms.
The $_REQUEST is tied into a whole bunch of database functions.
My present code....
<?
$email = $_REQUEST['email'] ;
$message = '<a href="'.www.zoneofsuccessclub.com.'">link
</a>';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail( $email, "Your FREE book from Zone of Success Club .com",
$headers, $message, "From: $email" );
?>
-----Original Message-----
From: Jochem Maas [mailto:jochem@iamjochem.com]
Sent: Saturday, November 10, 2007 3:44 PM
To: Brad
Subject: Re: [PHP] Cannot send a hyperlink
this will help: http://phpmailer.sourceforge.net/
Brad wrote:
> I am having trouble send an email with a hyperlink
>
> Php is parsing html as text????
>
> If I add the proper header information to ?make it work? The email no
longer
> goes through?
>
>
>
> Here is the code
>
>
>
> <?
>
> $email = $_REQUEST['email'] ;
>
> $body = '<a href="'.www.zoneofsuccessclub.com.'">link
> </a>';
>
> $headers = 'MIME-Version: 1.0' . "\r\n";
>
> $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>
> mail( $email, "Your FREE book from Zone of Success Club .com",
>
> $headers, $message, "From: $email" );
>
> ?>
>
>
>
> Thanks
>
> Brad
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date:
11/10/2007
> 10:41 AM
>
>
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM