Avatar of BR
BRFlag for Türkiye

asked on 

sending bulk email with PHP

do you know how to send emails with PHP?
I want to use "do while" to send emails to the all email addresses at my table.
Do you have a sample code?
PHPWeb Languages and Standards

Avatar of undefined
Last Comment
BR
SOLUTION
Avatar of Sid_F
Sid_F

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

I have code that I've written that works (but is specific to my application).  It is meant for one e-mail at a time (confirming registration).  It won't work well for bulk mail.

Can you share more of what you are trying to do?  Context helps.
Avatar of BR
BR
Flag of Türkiye image

ASKER

Dear hccurdy,
I have a table which has more than 1000 email address.
I want to send email one by one to let my users know about membership details.
It should work like "do while loop" start from the first email address to send until  the last email record.
thank you
SOLUTION
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
ASKER CERTIFIED SOLUTION
Avatar of Derokorian
Derokorian
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

I posted code because that's what I was asked to do.  

Still, I think Sid and Kerokorian have good advice.  I think the PHP-Mailer class is a good idea even though I haven't seen it yet.  (I'm going to go look it up now.)  Seems to be several.  I'm going to investigate this one when I get a chance    http://code.google.com/a/apache-extras.org/p/phpmailer/
SOLUTION
Avatar of nanharbison
nanharbison
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Loganathan Natarajan
try this phplist software , really it does what we want on bulk mailing

http://www.phplist.com/
Avatar of BR
BR
Flag of Türkiye image

ASKER

thank you
PHP
PHP

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

125K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo