Doh! Sorry, try this:

------- START source-----------------------------------
    open(MAIL,"|$mailp -t");
  print MAIL "Content-Type: text/html\n\n";
  print MAIL "To: $email\n";
  print MAIL "From: $wemail\n";
  print MAIL "Subject: $subject\n\n";
  print MAIL "$contents\n";
  close (MAIL);
------- END source-----------------------------------

-----Original Message-----
From: messag from ESS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 4:07 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: yahoo mail did't compile HTML mail


Thanks to all these brains which give a help to us,

1- I tried this with many options but didnt work,
"Content-Type: text/html; charset="iso-8859-1""

2-This and give me error not for simicolon only,
------- START source-----------------------------------
    open(MAIL,"|$mailp -t");
  print MAIL "Content-Type: text/html\n\n;"
  print MAIL "To: $email\n";
  print MAIL "From: $wemail\n";
  print MAIL "Subject: $subject\n\n";
  print MAIL "$contents\n";
  close (MAIL);
------- END source-----------------------------------

anyone try to make like me before?

Thankx again

>From: Camilo Gonzalez <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, messag from ESS  
><[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: RE: yahoo mail did't compile HTML mail
>Date: Tue, 14 May 2002 11:47:32 -0500
>
>Dude,
>
>Try this
>
> > ------- START source-----------------------------------
>  My source is:open(MAIL,"|$mailp -t");
>  print MAIL "Content-Type: text/html\n\n;"
>  print MAIL "To: $email\n";
>  print MAIL "From: $wemail\n";
>  print MAIL "Subject: $subject\n\n";
>  print MAIL "$contents\n";
>  close (MAIL);
> > ------- END source-----------------------------------
>
>-----Original Message-----
>From: Kevin Meltzer [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, May 14, 2002 9:35 AM
>To: messag from ESS
>Cc: [EMAIL PROTECTED]
>Subject: Re: yahoo mail did't compile HTML mail
>
>
>You need a Content-Type header.
>Content-Type: text/html; charset="iso-8859-1"
>(or whatever your charset is)
>
>Cheers,
>Kevin
>
>On Tue, May 14, 2002 at 04:28:44PM +0300, messag from ESS
>([EMAIL PROTECTED]) said something similar to:
> > 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
>
>--
>[Writing CGI Applications with Perl - http://perlcgi-book.com]
>"Life Is Pain, Highness.  Anyone who says otherwise is selling something."
>     -- The Dread Pirate Wesley, in the Princess Bride.
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

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

Reply via email to