Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Open Source Email Software Required

  • 28-07-2009 4:17pm
    #1
    Closed Accounts Posts: 29


    Hi,

    I'm just enquiring if anyone knows of any Open Source software to generate automatic emails. I'll explain the scenario:

    We have an MySQL database with registered user details including name, address, county, email address, etc. We also have a php contact form that the user completes and presses submit. When the user presses submit, we want all of the details in the contact form to be emailed to all of the emails in the database that meet the requirments of the user. When i say "meet the requirements" the user should be able to filter certain things in the contact form so that when the user presses submit then it won't go to every email in the database.

    Again, i'm just wondering if anyone knows of any open source code/code that may assist us.

    Thanks


Comments

  • Moderators, Technology & Internet Moderators Posts: 1,336 Mod ✭✭✭✭croo


    These sound like very specific requirements. I suspect you will need to develop something yourself - or get someone to do it for you. You don't provide much background (OS, programming languages, tools available) but maybe you could do something based on mysql (database) triggers - try googling for mysql, email and triggers to see if you find anything that might help.


  • Registered Users, Registered Users 2 Posts: 2,472 ✭✭✭Sposs


    Are you looking for opensource mail software? if so http://www.sendmail.org/ and http://www.postfix.org/ would be the most widely used.


  • Closed Accounts Posts: 41 oMega_2093


    Hello, do you mean you need a PHP script which sends email to required email addresses? If so you can probably code something by yourself, using the PHP mail function inside a looping. First get from the database the mail addresses which match your criteria and put them into an array. Then make a foreach loop with PHP mail function inside.

    Is that what you need?


  • Closed Accounts Posts: 41 oMega_2093


    I've read from the PHP.net docsite itself that PHP mail() is not recommended for large mail volumes, so you may consider how many mails are you going to send, and use pear modules to handle massive mailing lists if required.

    Regards.


Advertisement