carriepitre
asked on
PHP E-Mailer
Just finsihed a php e-mailer, everything works great, just have a few problems.
When sending e-mails, it is sort of slow, is there a way you can speed up the proccess of sending the emails?
When I send more then 150 emails, it states that, I have exceeded my daily limit, is there a way I can change this?
Also, how do I set the email priority to the highest?
When sending e-mails, it is sort of slow, is there a way you can speed up the proccess of sending the emails?
When I send more then 150 emails, it states that, I have exceeded my daily limit, is there a way I can change this?
Also, how do I set the email priority to the highest?
ASKER
I added that code to my mail, but I get this msg when I excceed 150 emails:
"Echec ! Errors :
You've reached your maximum daily quota : 150"
"Echec ! Errors :
You've reached your maximum daily quota : 150"
no idea what that is. looks to be a server setting.
out of my area of expertise.
Good luck.
Rockman
out of my area of expertise.
Good luck.
Rockman
ASKER
OK, how would you set the email piority levels?
var $priority = 3;
$priority - This sets the mail priority by default. Values: 1 = High, 3 = Normal, 5 = Low
from
http://www.phpfreaks.com/tutorials/130/2.php
Rockman
$priority - This sets the mail priority by default. Values: 1 = High, 3 = Normal, 5 = Low
from
http://www.phpfreaks.com/tutorials/130/2.php
Rockman
ASKER
So, just set it up like this:
<?php
var $priority = 3;
?>
<?php
var $priority = 3;
?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you useing your own mail server? Maybe the mail server's limit is 150 emails a day, to prevent spamming.
I really wouldnt think so, but i guess it may be possible.
But php doesnt really need a email server, to my knowledge.
Rockman
But php doesnt really need a email server, to my knowledge.
Rockman
in the php.ini file you point the php to a mail server to use.
I don't know about phpmailer but you need a valid mail server for the basic mail() php function to work.
I don't know about phpmailer but you need a valid mail server for the basic mail() php function to work.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think the answer I gave would allow the carriepitre to send as many emails as he wants without local limits.
Agree.
so, no, you probably cant make it run faster.
daliy limit? of what. bandwidth?
I bet it is just the timeout of the server
add this to the emailer page
set_time_limit(120);
Rockman