Posted by monomaniac21 on 08/09/06 18:17
Thanks Chuck
Nice site btw
Chuck Anderson wrote:
> monomaniac21 wrote:
> > hi all
> >
> > how can u send a plain text version of an email with the html so that
> > the users mail client can access this plain text version?
> >
> > kind regards
> >
> > marc
> >
> >
> Phpmailer makes this easy. You need to create both versions - HTML and
> plain text and then ...
>
> $mail->IsHTML(true); // set email format to HTML
>
> $mail->Body = "$html_body"; // HTML version
> $mail->AltBody = "$text_body"; // plain text version
>
> Phpmailer is easy to find >> Gô¿ôgle
>
> --
> *****************************
> Chuck Anderson · Boulder, CO
> http://www.CycleTourist.com
> *****************************
Navigation:
[Reply to this message]
|