Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > Send mail to multiple users
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th June 02:29
mattia
External User
 
Posts: 1
Default Send mail to multiple users



I have a very big problem.
I must send a single mail to multiple receivers. The number of
receivers are very big: approximately 6000 users, but this number
increase each year.
I find a lot of suggestion: insert all e-mail address (or part of them)
in the field BCC.
But I use a hosting server, for this reason I don't know if this
solutions is possible.
I can use my computer, but I don't know is SMTP of my ISP can support
this kind of feature.
Anyone did have the same problem? Can I resolve it?
Sorry if my English is not very good.
Mattia
  Reply With Quote


  sponsored links


2 8th June 02:29
janwillem borleffs
External User
 
Posts: 1
Default Send mail to multiple users



Already replied to in comp.lang.php


JW
  Reply With Quote
3 8th June 02:29
j.o. aho
External User
 
Posts: 1
Default Send mail to multiple users


A host may limit the number off addresses you can have in a header, to know
that you need to ask the hosts support about that.

At the same time the receiving SMTP may have restrictions on how many
addresses can be in a header.

So I would think the best is to group the users onto small groups ca 10-20
addresses for each mail, you will have a long execution time for the script,
so you need to prolong the timeout time that is set in php.ini (this can be
done from the script itself).

IMHO the absolute best is to have a maillist daemon (a real one, no php
script) that will send the mail out, this way you most likely will avoid the
problem completely. Then you can send the mail from the php script to the
maillist daemon who only does forward mail from the server in question and
then forwards the mail to all who are in the list. Of course you will need php
scripts that can add/remove users from the datafile that the maillist uses.


//Aho
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666