Re: Re: mail($To problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks Disko_kex - I'll check that out
Alan
"Disko_kex" <disko_kex@swedish-mushroom.com> wrote in message
001501c3ba5f$b2b08c40$e900a8c0@lokalguirdcfee">news:001501c3ba5f$b2b08c40$e900a8c0@lokalguirdcfee...
> Hi
>
> It's a documented bug, and its fixed in the latest release of php
> (4.3.4). I had the same problem and it works fine now
>
> Have a nice day
> jocke
>
>
> > -----Original Message-----
> > From: Seung Hwan Kang [mailto:sk33@email.com]
> > Sent: den 4 december 2003 12:27
> > To: php-windows@lists.php.net
> > Subject:  Re: mail($To problem
> >
> > ok, u do like to put some html codes in the contents... :)
> >
> > this one should be ok~~~
> >
> > <?
> >
> > $HTML_H = "<html><head><title>welcomeM</title><body>";
> > $HTML_B = "Geee~";
> > $HTML_T = "</body><html>";
> >
> > $content = $HTML_H . $HTML_B . $_POST["content"] . $HTML_T;
> >
> > mail($_POST["to"], $_POST["subject"], $content, $_POST["from"]);
> >
> > ?>
> >
> > Alan McDonald wrote:
> >
> > > thanks -  but sorry no prize there - it makes no difference
> > >
> > > Alan
> > >
> > > "Seung Hwan Kang" <sk33@email.com> wrote in message
> > > 20031204103303.33586.qmail@pb1.pair.com">news:20031204103303.33586.qmail@pb1.pair.com...
> > >
> > >>i acidently sent it....
> > >>
> > >>
> > >>Seung Hwan Kang wrote:
> > >>
> > >>
> > >>>I guess it's related to slashes... (addslashes)
> > >>>
> > >>>Here is eg.
> > >>>
> > >>
> > >>// yourform.html
> > >>
> > >><!-- your HTML form -->
> > >>to
> > >>subject
> > >>content
> > >>from
> > >>
> > >>// mailto.php
> > >>
> > >><?
> > >>$to      = addslashes($_POST["to"]);
> > >>$subject = addslashes($_POST["subject"]);
> > >>$content = addslashes($_POST["content"]);
> > >>$from    = addslaehses($_POST["from"]);
> > >>
> > >>mail($to, $subject, $content, $from);
> > >>
> > >>?>
> > >>
> > >>well, now it's correct!
> > >>
> > >>
> > >>>from Wollongong, NSW :)
> > >>>
> > >>>Alan McDonald wrote:
> > >>>
> > >>>
> > >>>>Can someone tell me why I might be getting this problem?
> > >>>>I construct an HTML email and send it,... it's fine,... it goes
> > >>>>But the last > character after the /html tag gets truncated.
> > >>>>I always get
> > >>>></html
> > >>>>stuck on the end of my message unless I add another one.
> > >>>>If my last construct line is
> > >>>>    $content .= "</body></html>>";
> > >>>>I do not see the </html on the end of the message because it has a
> > >>>>complete
> > >>>>tag in the message.
> > >>>>
> > >>>>thanks
> > >>>>Alan
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux