messag from ESS wrote:

> hi all
> I konw you havn't much time then I will begain directly
> Probem is:
> 1- I make a program to send a mail.
> 2- I send an HTML mail normaly to yahoo and hotmail.
> 3- The hotmail compile it and display as a web bage.
> 4- The yahoo did't compile it and display the HTML source !.
>
> Needed:
> 1- why yahoo mail did not compile it.
> 2- solve of this problem, or a way to solve it.
>
> ------- START source-----------------------------------
> My source is:open(MAIL,"|$mailp -t");
> print MAIL "To: $email\n";
> print MAIL "From: $wemail\n";
> print MAIL "Subject: $subject\n\n";
> print MAIL "$contents\n";
> close (MAIL);
> ------- END source-----------------------------------
>
> THANKS FOR YOUR HELP
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Hi,

I had some similar trouble and resolved it by using the following
headers and dividers.

From: me@myaddress
To: someone@theiraddress
Subject: Re: test
Content-Type: multipart/alternative; boundary="---divider---"

-----divider---
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Please use netscape 2 view

-----divider---
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<tt>Hello,</tt><tt></tt>
<B>
<p><tt>Some stuff</tt>
<br>
</B>
</html>

-----divider-----



Hope that is what you were looking for.

Alex.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to