On Fri, May 24, 2002 at 10:58:08AM -0500, CDitty wrote:
> if(IsSet($Mime_Version)){
> $Mime_Version = "MIME-Version: $Mime_Version\r\n";
> }
Man, THINK!
Did you set $Mime_Version anywhere in your code before this point?
What happens here if $Mime_Version isn't set already?
Then, remem
On Saturday 25 May 2002 01:29, CDitty wrote:
> I have looked at it and from what I understand, it should be working but
> it's not.
Try plugging in fixed strings for your headers and see what results.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integ
I have looked at it and from what I understand, it should be working but
it's not.
At 12:18 PM 5/24/2002, you wrote:
>Hi:
>
> > Per your request..
>
>[... code snipped ...]
>My request was really for you to examine your code, not to send the code
>to me:
>
>
> > >... I'm guessing the $Mime_V
Hi:
> Per your request..
[... code snipped ...]
My request was really for you to examine your code, not to send the code
to me:
> >... I'm guessing the $Mime_Version is only
> >getting "Status:\n" stuck into it. Then, your $headers string adds the
> >extra "\n" which results in the follow
Per your request..
Chris
// To email address
if(substr($lines[$i], 0, 2) == "To"){
$To = substr($lines[$i], 4, strlen($lines[$i]));
eregi("([A-Z0-9\.\-]+@[A-Z0-9\.\-]+\.[A-Z\.]+)", $To, $To);
}elseif(substr($lines[$i], 0, 4) == "From"){// From email address
$From =
On Thu, May 23, 2002 at 10:19:51PM -0500, CDitty wrote:
> $to = "$user_email[0]";
> $subj = "$Subject";
> $msg = "$Message";
>
> $headers = "From: $From[1]\n";
> $headers .= "$Mime_Version\n";
> $headers .= "$Content_Type\n";
You're not showing us how you come up with the $From[1], $Mime_Versio
>Sent: Friday, May 24, 2002 1:20 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP] Mail Headers problem...
>
>
>I am writing a small email logging / forwarding script and am having
>problems with the headers. I am successfully getting the MIME-Version and
>Content-type, b
dunno if this helps, but try using "\r\n" instead of just "\n" when you
create $headers
-Original Message-
From: CDitty [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 1:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Mail Headers problem...
I am writing a
I am writing a small email logging / forwarding script and am having
problems with the headers. I am successfully getting the MIME-Version and
Content-type, but when I insert them into the forwarded email message, the
headers show within the email itself. Below is the code I am using.
$to = "
I am using the HTML Email Class from Richard Heyes.
Using the sendmail command I want to change the headers on the email
so that the Return-Path is different from the To: data.
The script looks like this:
$mail->send(
$row->firstname,
$row->email,
$newsletter_name,
10 matches
Mail list logo