Brad wrote: > I am not sure that would help. I am. > Just another can of worms. no, not really, not at all. > The $_REQUEST is tied into a whole bunch of database functions. wtf. $_REQUEST is a super global - nothing what so ever to do with databases. > > My present code.... > .... is about as robust as a soap bubble. in a world where 60-70 of all mail is SPAM how far do you think the crufty output your generating is going to get? my guess is generally just as far as /dev/null on the recipient machine. which is why I suggested a mailer class that is known to work and wraps up all the tricky crap (and protects you from making stupid mistakes like opening up the mail() function to mail header injection attacks. most people will probably be using a DB as the source of dynamic content for generated emails, your situation is nothing special in that regard. > > <? > $email = $_REQUEST['email'] ; oh yeah and taking the 'to' email address from the request is just asking for your script to be turned into spambot. > $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@xxxxxxxxxxxxx] > Sent: Saturday, November 10, 2007 3:44 PM > To: Brad > Subject: Re: Cannot send a hyperlink > > this will help: http://phpmailer.sourceforge.net/ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php