0.5 (2015-12-29):
View slyhne's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Hi Michele
I do not get any page errors sending either using my own local SMTP server or Googles server.
To make Googles SMTP server work it needs a few extra steps because gmail has so much security.
Here is what I did:
Also made sure site email was changed to the same as SMTP username - not sure this is mandatory, but it makes good sense.
You also need to do some changes on your gmail account as well:
Start by accessing your gmail account at https://mail.google.com using the same credentials you used in the plugin settings.
Go to https://myaccount.google.com/security?hl=en and verify you do have:
2-Step Verification = Off
Allow less secure apps = ON
Go to https://accounts.google.com/DisplayUnlockCaptcha and confirm you will allow next signin to be
without extra captcha check (something EmailPlus can't do)
Now try sending a message from one Elgg user to another, and verify the email notification goes through.
If it does not, then you need to log into your gmail account and verify it was you (or rather your server)
who did this and it is okay. You probarbly have a new email waiting with a subject like this: "Someone has your password".
Follow the link in the email to approve access from your webserver.
The above made it work for me, including sending HTML emails :-)
Please note that I don't believe anyone running a site should use Google's mail servers. There are all kind of restrictions on number of emails per day, max number of rejected emails per day, max number of recipients pr. email and so forth.
If you need a mail server for a site, either install one on your server or rent access to an external one.
Hi Michele
I also use my own mail server, but without authentication and encryption. That's why I did a test with Googles mail server, and the debug output told me essential everything I needed to know to make it work (mostly work on my gmail account).
Did you review and save plugin settings after upgrade to version 0.5?
Do you get any errors in the web server's error log if you enable debug (Client and Server)?
Hi slyhne,
I believe there is a small bug - in emailplus.php at Line 104-106
if ($from_email) {
$from_email = "noreply@{$domain}";
}
Shouldn't it be
if (empty($from_email)) {
$from_email = "noreply@{$domain}";
}
Otherwise great plugin! Actually I changed that line and now it works for me (I run Elgg under a sublevel - so Mandrill SMTP would not send if the domain (sublevel) does not match with the email domain).
Cheers,
reklov
Hi reklov
Thank you.
I will release a new version with the fix soon.
Regards
slyhne
Facebook Connect gives an error
Fatal error: Call to a member function getSender() on a non-object in /home/user/public_html/mod/emailplus/lib/emailplus.php on line 22
Hi,
actually I came accross a quite similar error like Rohit (not with Facebook connect but with trying to send digest (adopted version of https://elgg.org/plugins/797106/releases/2.1.1#elgg-object-1747017) emails through the emailplus_send_email function.
Shouldn't it be:
Actually I even don't know if it is necessary. I did not find $sender or $recipient beeing used in the function at all. So maybe those lines need to be removed completely.
Hi slyhne,
I further played around with it. Some further thoughts:
Hope this is valueable for you. Thanks for your plugin!
Cheers,
Reklov
Hi Reklov
Thank you for your thoughts and ideas, they are much appreciated.
Regards
Slyhne
Hello, My emailplus is sending messages through, but not notifications. How can I get it to send notifications out?