Page 1 of 1
Mailing multiple address.
Posted: Sun Oct 19, 2008 11:07 pm
by JellyFish
Hey, I was wondering if mailing multiple people by passing a string of comma-separated addresses to the mail() function will run slowly or if there's a better more sophisticated way to do this in PHP. I have this database for people that have opted in for a newsletter I'm offering and I'd like to be able to write out my newsletter and click submit and have php do the rest, swiftly.
Also, how do I send attachments with PHP?
Any info on this is appreciated. Thanks!

Re: Mailing multiple address.
Posted: Mon Oct 20, 2008 2:12 am
by jaoudestudios
If you are sending large amounts of emails and possibly with attachments, I would look into PEAR. I would not usually recommend this as pear is quite large. However for sending mass emails it is good as it will keep ports open until sending is complete - which is more efficient.
If you are sending over 20 emails at a time or in a day (there is not exactly figure) I would be careful not to get your IP banned! It is easy to get your IP on the spam list but more difficult to remove it.
Re: Mailing multiple address.
Posted: Mon Oct 20, 2008 4:15 pm
by JellyFish
Well my host is godaddy and it's shared so they won't really let me install frameworks or plugins.
All the people I'll be mailing have opted for the newsletter and they can scratch themselves of the list if they want to. So I'm just sending email to those that have requested it. Also I will be sending them once a week at least, and not every day.
Will I still be in the red when it comes to getting on a blacklist for spam?
Re: Mailing multiple address.
Posted: Mon Oct 20, 2008 4:20 pm
by jaoudestudios
Probably, all it takes is a few users who are too lazy to unsubscribe so they hit the junk button in google mail or hotmail etc and bam you are on the blacklist.
There are a few companies out there who take care of this for you. We use
http://www.verticalresponse.com, their system is not bad and dirt cheap - pay as you go. Think it is £0.01 per email. Totally worth it as they deal with blacklists etc.
How many are you sending out each week?
Re: Mailing multiple address.
Posted: Mon Oct 20, 2008 4:43 pm
by JellyFish
I'm sending one a week at least. But I don't see how I have pay money to send emails that are from my own newsletter. It's a newsletter not a spam thing, they are continuous updates.
Re: Mailing multiple address.
Posted: Mon Oct 20, 2008 4:56 pm
by Stryks
I assume you have looked at
Swift Mailer?
It seems to be a forum favorite, it even has it's own board here somewhere.
Re: Mailing multiple address.
Posted: Tue Oct 21, 2008 2:08 am
by jaoudestudios
Oh yes how could I forget Swift mail. But I think this has to be installed on the server?
Its up to you, just trying to warn you and save you time and hassles in the future. I know it is your newsletter, but spam has messed it up for all of us!