PHP Mass Mailer with Attachment

Posted on 2009-12-31
Last Modified: 2013-12-13

I'm running a forum and for new year I need to send a report to all subscribers.

Is there anything like PoMMo to send mass email with simply importing a TXT list of emails and send them an email with a PDF attachment? It should use sendmail, so e-mails will be Inbox.

Any experience?
Question by:CSecurity
    LVL 4

    Expert Comment

    PHP-list is your best bet i think.
    LVL 107

    Expert Comment

    by:Ray Paseur
    Not sure what you mean by "e-mails will be Inbox." but I can tell you a little about my experience with several hundred thousand emails over the years.

    I have written my own scripts that used the PHP mail() command and that used the PHP Mailer class.  Most of the time these things worked fine, however there are constant battles with the spam filters.  To get away from the time-consuming and thankless task of battling the spam filters, I now use Constant Contact, a service, that costs only pennies a day and works flawlessly.  There are other services, such as iContact, but our staff liked the Constant Contact interface and there was no meaningful difference in price at all.

    If I were sending out a lot of PDF files I would consider instead sending a LINK to the PDF files on my server instead of an attachment.  Many people read their email on Blackberries and the like - they may not get the attachments.  One advantage of the Constant Contact service is that you can tell from their reports who has read your email messages and who has opened files or attachments.

    Also, I would consider whether I needed to send a unique PDF to each client.  If so, sending a unique link to each client would require some coordination between the email address and the name of the PDF file.

    Anyway, best of luck with it and Happy New Year, ~Ray
    LVL 17

    Author Comment

    Happy new year... Sorry Ray, I cannot afford on coding custom mailer for myself now, I'm too busy and out of time, just need some ready made scripts, install, add email list and send out mails... @Pavar, Does PHPLIST sends attachment and imports contacts easily?
    LVL 4

    Accepted Solution

    You can judge for yourself here:

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now