1. Pete Thomas
  2. Newbie Area
  3. Monday, 21 April 2014
  4.  Subscribe via email
I'm using J!2.5.19 and also Kunena forum 2.0 with the latest UddeIM messaging components, but lately I have been receiving system errors for sent notifications to users (especially regarding Gmail users), so decided to give Mandrill a go. I have now registered on Mandrill and have my API key.
Installed CMandrill 3.0.1 and inserted API key and enabled the system plugin. Created a new user and received the error: ERROR_SENDING_EMAIL
I'm new at this, so I'm not sure if I need to make any changes in Configure > Server > Mail Settings ? At the moment those settings are set to use PHPmail as default. I'm not sure if It's necessary to place the Mandrill smtp settings in there for this to work correctly ?

Any help to get this working for new registrations, Kunena and UddeIM notifications would be really appreciated - also, happy to supply superadmin access if needed
Thanks
Responses (20)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Go on the mandrill.com website and look in the api log in your account. Maybe there you can find information why the email was not sent. Also cmandrill generates a log file - it should also tell you if something went wrong with the sent.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 1
Accepted Answer Pending Moderation
Hi Daniel,
This is the Joomla plugin log for creating the new user - any ideas ?
Thanks again

2014-04-21T10:02:57+00:00	WARNING	deprecated	JError::raiseWarning() is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JError::raise() is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JException is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JError::addToStack() is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JError::throwError() is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JError::getErrorHandling() is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JError::handleMessage() is deprecated.
2014-04-21T10:02:57+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-04-21T10:02:57+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-04-21T10:02:57+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-04-21T10:02:57+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead.
2014-04-21T10:02:57+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead.
2014-04-21T10:39:45+00:00 WARNING deprecated JError::raiseWarning() is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JError::raise() is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JException is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JError::addToStack() is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JError::throwError() is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JError::getErrorHandling() is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JError::handleMessage() is deprecated.
2014-04-21T10:39:45+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-04-21T10:39:45+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-04-21T10:39:45+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
  1. more than a month ago
  2. Newbie Area
  3. # 2
Accepted Answer Pending Moderation
Also, just tested sending a message via my site's contact form and I get an error on the front end. After checking the plugin log, there are similar 'deprecated' messages as my previous post. Why is the log showing deprecated errors ?
So until this can be resolved, my contact form (+ other front-end forms) is no longer working either.
  1. more than a month ago
  2. Newbie Area
  3. # 3
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
The deprecated warnings have nothing to do with the issue.
Are you sure that you have provided the correct key?
If you can't get it to work, please send me access credentials to your site and I'll have a look.
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 4
Accepted Answer Pending Moderation
Yes the key was correct, but to be sure I deleted the previous API key and created a new one. Uninstalled CMandrill and then re-installed and set up with the new API key and enabled the plugin. Tried creating a new user, but I still get the same error message.
Thanks for offering to take a look for me - where do you want me to send you my site's access credentials ?
  1. more than a month ago
  2. Newbie Area
  3. # 5
Accepted Answer Pending Moderation
FYI - my site also uses Guest access - as there are menus and pages that are only accessible when logged in and also logged out. eg. the contact form and menu item is not required for logged in users, it's only required for non-registered users. I did try changing the plugin access from Public to Guest, and then registering a new user worked ok with no errors. But sending a contact form still had errors.
Can you confirm where to send the site details so that you can take a look - maybe at your 'contact-us' email address ?

Thx again
  1. more than a month ago
  2. Newbie Area
  3. # 6
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
send it to daniel@compojoom.com
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 7
Accepted Answer Pending Moderation
Ok thx.. details now sent
  1. more than a month ago
  2. Newbie Area
  3. # 8
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
All the time there was something fishy about that and I didn't know what. But now it struck me.
ERROR_SENDING_EMAIL - is not coming from cmandrill. There isn't any line in the code that produces this error.
Most probably you have something else that steals the sending of the mail. In order to further debug this I would need ftp access to the site.
Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 9
Accepted Answer Pending Moderation
I've sent you FTP details.. thanks again
  1. more than a month ago
  2. Newbie Area
  3. # 10
Accepted Answer Pending Moderation
FYI - the other extensions that are used for mailing are Breezing Forms, FlexiContact, Kunena and also UddeIM messaging for Kunena.
FlexiContact is the main contact form, and Breezing forms are used for other custom forms used on the front end.
Kunena and UddeIM use notification emails for forum topic subscriptions and messages.
Previously, all the above extensions had used the server mail settings set as PHPmail with no problems. But since the Gmail possible spam issue not allowing port 25 etc. I have started using Mandrill/CMandrill to overcome that problem, but now everything has stopped working. I would really like to use the Mandrill/CMandrill setup if possible, but may have to look for an alternative solution if this can't be fixed. Appreciate your time Daniel.. as mentioned I have sent you the FTP details.

Regards
Peter
  1. more than a month ago
  2. Newbie Area
  3. # 11
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
You have? I haven't gotten anything from you.
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 12
Accepted Answer Pending Moderation
No ? Hmm.. that's strange
Ok, I've sent them again - can you confirm if you receive them or not ?
  1. more than a month ago
  2. Newbie Area
  3. # 13
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Here is what is happening. CMandrill is actually sending the emails. The issue is that the mandrill API returns a status of 'queued' and since the status is not sent, we return false and the default joomla API takes controll of the send process. So the 'Error sending mail" comes from joomla and not our component.

Now - why is the status queued? I have no real idea. Look in mandrill, have you perhaps paused the deliver? Like at the api log in mandrill - does it say anything?

Cheers,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 14
Accepted Answer Pending Moderation
Checked Mandrill and sending is not paused - but if you wish to check further, I'm happy to send you the Mandrill login.. please let me know.
Checked API log and no logs in Failed API Calls.. but lots in successfull calls.
Here is the new user you tried to create (see attached screenshot):
/messages/send.json
  1. more than a month ago
  2. Newbie Area
  3. # 15
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Okay, can you send me access to your mandrill account as well then. I'll have a look and eventually contact mandrill if I can't figure it out.
Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 16
Accepted Answer Pending Moderation
Thx Daniel.. I have now sent you my Mandrill details.. please let me know if you don't receive them.
Regards
Peter
  1. more than a month ago
  2. Newbie Area
  3. # 17
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
It is interesting why you have 16 messages in the backlog. I sent a support request to the mandrill team and I'll let you know once they respond to me.
Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 18
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Here is what I received from mandrill:

Hi Daniel,
Sorry for the trouble. This account matched some of our abuse detection heuristics, and your sending was paused briefly while we reviewed the account. We've re-enabled the account and your user's mail is beginning to send. This was a one-time review, and there's nothing additional you need to do.
Let us know if you have any additional questions.
________________________________________The Mandrill Crew


It should be working all fine now. Please block all my accounts and also delete the super admin account that I created for testing.
Also - you should enter the info for the smtp sending in your global config. This way if for some reason the API send fails, it can still go back to smtp.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Newbie Area
  3. # 19
Accepted Answer Pending Moderation
Thx Daniel.. I really appreciate your time with this :)
I'm surprised that Mandrill didn't notify me that they had paused sending, it would have saved many hours of fault finding - how else would I know that they had done this ?
Ok, all test accounts now removed.
I have now set the server mail settings to SMTP for Mandrill and the contact and other site forms are now sending ok. Forum post notifications are now sending - and also UddeIM message notifications.
Thx again Daniel for your help.
Many regards
Peter
  1. more than a month ago
  2. Newbie Area
  3. # 20
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Complete Uninstall to Work in J4??
We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
3 Replies
Posted on Tuesday, 30 April 2024
  • New
  • verschiedene URL's für Kursübersicht einer Kategor
    Hallo, ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
    1 Replies
    Posted on Monday, 29 April 2024
  • New
  • Google no index für bestimmte Seiten/Details
    Hallo ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
    1 Replies
    Posted on Wednesday, 24 April 2024
  • New
  • Changes to Submission Form?
    Are you able to make changes to the Hotspot submission form? There are several f...
    0 Replies
    Posted on Friday, 26 April 2024
  • New
  • Question regarding custom fields
    How do I access custom fields after I have created them?...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
    • #custom fields