I am pretty new to php and exuse me if this sounds too noob.
I need a mailing solution in PHP - something that goes beyond the simple phpmail function.
I am aware of cos like aweber and mailchimp but that is not what i am looking for.
This has to integrate with my existing code.
I need to implement mass mailers features like:
1) Automatically send mails based on certain evaluations to be true (for example: sending b'day mails)
2) Send reminder mails for some pending actions
3) batch processing features
4) Option for scaling the number of emails sent - bulk mailing based on certain evaluations.
Just point me to the things i should explore in this context.
one thing that come to my mind is cron jobs
Mailing with PHP
Moderator: General Moderators
Re: Mailing with PHP
PHP has a built-in mail() function that relies on having an installed and running mail SMTP mail server, normally on the same domain. It will take care of your first 2 points. I'm not sure what you mean by "batch processing features". PHP logic (loops, etc.) handles what I think you mean by that. I'm not sure what you mean by the last point, either.Live24x7 wrote:I need to implement mass mailers features like:
1) Automatically send mails based on certain evaluations to be true (for example: sending b'day mails)
2) Send reminder mails for some pending actions
3) batch processing features
4) Option for scaling the number of emails sent - bulk mailing based on certain evaluations.
one thing that come to my mind is cron jobs
You should read some tutorials like http://www.w3schools.com/php/php_mail.asp.
The Linux utility cron is a means for scheduling the running of a program or script on a chronological schedule, but otherwise has no special functionality for emailing.
There are other libraries, such as http://swiftmailer.org/.
Re: Mailing with PHP
There are open-source php mailing list applications like phplist. I've never used any, I don't know if they would do what you want or not.
Re: Mailing with PHP
thanks Doug G
phplist - looks like this get me going
phplist - looks like this get me going