Re: pretty simple problem in mailing a dynamic page
| From: | Justin French | Date: | Wed, 25 Sep 2002 14:33:13 +0000 |
| Subject: | Re: pretty simple problem in mailing a dynamic page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117570@lists.php.net to get a copy of this message | ||
Multipart Mime messages... you can't just put HTML source in an email...
See Manuel's class on phpclasses.org for
Regards,
Justin French
on 26/09/02 3:04 AM, usha (usha_kovai@HotPOP.com) wrote:
> I just want to email a dynamic page ( So I designed a page consisting of
> datas pulled from db and are formated with html tags: here in below code $d is
> such variable to be mailed)
>
> But the problem is that, instead the code contained in $d is sent.
>
> The code is as such:
> $ebody="<html>$d</html>";
> mail("myname@mydomain.com", "The subject",$ebody,"From:
> myname@mydomain.com\r\n");
>
> Cna anyone give me solution for this pretty simple problem.
> Regards
> Usha
>