Ok i have a problem, i've made this app with lots of contacts. And I have a function with lots of email adresses. Now - when i try to email all of them it doesn't work...its about 160-180 email's in one push. And i have checked so none of the adresses are corrupt, and it is possible to mail to all if i do it sections. But is there a way to send email to 150+ adresses with the "mailto:"?
Thx for your help
mailto: maxlimit?
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Well first, the mailto: link simply points to an e-mail client. So it could be Outlook, Gmail, Hotmail, Thunderbird, and etc, so the e-mail address limit is totally based upon your browser, the program that launches and then the e-mail service provider that program connects to.
If your looping the mail() function it will take a while for larger e-mail lists because each instance of it is a connection to the mail server.
Look into sending the e-mails via sockets, so there is just one connection. Doing that will most likely prevent any MAX_EXECUTION_TIME errors you get with looping mail(). Or if you would like to still use mail(), simply use ini_set() to boost up the default MAX_EXECUTION_TIME limit for the duration of that script.
If your looping the mail() function it will take a while for larger e-mail lists because each instance of it is a connection to the mail server.
Look into sending the e-mails via sockets, so there is just one connection. Doing that will most likely prevent any MAX_EXECUTION_TIME errors you get with looping mail(). Or if you would like to still use mail(), simply use ini_set() to boost up the default MAX_EXECUTION_TIME limit for the duration of that script.