|
Posted by bill on 10/13/07 10:34
jodleren wrote:
> Hi fellow
>
> I read about this here, and I need a simple form to post and mail a
> simple table (formatting) in HTML.
> My message is somthing like: <html><body><table....
>
> I have a header as this.
>
> $headers = "From:".$_POST["v8"]."\r\n".
> "To:sonnich@--hot.ee\r\n".
> "MIME-Version: 1.0\r\n" .
> "Content-Type: text/html;\r\n";;
> if (mail('sonnich@--hot.ee', 'Täidetud ankeet', $message,
> $headers))
>
> My problems:
> the body remains plain text in Outlook Express.
>>From is not visible
> The ä remains as is in the header (should be ä)
>
> Though my email is there twice, but the mail only once :-)
>
May I cordially request that the gurus cut the guy some slack.
While I agree that plain text is best, generally, sometimes for
limited distribution html may be best.
For example, suppose that one needs to email a table to a
computer-illiterate boss.... one, known recipient.
I suppose one could build a .pdf and send that, but it would seem
that is overkill for a simple report to the boss.
bill
Navigation:
[Reply to this message]
|