Re: [PHP-DB] Problem with mail funktion

2005-09-17 Thread viraj
have you setup an email server on the host you have installed php? if
yes, did you check the email relaing rules?

just fireup a shell and telnet your host (server which you have
installed php on) through port 25 (standard SMTP port) to check
whether your smtp is working.

or post the phpinfo() output (smtp section) to the list.


~viraj.

On 9/18/05, Daryl Booth <[EMAIL PROTECTED]> wrote:
> I'm not sure what should be in the php.ini.
> 
> Where can I find out what needs to be in the SMTP section?
> 
> -Original Message-
> From: Chris [mailto:[EMAIL PROTECTED]
> Sent: Sonntag, 18. September 2005 05:10
> To: php-db@lists.php.net
> Subject: Re: [PHP-DB] Problem with mail funktion
> 
> As far as I know the "Unknown error" related to the mail function
> indicates that PHP could not connect to the SMTP server specified in
> php.ini.
> 
> You could load phpinfo(); and check to see what php.ini file you are
> using. Then check that for the SMTP setting.
> 
> FYI: doing a google search on 'PHP mail "Unknown Error"' got me multiple
> hits that would at least suggest checking your configuration.
> 
> Chris
> 
> Daryl Booth wrote:
> 
> >Hi,
> >
> >
> >
> >I'm trying to set up a simple mail form but the following code:
> >
> >mail($empfaenger,$betreff,$msg,$header);
> >
> >gives me the error:
> >
> >Warning: Unknown error in C:\FoxServ\www\Dad\contactform.php on line 87
> >
> >
> >
> >Line 87 is the mail function line all of the variables are spelt right
> >empfaenger=recipient and betreff=subject.
> >
> >
> >
> >According to www.selfphp.info <http://www.selfphp.info/>  the syntax is
> >correct what am I doing wrong?
> >
> >
> >
> >Php version is 4.2.2
> >
> >
> >
> >
> 
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

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



Re: [PHP-DB] Problem with mail funktion

2005-09-17 Thread Chris

http://www.php.net/mail

Daryl Booth wrote:


I'm not sure what should be in the php.ini.

Where can I find out what needs to be in the SMTP section?

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED] 
Sent: Sonntag, 18. September 2005 05:10

To: php-db@lists.php.net
Subject: Re: [PHP-DB] Problem with mail funktion

As far as I know the "Unknown error" related to the mail function 
indicates that PHP could not connect to the SMTP server specified in 
php.ini.


You could load phpinfo(); and check to see what php.ini file you are 
using. Then check that for the SMTP setting.


FYI: doing a google search on 'PHP mail "Unknown Error"' got me multiple 
hits that would at least suggest checking your configuration.


Chris

Daryl Booth wrote:

 


Hi,



I'm trying to set up a simple mail form but the following code:

mail($empfaenger,$betreff,$msg,$header); 


gives me the error:

Warning: Unknown error in C:\FoxServ\www\Dad\contactform.php on line 87



Line 87 is the mail function line all of the variables are spelt right
empfaenger=recipient and betreff=subject.



According to www.selfphp.info <http://www.selfphp.info/>  the syntax is
correct what am I doing wrong?



Php version is 4.2.2 





   



 



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



RE: [PHP-DB] Problem with mail funktion

2005-09-17 Thread Daryl Booth
I'm not sure what should be in the php.ini.

Where can I find out what needs to be in the SMTP section?

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED] 
Sent: Sonntag, 18. September 2005 05:10
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Problem with mail funktion

As far as I know the "Unknown error" related to the mail function 
indicates that PHP could not connect to the SMTP server specified in 
php.ini.

You could load phpinfo(); and check to see what php.ini file you are 
using. Then check that for the SMTP setting.

FYI: doing a google search on 'PHP mail "Unknown Error"' got me multiple 
hits that would at least suggest checking your configuration.

Chris

Daryl Booth wrote:

>Hi,
>
> 
>
>I'm trying to set up a simple mail form but the following code:
>
>mail($empfaenger,$betreff,$msg,$header); 
>
>gives me the error:
>
>Warning: Unknown error in C:\FoxServ\www\Dad\contactform.php on line 87
>
> 
>
>Line 87 is the mail function line all of the variables are spelt right
>empfaenger=recipient and betreff=subject.
>
> 
>
>According to www.selfphp.info <http://www.selfphp.info/>  the syntax is
>correct what am I doing wrong?
>
> 
>
>Php version is 4.2.2 
>
>
>  
>

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

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



Re: [PHP-DB] Problem with mail funktion

2005-09-17 Thread Chris
As far as I know the "Unknown error" related to the mail function 
indicates that PHP could not connect to the SMTP server specified in 
php.ini.


You could load phpinfo(); and check to see what php.ini file you are 
using. Then check that for the SMTP setting.


FYI: doing a google search on 'PHP mail "Unknown Error"' got me multiple 
hits that would at least suggest checking your configuration.


Chris

Daryl Booth wrote:


Hi,



I'm trying to set up a simple mail form but the following code:

mail($empfaenger,$betreff,$msg,$header); 


gives me the error:

Warning: Unknown error in C:\FoxServ\www\Dad\contactform.php on line 87



Line 87 is the mail function line all of the variables are spelt right
empfaenger=recipient and betreff=subject.



According to www.selfphp.info   the syntax is
correct what am I doing wrong?



Php version is 4.2.2 



 



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



[PHP-DB] Problem with mail funktion

2005-09-17 Thread Daryl Booth
Hi,

 

I'm trying to set up a simple mail form but the following code:

mail($empfaenger,$betreff,$msg,$header); 

gives me the error:

Warning: Unknown error in C:\FoxServ\www\Dad\contactform.php on line 87

 

Line 87 is the mail function line all of the variables are spelt right
empfaenger=recipient and betreff=subject.

 

According to www.selfphp.info   the syntax is
correct what am I doing wrong?

 

Php version is 4.2.2 



[PHP-DB] Nevermind [was: [PHP-DB] Problem with mail()]

2003-12-04 Thread jeffreyb
Forget my post of a few moments ago - sudenly, it is working. Must be 
gremlins in the server. 

Sorry for the wasted bandwidth.

Jeffrey Baumgartner


From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date sent:  Thu, 04 Dec 2003 20:34:26 +0100
Priority:   normal
Subject:[PHP-DB] Problem with mail()

> I have an if statement which includes two mail() functions. Curiously, the second 
> one works, 
> in that it results in e-mails being received. But the first doesn't - and I cannot 
> for the life of me 
> figure out why.
> 
> The code is below. It is part of the final sequence for registering for an on-line 
> brainstorming 
> session. $email is a session variable and I know it is working (as it is in the from 
> field of the 
> second e-mail).
> 
> 
> 
> if ($sequencer == 3){
> $email_message="Dear $name $surname: \n\n
> Your BrainStorm session has been set up. Once payment has been received, you can 
> access your session at 
> http://www.jpb.com/sylvia/brainstorm.php?brainstorm_id=$brainstorm_id. \n\n
> Alternatively, you can go to http://www.jpb.com/sylvia/, click on the BrainStorm 
> link and enter 
> the BrainStorm session number: $brainstorm_id. \n\n
> You may invite up to $invites participants to join you. If they have not 
> BrainStormed with 
> Sylvia before, recommend they visit at least ten minutes prior to the session in 
> order to 
> register and read the instructions. \n\n
> Also be sure you forward the URL and/or BrainStorm session number to participants so 
> that 
> they can join you. \n\n
> If you have any comments, please feel free to send them to us by replying to this 
> e-mail. \n\n
> Sylvia Automatic Reply";
> 
> mail($email,"Your Sylvia BrainStorm session information",$email_message,"From: 
> [EMAIL PROTECTED]");
> 
> if ($invite == "yes"){  
>   foreach($bs_email as $key => $emailgetter){
> 
> $mail_message="Dear $bs_name[$key] $bs_surname[$key]: \n
> $name $surname has invited you to participate in a brainstorming 
> session on: \n
> $issue 
> (BrainStorm session number: $brainstorm_id) 
> on $bs_date at $bs_time. \n
> 
> Please confirm via e-mail or telephone your ability to participate. 
> If you have not used Sylvia BrainStorm before, please visit 
> http://www.jpb.com/sylvia/ to familiarise yourself with the system. 
> On the day of the BrainStorm session, please log on to Sylvia, 
> click on \"BrainStorm\" and enter the BrainStorm session number above.\n
> This is an automatic message generated by Sylvia web based BrainStorming 
> software for $name $surname. \n\n";
> 
> mail($emailgetter,"Invitation to participate in web based BrainStorm 
> session",$mail_message,"From: $email");
> }
> }
> etc...
> }
> 
> 
> 
> Many thanks,
> 
> Jeffrey Baumgartner
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

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



[PHP-DB] Problem with mail()

2003-12-04 Thread jeffreyb
I have an if statement which includes two mail() functions. Curiously, the second one 
works, 
in that it results in e-mails being received. But the first doesn't - and I cannot for 
the life of me 
figure out why.

The code is below. It is part of the final sequence for registering for an on-line 
brainstorming 
session. $email is a session variable and I know it is working (as it is in the from 
field of the 
second e-mail).



if ($sequencer == 3){
$email_message="Dear $name $surname: \n\n
Your BrainStorm session has been set up. Once payment has been received, you can 
access your session at 
http://www.jpb.com/sylvia/brainstorm.php?brainstorm_id=$brainstorm_id. \n\n
Alternatively, you can go to http://www.jpb.com/sylvia/, click on the BrainStorm link 
and enter 
the BrainStorm session number: $brainstorm_id. \n\n
You may invite up to $invites participants to join you. If they have not BrainStormed 
with 
Sylvia before, recommend they visit at least ten minutes prior to the session in order 
to 
register and read the instructions. \n\n
Also be sure you forward the URL and/or BrainStorm session number to participants so 
that 
they can join you. \n\n
If you have any comments, please feel free to send them to us by replying to this 
e-mail. \n\n
Sylvia Automatic Reply";
  
mail($email,"Your Sylvia BrainStorm session information",$email_message,"From: 
[EMAIL PROTECTED]");

if ($invite == "yes"){  
foreach($bs_email as $key => $emailgetter){

$mail_message="Dear $bs_name[$key] $bs_surname[$key]: \n
$name $surname has invited you to participate in a brainstorming 
session on: \n
$issue 
(BrainStorm session number: $brainstorm_id) 
on $bs_date at $bs_time. \n

Please confirm via e-mail or telephone your ability to participate. 
If you have not used Sylvia BrainStorm before, please visit 
http://www.jpb.com/sylvia/ to familiarise yourself with the system. 
On the day of the BrainStorm session, please log on to Sylvia, 
click on \"BrainStorm\" and enter the BrainStorm session number above.\n
This is an automatic message generated by Sylvia web based BrainStorming 
software for $name $surname. \n\n";

mail($emailgetter,"Invitation to participate in web based BrainStorm 
session",$mail_message,"From: $email");
}
}
etc...
}



Many thanks,

Jeffrey Baumgartner

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



RE: [PHP-DB] Problem with mail function

2002-01-16 Thread Beau Lebens

also - rather than change the ini file, you can just put



which gives the script 12 hours to run (or however you think you need)

i have a simple script for mailing out bulk mail done in php - it has
successfully worked on 700 emails so far - so it works :)

-b

// -Original Message-
// From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
// Sent: Tuesday, 15 January 2002 1:52 AM
// To: Faye Keesic
// Cc: [EMAIL PROTECTED]
// Subject: Re: [PHP-DB] Problem with mail function
// 
// 
// Is it the ole 30-second timeout thang?  Changeable in php.ini?
// 
// On Mon, 14 Jan 2002, Faye Keesic wrote:
// 
// > Hi there...
// >
// > I have a problem mailing out approx. 180 emails (no 
// attachments) using the
// > mail() php function.  I loop through the email table once, 
// sending the email
// > to everyone in the list.
// >
// > The problem is that my page seems to time out when I send 
// the emails, and it
// > refreshes itself.  So if I don't manually stop the browser 
// after say, 10
// > seconds, the recipients in the email table get the email 
// more than one time.
// >
// > Maybe I shouldn't be trying to send that many emails at a 
// time. I am on
// > apache using mysql and php...
// > --
// > Faye Keesic
// > Computer Programmer Analyst/Web Page Design
// >
// >
// > --
// > PHP Database 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 Database 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 Database 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-DB] Problem with mail function

2002-01-15 Thread Faye Keesic

Nope - haven't figured it out, even after sending 50 at a time, and pausing
the script for 30 seconds.  The page would refresh and do everything over
and over and overuntil manually stopped  in the browser.

I will try that set_time_limit(0); tomorrow.  Have had to work on other
stuff today. Another option i might implement is utilizing a mailing list
manager, such as Majordomo or something.

Thanks for all your help, the open source community is the best.
-- 
Faye Keesic
Computer Programmer Analyst/Web Page Design

> From: [EMAIL PROTECTED]
> Date: Tue, 15 Jan 2002 14:57:21 -0800 (PST)
> To: Faye Keesic <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] Problem with mail function
> 
> How's it going?  Haven't heard from you, so I assume that you've solved
> the problem.
> 
> 
> Ted
> 


-- 
PHP Database 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-DB] Problem with mail function

2002-01-15 Thread Jon Farmer

Hi Faye

> Maybe I shouldn't be trying to send that many emails at a time. I am on
> apache using mysql and php...
> -- 

put the line 

set_time_limit(0);

at the top of your PHP script

Regards

Jon

--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key



-- 
PHP Database 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-DB] Problem with mail function

2002-01-14 Thread Jason Wong

On Tuesday 15 January 2002 10:53, olinux wrote:

> Is there a solution to this if you do not have edit
> access to the php.ini file? [ie. a shared server]

A number of the settings in php.ini can be set/altered from  within your 
script. Check out ini_set() and friends.


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Let us live!!!
Let us love!!!
Let us share the deepest secrets of our souls!!!

You first.
*/

-- 
PHP Database 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-DB] Problem with mail function

2002-01-14 Thread olinux

Is there a solution to this if you do not have edit
access to the php.ini file? [ie. a shared server]

I found this function that seems to be a solution.
What would the proper use be?
ignore_user_abort(TRUE); ???

http://www.php.net/manual/en/function.ignore-user-abort.php

http://www.phpbuilder.com/tips/item.php?id=125

olinux


--- [EMAIL PROTECTED] wrote:
> Hi, Faye.  There's a parm in the configuration file
> (php.ini) cleverly
> called "max_execution_time".  Its default setting is
> 30.  There's also a
> "set_time_limit()" function that allows massaging
> this variable.
> 
> Does this help?
> 
> On Mon, 14 Jan 2002, Faye Keesic wrote:
> 
> > Don't know anything about ole 30 second timeout...
> what does it do?
> >
> > I checked out phpbuilder, and tried the sleep
> function after each loop
> > iteration (didn't seem to work), so now am trying
> to send out the headlines
> > in groups of 50...
> >
> > Sounds like others have the same problem.  mail()
> is a php weakness???
> >
> > --
> > Faye Keesic
> > Computer Programmer Analyst/Web Page Design
> >
> > >> From: [EMAIL PROTECTED]
> > >> Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
> > >> To: Faye Keesic <[EMAIL PROTECTED]>
> > >> Cc: [EMAIL PROTECTED]
> > >> Subject: Re: [PHP-DB] Problem with mail
> function
> > >>
> > >> Is it the ole 30-second timeout thang? 
> Changeable in php.ini?
> > >>
> > >> On Mon, 14 Jan 2002, Faye Keesic wrote:
> > >>
> > >>> Hi there...
> > >>>
> > >>> I have a problem mailing out approx. 180
> emails (no attachments) using the
> > >>> mail() php function.  I loop through the email
> table once, sending the email
> > >>> to everyone in the list.
> > >>>
> > >>> The problem is that my page seems to time out
> when I send the emails, and it
> > >>> refreshes itself.  So if I don't manually stop
> the browser after say, 10
> > >>> seconds, the recipients in the email table get
> the email more than one time.
> > >>>
> > >>> Maybe I shouldn't be trying to send that many
> emails at a time. I am on
> > >>> apache using mysql and php...
> > >>> --
> > >>> Faye Keesic
> > >>> Computer Programmer Analyst/Web Page Design
> > >>>
> > >>>
> > >>> --
> > >>> PHP Database 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 Database 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 Database 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]
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-- 
PHP Database 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-DB] Problem with mail function

2002-01-14 Thread ted

Hi, Faye.  There's a parm in the configuration file (php.ini) cleverly
called "max_execution_time".  Its default setting is 30.  There's also a
"set_time_limit()" function that allows massaging this variable.

Does this help?

On Mon, 14 Jan 2002, Faye Keesic wrote:

> Don't know anything about ole 30 second timeout... what does it do?
>
> I checked out phpbuilder, and tried the sleep function after each loop
> iteration (didn't seem to work), so now am trying to send out the headlines
> in groups of 50...
>
> Sounds like others have the same problem.  mail() is a php weakness???
>
> --
> Faye Keesic
> Computer Programmer Analyst/Web Page Design
>
> >> From: [EMAIL PROTECTED]
> >> Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
> >> To: Faye Keesic <[EMAIL PROTECTED]>
> >> Cc: [EMAIL PROTECTED]
> >> Subject: Re: [PHP-DB] Problem with mail function
> >>
> >> Is it the ole 30-second timeout thang?  Changeable in php.ini?
> >>
> >> On Mon, 14 Jan 2002, Faye Keesic wrote:
> >>
> >>> Hi there...
> >>>
> >>> I have a problem mailing out approx. 180 emails (no attachments) using the
> >>> mail() php function.  I loop through the email table once, sending the email
> >>> to everyone in the list.
> >>>
> >>> The problem is that my page seems to time out when I send the emails, and it
> >>> refreshes itself.  So if I don't manually stop the browser after say, 10
> >>> seconds, the recipients in the email table get the email more than one time.
> >>>
> >>> Maybe I shouldn't be trying to send that many emails at a time. I am on
> >>> apache using mysql and php...
> >>> --
> >>> Faye Keesic
> >>> Computer Programmer Analyst/Web Page Design
> >>>
> >>>
> >>> --
> >>> PHP Database 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 Database 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 Database 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-DB] Problem with mail function

2002-01-14 Thread Faye Keesic

Don't know anything about ole 30 second timeout... what does it do?

I checked out phpbuilder, and tried the sleep function after each loop
iteration (didn't seem to work), so now am trying to send out the headlines
in groups of 50...

Sounds like others have the same problem.  mail() is a php weakness???

-- 
Faye Keesic
Computer Programmer Analyst/Web Page Design

>> From: [EMAIL PROTECTED]
>> Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
>> To: Faye Keesic <[EMAIL PROTECTED]>
>> Cc: [EMAIL PROTECTED]
>> Subject: Re: [PHP-DB] Problem with mail function
>> 
>> Is it the ole 30-second timeout thang?  Changeable in php.ini?
>> 
>> On Mon, 14 Jan 2002, Faye Keesic wrote:
>> 
>>> Hi there...
>>> 
>>> I have a problem mailing out approx. 180 emails (no attachments) using the
>>> mail() php function.  I loop through the email table once, sending the email
>>> to everyone in the list.
>>> 
>>> The problem is that my page seems to time out when I send the emails, and it
>>> refreshes itself.  So if I don't manually stop the browser after say, 10
>>> seconds, the recipients in the email table get the email more than one time.
>>> 
>>> Maybe I shouldn't be trying to send that many emails at a time. I am on
>>> apache using mysql and php...
>>> --
>>> Faye Keesic
>>> Computer Programmer Analyst/Web Page Design
>>> 
>>> 
>>> --
>>> PHP Database 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 Database 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-DB] Problem with mail function

2002-01-14 Thread ted

Is it the ole 30-second timeout thang?  Changeable in php.ini?

On Mon, 14 Jan 2002, Faye Keesic wrote:

> Hi there...
>
> I have a problem mailing out approx. 180 emails (no attachments) using the
> mail() php function.  I loop through the email table once, sending the email
> to everyone in the list.
>
> The problem is that my page seems to time out when I send the emails, and it
> refreshes itself.  So if I don't manually stop the browser after say, 10
> seconds, the recipients in the email table get the email more than one time.
>
> Maybe I shouldn't be trying to send that many emails at a time. I am on
> apache using mysql and php...
> --
> Faye Keesic
> Computer Programmer Analyst/Web Page Design
>
>
> --
> PHP Database 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 Database 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-DB] Problem with mail function

2002-01-14 Thread Faye Keesic

Hi there...

I have a problem mailing out approx. 180 emails (no attachments) using the
mail() php function.  I loop through the email table once, sending the email
to everyone in the list.

The problem is that my page seems to time out when I send the emails, and it
refreshes itself.  So if I don't manually stop the browser after say, 10
seconds, the recipients in the email table get the email more than one time.

Maybe I shouldn't be trying to send that many emails at a time. I am on
apache using mysql and php...
-- 
Faye Keesic
Computer Programmer Analyst/Web Page Design


-- 
PHP Database 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]