Hello,
I’m having trouble with Mailgun set-up.
I’m using the latest development snapshot of og_mailinglist with Drupal 7.36.
When mailing to the group, everything looks fine at Mailgun. The log shows it was sent to my website and everything is cool.
On the web site nothing shows up.
When I try creating a node of the type that is set-up to work withh og_mailinglist and post, I get the following error:
Fatal error: Call to a member function ClearAddresses() on a non-object in /home/ale/public_html/sites/all/modules/contrib/og_mailinglist/og_mailinglist_common.inc on line 20
Any advice on how I might troubleshoot this would be most appreciated.
Thanks for the great module.
Comments
Comment #1
mahfiaz commentedThis happens if PHPMailer library is not installed (or not found). Doesn't /admin/reports/status mention this?
Comment #2
Shai commented@mahfiaz,
Thanks much. I now have PHPMailer installed. This is the status:
1. A group member can successfully post to the web site via an email sent to the group address.
2. Nothing seems to be distributed to group members via email. This is true in both of the following situations:
2a. Post is from email to list address
2b. Post if submitted on the web site group area with correct content-type.
Drupal is reporting the following error.
When posting from the web site, there are no records created in MailGun.
Where is the SMTP problem. I know the Mailgun credentials are correct.
What's the next thing to check?
Thanks.
Shai
What am I missing.
Comment #3
mahfiaz commented"Could not authenticate" really suggests there is something fishy about the password. Or maybe wrong port, wrong domain or something.
Comment #4
Shai commentedFor those who may have the same problem...
It turned out to be a setting in cPanel WHM. It's in "Tweak server settings."
The setting "Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" was set to "on". Turning it to "off" fixed my problem.
Thanks for the great module.
Comment #5
mahfiaz commentedSo basically a smart firewall. Thanks for reporting back.