Josepablo,
> Hey guys guess what.. the problem is fixed the was that at mailaddr.txt sense
> the e-mails are each on one line each line has \n that crashed when asigning it
> at mail() , ill make a note of this on the manul.. I have included below the
> script iam now using.. what do you guys thi
; <[EMAIL PROTECTED]>
> To: "Josepablo Pérez" <[EMAIL PROTECTED]>
> Date: Monday 21 January 2002 17:03:05
> Subject: Re: [PHP] foreach array into mail isn´t working
>
> > JP,
> >
> > Did so while I was waiting for your response.
> > The original
: "Josepablo Pérez" <[EMAIL PROTECTED]>
To: "DL Neil" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 21 January 2002 22:43
Subject: Re: [PHP] foreach array into mail isn´t working
> I guess its straight into sendmail sense i just use plain mail()
>
&
JP,
(and good afternoon to CR!)
> Linux
=straight into sendmail or some other email server?
> Why the admin e-mail? i tested on two diffrent servers didnt work.
=because I was wondering where the strange 'from' email address came from. Are they
configured to different
addresses?
> YEah.. i t
Try this:
\nTo: \"To Name\" <$address>");
}
?>
Jim Lucas
bend.com
- Original Message -
From: "DL Neil" <[EMAIL PROTECTED]>
To: "Josepablo Pérez" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:
Josepablo,
> $maildb = file("mailaddr.txt");
>
> foreach ($maildb as $address)
> { mail($address, "THis is the subject\n", "This is the message\n", "From:
>[EMAIL PROTECTED]\n"); }
> ?>
>
> The mailaddr.txt looks like:
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> However th
Hello people,
I got this script:
The mailaddr.txt looks like:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
However the script does send mails BUT they look like this:
>From Nobody <[EMAIL PROTECTED]>
To [EMAIL PROTECTED]
Subject [No Subject]
**From here down is the message body*
7 matches
Mail list logo