RE: [PHP] mail() problem...

2002-04-03 Thread Rick Emery

$arrText[$i] still contains the new-line character at the end.  Is that
harmful here?

-Original Message-
From: Jack Davis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mail() problem...


I wrote a small piece of code to take a text file with
a list of email addresses in it one per line and send out
an email to each of them like so...

$headers = "From:  [EMAIL PROTECTED]\r\n";
$headers .= "Reply-To: [EMAIL PROTECTED]\r\n";

$message = "Blah Blah Blah";

$subject = "Subject of the message";

$arrText = file("test.txt");

for ($i=0; $ihttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

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




Re: [PHP] mail() problem...

2002-04-03 Thread Miguel Cruz

On Wed, 3 Apr 2002, Jack Davis wrote:
> mail("$arrText[$i]", $subject, $message, $headers);

   mail (trim($arrText[$i]), $subject, $message, $headers);

miguel


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




Re: [PHP] mail() problem

2002-06-05 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* and then César L. Aracena declared
> I have this strange problem where I can send e-mails from a PHP script to a common 
>e-mail address such as Hotmail's, but I can't send to my ISP-given e-mail address 
>(@infovia.com.ar). Does anyone happen to know why is it that makes it different???

Yes. I had something similar. Try putting 'Reply-To: [EMAIL PROTECTED]' in
the fourth argument for mail. For some reason some systems balk without
a reply address, I'm not certain why?
- -- 
Nick Wilson // www.tioka.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8/kDMHpvrrTa6L5oRAu6BAJ9NSHXU3PBaEqJp3dBFK2XapByivACfQypM
5H9KkD+BXFoeYF3kV59K2MI=
=XGSQ
-END PGP SIGNATURE-

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




Re: [PHP] mail() problem

2002-06-05 Thread Ivan Hernandez

Cesar:

What's the exact error message you are getting? or
there's no error message?

Are you running the PHP script in a local machine or a
server? What MTA are you using?

Regards,
Ivan

--- "César_L._Aracena" <[EMAIL PROTECTED]>
wrote:
> Hi all,
> 
> I have this strange problem where I can send e-mails
> from a PHP script to a common e-mail address such as
> Hotmail's, but I can't send to my ISP-given e-mail
> address (@infovia.com.ar). Does anyone happen to
> know why is it that makes it different???
> 
> Thanks,
> 
> Cesar Aracena
> [EMAIL PROTECTED]
> Neuquen, Argentina
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: [PHP] mail() problem

2002-06-05 Thread Jim lucas

you might want to test with a hotmail account as the return email address
and find out if they are bouncing your email.  I had this problem once, and
in the return email it told me that I had miss formed headers.  I got an
error 550 from the mail server.  you might try setting in the headers of you
mail that you are sending, a) the content type, b) bit number 8bit, 7 bit,
etc...  that solved the problem for me.

Jim Lucas
- Original Message -
From: "César L. Aracena" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 9:29 AM
Subject: [PHP] mail() problem


Hi all,

I have this strange problem where I can send e-mails from a PHP script to a
common e-mail address such as Hotmail's, but I can't send to my ISP-given
e-mail address (@infovia.com.ar). Does anyone happen to know why is it that
makes it different???

Thanks,

Cesar Aracena
[EMAIL PROTECTED]
Neuquen, Argentina



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




Re: [PHP] mail() problem

2002-06-05 Thread John Taylor-Johnston

> Yes. I had something similar. Try putting 'Reply-To: [EMAIL PROTECTED]' in
> the fourth argument for mail. For some reason some systems balk without
> a reply address, I'm not certain why?

I questioned my ISP on that. They had something in their sendmail.exe
which prevented outgoing mail (scripts using smtp) that did not have a from: or 
reply-to:
- something to do with stopping clients from spamming without correctly identifying
themselves.




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




RE: [PHP] mail() problem

2002-06-05 Thread César L . Aracena

Ok. I've done everything that all of you told me to do, but still can't
get to send e-mails to my ISP's mail address. I did all of the
following:
 
a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it’s
[EMAIL PROTECTED] )
b) Send the e-mail to my Hotmail account, but everything seems fine. The
address shown at the From: line is even the one I used in the Script.
c) Because I have placed the Script into a server and not a local
machine, asked the sysadmin to check the php.ini file and so but
nothing.
 
This step is crucial for my scripting and because all of my clients live
here, most of them use the same ISP and have to get their e-mails.
 
Actually, I didn't know how to change the content-type for my e-mail in
order to do some testing. Can anyone help me with this? Might be my last
chance...
 
Thanks in advance,
 
  César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621
 



Re: [PHP] mail() problem

2002-06-05 Thread Manuel Lemos

Hello,

On 06/06/2002 12:42 AM, César l . aracena wrote:
> Ok. I've done everything that all of you told me to do, but still can't
> get to send e-mails to my ISP's mail address. I did all of the
> following:
>  
> a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it?s
> [EMAIL PROTECTED] )
> b) Send the e-mail to my Hotmail account, but everything seems fine. The
> address shown at the From: line is even the one I used in the Script.
> c) Because I have placed the Script into a server and not a local
> machine, asked the sysadmin to check the php.ini file and so but
> nothing.
>  
> This step is crucial for my scripting and because all of my clients live
> here, most of them use the same ISP and have to get their e-mails.
>  
> Actually, I didn't know how to change the content-type for my e-mail in
> order to do some testing. Can anyone help me with this? Might be my last
> chance...

You may want to try these classes:

SMTP Client class - enable debug to see dialog with SMTP server
http://www.phpclasses.org/smtpclass

MIME message sending and composing
http://www.phpclasses.org/mimemessage



-- 

Regards,
Manuel Lemos


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




Re: [PHP] mail() problem

2002-06-07 Thread Jim lucas

you miss understood what I was saying.  I said to have your hotmail account
setup as the return email address and then send mail to you ISP.  if the
mail bounces it will be returned to your hotmail account instead of your
ISP.  if you do receive the mail returned to your hotmail account. it should
give you some insight on what is going on with the error messages included
in the return mail.

Jim Lucas
- Original Message -
From: "César L. Aracena" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 8:42 PM
Subject: RE: [PHP] mail() problem


Ok. I've done everything that all of you told me to do, but still can't
get to send e-mails to my ISP's mail address. I did all of the
following:

a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it's
[EMAIL PROTECTED] )
b) Send the e-mail to my Hotmail account, but everything seems fine. The
address shown at the From: line is even the one I used in the Script.
c) Because I have placed the Script into a server and not a local
machine, asked the sysadmin to check the php.ini file and so but
nothing.

This step is crucial for my scripting and because all of my clients live
here, most of them use the same ISP and have to get their e-mails.

Actually, I didn't know how to change the content-type for my e-mail in
order to do some testing. Can anyone help me with this? Might be my last
chance...

Thanks in advance,

 <mailto:[EMAIL PROTECTED]> César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621




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




Re: [PHP] mail problem

2001-03-04 Thread David Robley

On Mon,  5 Mar 2001 14:17, Peter Houchin wrote:

> > Hiya,
> am near completeion of a site only i can't get any mail to send to
> multiple recipients at all .. either in the  "To:" section or having on
> email in "To" and one email address in "CC" section.. and i need to be
> able to do this ... can any one offer any suggestions ...( I'd prefer
> to have one in the "To" section and one in the "CC" section 
 I'm am
> using sendmail on solaris 2.6 to send the actual emails 
> <-- Start of snip--->
> $address .= $email  ;
> $subject = "VFSA-eRentals Calculation Results";
> $body="blah blah\n";
> $headers .= "CC: [EMAIL PROTECTED] "; 
> mail("$address", "$subject", "$body", "$headers \nContent-Type:
> text/plain; charset=iso-8859-1\nContent-Transfer-Encoding: 64bit"  );
> <--- end of snip--->
> 
> 
> any help would be greatful :)
> Peter Houchin
> Sun Rentals
> [EMAIL PROTECTED]
> 
Two things that may or may not be part of your problem; 

first, if there is already something in $headers then appending the cc to 
it may give you an invalid string; and

second, you might try Cc: instead of CC:

Cheers
-- 
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet| http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] mail problem

2001-03-05 Thread Peter Houchin

Now if i include
$headers .= "Cc: [EMAIL PROTECTED] " . " , ";
$headers .=  "[EMAIL PROTECTED]\n";
My page won't load at all apart from the first include i have on my page..
does any one have any idea's?



Hiya,
am near completeion of a site only i can't get any mail to send to multiple
recipients at all .. either in the  "To:" section or having on email in "To"
and one email address in "CC" section.. and i need to be able to do this ...
can any one offer any suggestions ...( I'd prefer to have one in the "To"
section and one in the "CC" section
I'm am using sendmail on solaris 2.6 to send the actual emails

<-- Start of snip--->
$address .= $email  ;
$subject = "VFSA-eRentals Calculation Results";
$body="blah blah\n";
$headers .= "CC: [EMAIL PROTECTED] ";
mail("$address", "$subject", "$body", "$headers \nContent-Type: text/plain;
charset=iso-8859-1\nContent-Transfer-Encoding: 64bit"  );
<--- end of snip--->


any help would be greatful :)
Peter Houchin
Sun Rentals
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] mail() problem

2001-05-19 Thread Craig Vincent


Below the code i use. Everything works, the $mailto variable is buils up
from a database and contains more then one email adresses. Now my
question: how can i make the receivers of my message NOT to see the
email addresses of all the receivers, so then can't reply to all?


The simpliest thing to do would be to break up the $mailto into an array
with a separate field for each email address you need then use a foreach
loop on the array to send out individual mailings.  Or to better improve
efficiency don't even put the addresses into an array but rather send out
the mail in the routine that grabs the email addresses out of your database.
Depending on the number of emails you need to send out this is actually a
much better solution than just sending out a mail with 50 or 100 email
address in the To/CC/BCC adresses.  With the majority of my systems I can
pump out around 1000 - 1500 individual emails per minute with minimal
resources consumed on the system so a solution of this nature more than
likely will work out in your favor.

Sincerely,

Craig Vincent


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail() problem

2001-05-19 Thread Urb LeJeune


>Below the code i use. Everything works, the $mailto variable is buils up
>from a database and contains more then one email adresses. Now my
>question: how can i make the receivers of my message NOT to see the
>email addresses of all the receivers, so then can't reply to all?

 Send the message to yourself and put the string into a BCC field
which can be configured in the fourth argument.

Urb



>$mail ="$mailto";
>$title ="$subject";
>$mess = "$message";
>mail($mail, $title, $mess, "From: [EMAIL PROTECTED]\nReply-To:
>[EMAIL PROTECTED]\nContent-Type: text/html; charset=iso-8859-1");
>
>Thanks!
>
>--
>Mark Wouters
>eXpanded Media
>Web Designer
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem...

2001-07-04 Thread Ivan Balazs

Hi!

It seems to be a php-specific problem. Check your php config file (in php4
it is php.ini). There you should find a line related to the smtp server.
Fill it with its correct content.

Balazs

On Wed, 4 Jul 2001, php wrote:

> hai...
>
> I have install php and i want to create email direct
>
> but when i run my php...but i get error message
>
> Warning: Failed to Connect in e:/learn/php/mail.php on line 24
> email failed
>
> or i need to add object mail in php
> anyone help me with this...
>
> my code like this...
> =
>
>
>
> 
> 
> Update User
> 
> 
>
>
> 
> $applicant = "Hendra";
> $company = "PT. Sistem Intergra Indonesia";
> $phone = "324592";
>
> $to= "[EMAIL PROTECTED]";
> $subjek = "Testing php script";
> $header ="\nForm: hrd.co.id\n";
> $body = "\nName : " .quotemeta($application).
>  "\nCompany : " .quotemeta($company).
>  "\phone : " .quotemeta($phone);
>
> $success = mail($to, $subjek, $body, $header);
>
> if ($success)
> {
>  echo("email has been send");
> }else
> {
>  echo("email failed");
>
> }
>
> ?>
>
> 
> 
>
> 
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem

2001-09-12 Thread David Robley

On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
> hiya
>
> I have several scripts that send mail from web pages made in php.. now
> these pages all work fine.
>
> now all of a sudden php has stopped sending mail and I don't know why
>
> System info
>
> Unix box running Solaris 2.6
> apache 1.3.12
> php 4.0.4pl1
> using sendmail for the emails
>
> php.ini mail related line:
> sendmail_path   =   sendmail -t -i  ;for unix only, may
> supply arguments as well (default is 'sendmail -t -i')
>
> now when I test to see the scripts php reports everything is ok and
> sends back a possitive result. and that the mail has been sent. when it
> hasn't

I think that the positive result means that php has successfully handed 
the message off to sendmail or whatever; whether sendmail then succeeds 
is another story :-)

> now I can go to the commandline and send emails no problem but from the
> web pages I can't .. any suggestions would be apreciated.

My first thought would be to check the relevant log for sendmail 
activity, which might give a clue?

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Catholic (n.) A cat with a drinking problem.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager


>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>list-help: <mailto:[EMAIL PROTECTED]>
>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
>list-post: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>From: David Robley <[EMAIL PROTECTED]>
>To: Peter Houchin Sun Rentals STR Manager <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
>Date: Thu, 13 Sep 2001 12:17:12 +0930
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>Subject: Re: [PHP] mail problem
>X-Mozilla-Status: 
>X-Mozilla-Status2: 
>X-UIDL: a89ffd79c7882d9be6397af7041f38b1
>
>On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
>> hiya
>>
>> I have several scripts that send mail from web pages made in php.. now
>> these pages all work fine.
>>
>> now all of a sudden php has stopped sending mail and I don't know why
>>
>> System info
>>
>> Unix box running Solaris 2.6
>> apache 1.3.12
>> php 4.0.4pl1
>> using sendmail for the emails
>>
>> php.ini mail related line:
>> sendmail_path   =   sendmail -t -i  ;for unix only, may
>> supply arguments as well (default is 'sendmail -t -i')
>>
>> now when I test to see the scripts php reports everything is ok and
>> sends back a possitive result. and that the mail has been sent. when it
>> hasn't
>
>I think that the positive result means that php has successfully handed 
>the message off to sendmail or whatever; whether sendmail then succeeds 
>is another story :-)
>
>> now I can go to the commandline and send emails no problem but from the
>> web pages I can't .. any suggestions would be apreciated.
>
>My first thought would be to check the relevant log for sendmail 
>activity, which might give a clue?

the syslog for send mail says this though it gives me no clues

Sep  9 03:13:01 www sendmail[2156]: DAA02156: from=lp, size=245, class=0, 
pri=30245, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 
relay=lp@localhost
Sep  9 03:13:01 www sendmail[2158]: DAA02156: to=lp, ctladdr=lp (71/8), 
delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Sep  9 03:15:00 www sendmail[2167]: DAA02167: from=lp, size=245, class=0, 
pri=30245, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 
relay=lp@localhost
Sep  9 03:15:00 www sendmail[2169]: DAA02167: to=lp, ctladdr=lp (71/8), 
delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Sep 11 11:14:53 www sendmail[3441]: LAA03441: from=root, size=343, class=0, 
pri=30343, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 
relay=root@localhost
Sep 11 11:14:54 www sendmail[3443]: LAA03441: to=root, ctladdr=root (0/1), 
delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent
Sep 11 11:28:47 www sendmail[3515]: LAA03515: from=root, size=93, class=0, 
pri=30093, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 
relay=root@localhost
Sep 11 11:28:48 www sendmail[3517]: LAA03515: [EMAIL PROTECTED], 
ctladdr=root (0/1), delay=00:00:01, xdelay=00:00:01, mailer=relay, 
relay=yarrina.connect.com.au. [192.189.54.17], stat=Sent (Ok: queued as 
CA647110DD)
Sep 13 11:03:00 www sendmail[1341]: alias database /etc/mail/aliases rebuilt by 
root
Sep 13 11:03:00 www sendmail[1341]: /etc/mail/aliases: 7 aliases, longest 22 
bytes, 136 bytes total


Peter


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem

2001-09-12 Thread David Robley

On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:

> >On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
> >> hiya
> >>
> >> I have several scripts that send mail from web pages made in php..
> >> now these pages all work fine.
> >>
> >> now all of a sudden php has stopped sending mail and I don't know
> >> why
> >>
> >> System info
> >>
> >> Unix box running Solaris 2.6
> >> apache 1.3.12
> >> php 4.0.4pl1
> >> using sendmail for the emails
> >>
> >> php.ini mail related line:
> >> sendmail_path   =   sendmail -t -i  ;for unix only, may
> >> supply arguments as well (default is 'sendmail -t -i')
> >>
> >> now when I test to see the scripts php reports everything is ok and
> >> sends back a possitive result. and that the mail has been sent. when
> >> it hasn't
> >
> >I think that the positive result means that php has successfully
> > handed the message off to sendmail or whatever; whether sendmail then
> > succeeds is another story :-)
> >
> >> now I can go to the commandline and send emails no problem but from
> >> the web pages I can't .. any suggestions would be apreciated.
> >
> >My first thought would be to check the relevant log for sendmail
> >activity, which might give a clue?
>
> the syslog for send mail says this though it gives me no clues
>

>
> Peter

Not much traffic there :-) Try sending one from the command line, then 
one with your script and then check the log again.

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Pardon my driving, I'm trying to reload . . .

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem

2001-09-12 Thread Peter Houchin Sun Rentals STR Manager


>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>list-help: <mailto:[EMAIL PROTECTED]>
>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
>list-post: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>From: David Robley <[EMAIL PROTECTED]>
>To: Peter Houchin Sun Rentals STR Manager <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
>Date: Thu, 13 Sep 2001 13:28:27 +0930
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>Subject: Re: [PHP] mail problem
>X-Mozilla-Status: 
>X-Mozilla-Status2: 
>X-UIDL: b7314ef2bee84cb807f95a04acc39a3d
>
>On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
>
>> >On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
>> >> hiya
>> >>
>> >> I have several scripts that send mail from web pages made in php..
>> >> now these pages all work fine.
>> >>
>> >> now all of a sudden php has stopped sending mail and I don't know
>> >> why
>> >>
>> >> System info
>> >>
>> >> Unix box running Solaris 2.6
>> >> apache 1.3.12
>> >> php 4.0.4pl1
>> >> using sendmail for the emails
>> >>
>> >> php.ini mail related line:
>> >> sendmail_path   =   sendmail -t -i  ;for unix only, may
>> >> supply arguments as well (default is 'sendmail -t -i')
>> >>
>> >> now when I test to see the scripts php reports everything is ok and
>> >> sends back a possitive result. and that the mail has been sent. when
>> >> it hasn't
>> >
>> >I think that the positive result means that php has successfully
>> > handed the message off to sendmail or whatever; whether sendmail then
>> > succeeds is another story :-)
>> >
>> >> now I can go to the commandline and send emails no problem but from
>> >> the web pages I can't .. any suggestions would be apreciated.
>> >
>> >My first thought would be to check the relevant log for sendmail
>> >activity, which might give a clue?
>>
>> the syslog for send mail says this though it gives me no clues
>>
>
>>
>> Peter
>
>Not much traffic there :-) Try sending one from the command line, then 
>one with your script and then check the log again.
>
That's because its on the web server traffic ... set up to handle just requests 
from our webpages ... 

ok now I've done what you said and found this out..

from command line it adds a entry to the syslog for sendmail

from the web page it does not seem to add anything to the log

--
Peter Houchin
Sun Rentals STR Manager
Phone: 03 9329 1455
Fax:   03 9329 6755
[EMAIL PROTECTED]
http://www.sunrentals.com.au/
=
 _  __   /\
/_/_/_\/  |_/  \
   /_/_/___  __  __   __  / \
   \_/_/_\  /_/ /_/ /_/  /_/  \   _ /
 ___\_\_\/ /_/_/_/ /_//\/_/\_/ \/\_/
 \_//_/_/ /_/_/_/ /_/ \/_/v
    
/_/_/_/_/  /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   /_/_ _/_/ __  __   __  /_/   __ __
  /_/_/_/_/ /_/_/_/ /_/  /_/ /_/ /_/\_\/_//_/_/_/
 /_/  \_\  /_/ _/  /_//\/_/ /_/ /_/__\_\  /_/___ _\_\_\
/_/\_\/_/_/_/ /_/ \/_/ /_/ /_/\_\/_/_/_//_/_/_/
=
Telephone : (03) 9329 1455  Facsimile : (03) 9329 6755
* We rent the dot in .COM!  **


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem

2001-09-12 Thread David Robley

On Thu, 13 Sep 2001 13:43, Peter Houchin Sun Rentals STR Manager wrote:




> >On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
> >> >On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager 
wrote:
> >> >> hiya
> >> >>
> >> >> I have several scripts that send mail from web pages made in
> >> >> php.. now these pages all work fine.
> >> >>
> >> >> now all of a sudden php has stopped sending mail and I don't know
> >> >> why
> >> >>
> >> >> System info
> >> >>
> >> >> Unix box running Solaris 2.6
> >> >> apache 1.3.12
> >> >> php 4.0.4pl1
> >> >> using sendmail for the emails
> >> >>
> >> >> php.ini mail related line:
> >> >> sendmail_path   =   sendmail -t -i  ;for unix only,
> >> >> may supply arguments as well (default is 'sendmail -t -i')
> >> >>
> >> >> now when I test to see the scripts php reports everything is ok
> >> >> and sends back a possitive result. and that the mail has been
> >> >> sent. when it hasn't
> >> >
> >> >I think that the positive result means that php has successfully
> >> > handed the message off to sendmail or whatever; whether sendmail
> >> > then succeeds is another story :-)
> >> >
> >> >> now I can go to the commandline and send emails no problem but
> >> >> from the web pages I can't .. any suggestions would be
> >> >> apreciated.
> >> >
> >> >My first thought would be to check the relevant log for sendmail
> >> >activity, which might give a clue?
> >>
> >> the syslog for send mail says this though it gives me no clues
> >
> >
> >
> >> Peter
> >
> >Not much traffic there :-) Try sending one from the command line, then
> >one with your script and then check the log again.
>
> That's because its on the web server traffic ... set up to handle just
> requests from our webpages ...
>
> ok now I've done what you said and found this out..
>
> from command line it adds a entry to the syslog for sendmail
>
> from the web page it does not seem to add anything to the log

So php is handing it off OK, but sendmail appears to be not 
getting/ignoring it? Any system changes or anything even minor happened 
around the time things stoped working. [I'm grasping at straws here a bit 
because I don't know how php handles the communication with sendmail]

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   What's another word for thesaurus?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mail problem

2001-09-13 Thread Peter Houchin Sun Rentals STR Manager


>From: David Robley <[EMAIL PROTECTED]>
>To: Peter Houchin Sun Rentals STR Manager <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: [PHP] mail problem
>Date: Thu, 13 Sep 2001 14:51:36 +0930
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-Mozilla-Status: 
>X-Mozilla-Status2: 
>X-UIDL: 87d7bf374e4397134844fc82600f8871
>
>On Thu, 13 Sep 2001 13:43, Peter Houchin Sun Rentals STR Manager wrote:
>
>
>
>
>> >On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
>> >> >On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager 
>wrote:
>> >> >> hiya
>> >> >>
>> >> >> I have several scripts that send mail from web pages made in
>> >> >> php.. now these pages all work fine.
>> >> >>
>> >> >> now all of a sudden php has stopped sending mail and I don't know
>> >> >> why
>> >> >>
>> >> >> System info
>> >> >>
>> >> >> Unix box running Solaris 2.6
>> >> >> apache 1.3.12
>> >> >> php 4.0.4pl1
>> >> >> using sendmail for the emails
>> >> >>
>> >> >> php.ini mail related line:
>> >> >> sendmail_path   =   sendmail -t -i  ;for unix only,
>> >> >> may supply arguments as well (default is 'sendmail -t -i')
>> >> >>
>> >> >> now when I test to see the scripts php reports everything is ok
>> >> >> and sends back a possitive result. and that the mail has been
>> >> >> sent. when it hasn't
>> >> >
>> >> >I think that the positive result means that php has successfully
>> >> > handed the message off to sendmail or whatever; whether sendmail
>> >> > then succeeds is another story :-)
>> >> >
>> >> >> now I can go to the commandline and send emails no problem but
>> >> >> from the web pages I can't .. any suggestions would be
>> >> >> apreciated.
>> >> >
>> >> >My first thought would be to check the relevant log for sendmail
>> >> >activity, which might give a clue?
>> >>
>> >> the syslog for send mail says this though it gives me no clues
>> >
>> >
>> >
>> >> Peter
>> >
>> >Not much traffic there :-) Try sending one from the command line, then
>> >one with your script and then check the log again.
>>
>> That's because its on the web server traffic ... set up to handle just
>> requests from our webpages ...
>>
>> ok now I've done what you said and found this out..
>>
>> from command line it adds a entry to the syslog for sendmail
>>
>> from the web page it does not seem to add anything to the log
>
>So php is handing it off OK, but sendmail appears to be not 
>getting/ignoring it? Any system changes or anything even minor happened 
>around the time things stoped working. [I'm grasping at straws here a bit 
>because I don't know how php handles the communication with sendmail]
>


Not on this server no ... yes on other servers with in the network ... inc our 
mail mail server .. but not on this one, having said that about 6 weeks ago we 
have a power outage with out our ups connect (very very bad I know but the ups 
was getting fixed) any way was all working good since then until about 4 days 
ago.

I've also tried change the sendmail line in php.ini so it reads 

sendmail_path   =   /usr/lib/sendmail -t -i  ;for unix only,
may supply arguments as well (default is 'sendmail -t -i')
 

 
 ie adding the full path for sendmail.. but still no luck.. 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: PHP Mail problem

2002-05-24 Thread Michael Virnstein

refer to the manual of your email server and check for quota settings.
You obviously reached the quota limit there and now
you're not allowed to send any data, until the quota is
reset. This may be on a daily or monthly basis or perhaps
you have to do it manually.

Regards Michael

"Manisha" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I am doing email blast program. I wanted to blast 100 emails. For testing
> purpose (I wanted to test how much time it takes), I blasted all 100 to my
> account (That too twice)
>
> I received almost 100 over mails, but later on received - quota over -
error.
>
> Now the problem is I can not get a single mail.  I tried to test out with
> sending out just one email, I also tried using other account, but now not
> getting anything.
>
> What can be the problem and what shall I do now ? Is it that I have hang
up
> email server ?
>
> Thanks in advance,
> Manisha
>



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