Log in

Stats

  • Category: Communication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2011-2-1
  • Downloads: 12063
  • Recommendations: 22

Other Projects

Cash's plugins:

PHPMailer for Elgg 1.8

SMTP, HTML emails, BCCs and file attachments

by Cash
Last updated 540 days ago

Features

  • SMTP support - including authentication and SSL
  • HTML email
  • File attachments
  • BCCs
  • Additional functionality is easy to add using PHPmailer class

Summary: This plugin has the option to override the default elgg email notification handler and email sending code with PHPMailer. It currently provides support for using the php mail function or a smtp server. See the included readme.txt for more information.

Description: This plugin provides a wrapper to the PHPMailer class. PHPMailer is used by many open source projects including Wordpress and Joomla. The class provides the abaility to send mail through php's mail function, sendmail, qmail, and smtp. It supports html email, file attachments, and embedding images. See http://phpmailer.codeworxtech.com/ for more details. This plugin provides a simple wrapper around the PHPMailer class.

Installation: Unzip and place in mod directory. Activate through Tools Administration. There are admin settings for smtp and non-standard MTAs. There are further instructions in the readme.txt file.

SMTP: SMTP can be setup in the admin settings of the plugin.

Notes:Other plugins may have their own email sending code and will not use this plugin therefore.

Bug Reports: Please post them in the comments along with any related error message in your server error log. If you did not read the readme file or check your error log, I am much less likely to spend time giving you support.

Release notes:

  • Updated for Elgg 1.8
  • Includes the newest version of PHPMailer

If using Elgg 1.7, use version 0.9.9.

Comments

  • Tom 539 days ago

    Thanks, Cash.

    q: We adapted your last version and included email address override filter (for test servers). I know you have seperate plugin for this... but there are so many plugins already and it's just a few lines of code, so we extended this one. Would you be willing to take our changes for this on Github?

    • Override Email address to send ALL emails to (so replaces all to: addresses):
    • But DO NOT override if email address is one of these (between ","):
  • Cash 539 days ago

    Tom, the plan is to move the mail override into the developers plugin that's distributed with Elgg. I think there is a ticket for this in Trac but couldn't locate it right now.

  • Speedysnail6 507 days ago

    What about deyan shell? I used this with deyan shell and I see known difference in the new one as the old one.

  • luiszhou 373 days ago

    Dear Cash, Execute me, would you please update one intruction for gmail account? These plugin seem not in function for elgg 1.8.4. Thank you.

  • rohonupe99 372 days ago

    i'm using .83 and this doesn't work with the gmail smtp

  • thanh 370 days ago

    does not work with elgg 1.8.4.

    Redirect could not be issued due to headers already being sent. Halting execution for security. Search http://docs.elgg.org/ for more information.

  • Mann 352 days ago

    Dear Cash,

    If send mail without checked ssl, it's ok. After check to ssl and try to send, its say that Could not connect to SMTP host.

    I'm using elgg 1.8.5

  • Cash 340 days ago

    @rohonupe99 - I know it works with gmail (please note that using gmail is a production solution!!!!).

    @Mann - maybe a config issue on your side?

  • This Script Lover 68 days ago

    I have fresh setup on Rackspace but emails not sending suposedly because of their relay and they say to use SMTP. I tried this plugin but still not working 100%

    What to use as server/port in the settings? I have localhost and port 25

    Thanks.

  • baskin 61 days ago

    The plugin is working as expected. Mails are sent (with gmail smtp) but i have the following issues.

    Message is like that (the content is in greek and it is displayed correctly, the problem is the subject and the first lines)

    http://paste.opensuse.org/63893