Re: mail()

From: Date: Mon, 16 Dec 2002 14:38:55 +0000
Subject: Re: mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128402@lists.php.net to get a copy of this message
On Monday 16 December 2002 22:47, Edward Peloke wrote: > Is there anything special you have to do to send a link in an e-mail with > the mail function? > > I used the mail function this weekend and set the mail contents like this: > $mailcontents="Thank you for registering with us /n" > ."http://www.oursite.com"; > > But in the actual e-mail sent, the link was plain text,not a link. Can I > force it to be a link? If you're sending an HTML email then you have to write the links yourself ("<a href="..." blah). If you're sending plain-text email then you cannot specify links. Text inside your plain-text email which looks like a valid URL _may_ be presented as a link by the __recipient's mail client__. To give the mail client a big clue stick you should use the full URL, ie http://www.example.com rather than just www.example.com. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Most people can't understand how others can blow their noses differently than they do. -- Turgenev */

« previous php.general (#128402) next »