Hi

I have a site with more than 50,000 user and I want to send newsletters to each of our site user.

If I use the normal "mail" command in PHP, it will create a heavy load for the server so that after sending the email, because of the heavy traffic which gets created on the server, the email will either not be send or it can take up to one week till it gets send out.

Is there any better and easier procedure or method for sending these types of emails? (I have a dedicated server)

    You should use something other than mail(). As the manual says:

    Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.

    For the sending of large amounts of email, see the » PEAR::Mail, and » PEAR::Mail_Queue packages.

    Or use fsockopen().

      Write a Reply...