Re: Help with mail() - message not displaying
- From: "Tom" <klenwell@xxxxxxxxx>
- Date: 29 Nov 2006 17:28:29 -0800
My apologies for the first response. Felt so bad that I cracked open
phpmailer to glance at its code to see if any obvious differences stood
out. I don't have any experience with this particular problem and
prefer my email in good old plain text, so that's about the best I can
do.
I did notice that phpmailer does encode some parts of the message. I
refer specifically to this line of code:
@mail($to, $this->EncodeHeader($this->Subject), $body, $header,
$params);
Could it be an encoding problem, specifically something somewhere not
being encoded in the right way?
If that doesn't help, my further apologies. I'll let the experts take
over from here.
Tom
On Nov 29, 12:16 pm, Karl Groves <k...@xxxxxxxxxxxxxxxxxx> wrote:
"Tom" <klenw...@xxxxxxxxx> wrote innews:1164830182.439220.189140@xxxxxxxxxxxxxxxxxxxxxxxxxxx:
uncomment the last line:
//print("<pre>$msg</pre>");That line is just a debug line I put there to see the message printed. Itis done *after* the mail is sent, so that doesn't solve my problem
Also, unless you have other reasons for writing your own code here,already reinvented.
you might check out something phpmailer. It may help save you from
reinventing the wheel.This is actually going into another pre-existing script, so the wheel was
--
Karl Groveswww.karlcore.com
.
- References:
- Re: Help with mail() - message not displaying
- From: Karl Groves
- Re: Help with mail() - message not displaying
- Prev by Date: Re: How to have line breaks in this text
- Next by Date: Re: How to have line breaks in this text
- Previous by thread: Re: Help with mail() - message not displaying
- Next by thread: Re: Help with mail() - message not displaying
- Index(es):
Relevant Pages
|