Jump to content

Recommended Posts

Posted

Our site has hundreds of members and continues to grow each day. Originally, I had written a newsletter script to allow us to send monthly emails to our members. Unfortunately, as we have grown, the script is having some severe efficiency problems. In fact, many times, after about halfway through the list, the script will die and stop sending.

 

I'm using the built in mail() function but I think there's a better way. I know the mail() function opens and closes the connection to the mail server for each call but I believe there is another way to open the connection once, push all the mail through, and then close once it has all been sent.

 

Oh, and I would just append each email address together but that looks bad upon the business in my eyes. I want everyone to get a single, individual email with only their address.

 

Any ideas?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...