×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: ERROR_SENDING_EMAIL

ERROR_SENDING_EMAIL 10 years 8 months ago #25741

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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

ERROR_SENDING_EMAIL 10 years 8 months ago #25742

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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

ERROR_SENDING_EMAIL 10 years 8 months ago #25743

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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.

ERROR_SENDING_EMAIL 10 years 8 months ago #25746

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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.

ERROR_SENDING_EMAIL 10 years 8 months ago #25747

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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.
The following user(s) said Thank You: Stefan Basting

ERROR_SENDING_EMAIL 10 years 8 months ago #25749

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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 ?

ERROR_SENDING_EMAIL 10 years 8 months ago #25755

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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

ERROR_SENDING_EMAIL 10 years 7 months ago #25756

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
send it to This email address is being protected from spambots. You need JavaScript enabled to view it.

ERROR_SENDING_EMAIL 10 years 7 months ago #25757

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
Ok thx.. details now sent

ERROR_SENDING_EMAIL 10 years 7 months ago #25762

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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

ERROR_SENDING_EMAIL 10 years 7 months ago #25772

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
I've sent you FTP details.. thanks again

ERROR_SENDING_EMAIL 10 years 7 months ago #25808

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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

ERROR_SENDING_EMAIL 10 years 7 months ago #25810

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You have? I haven't gotten anything from you.
The following user(s) said Thank You: Stefan Basting

ERROR_SENDING_EMAIL 10 years 7 months ago #25811

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
No ? Hmm.. that's strange
Ok, I've sent them again - can you confirm if you receive them or not ?

ERROR_SENDING_EMAIL 10 years 7 months ago #25813

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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

ERROR_SENDING_EMAIL 10 years 7 months ago #25815

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
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
Attachments:

ERROR_SENDING_EMAIL 10 years 7 months ago #25825

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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

ERROR_SENDING_EMAIL 10 years 7 months ago #25826

  • Pete Thomas
  • Pete Thomas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
Thx Daniel.. I have now sent you my Mandrill details.. please let me know if you don't receive them.
Regards
Peter
The following user(s) said Thank You: Stefan Basting

ERROR_SENDING_EMAIL 10 years 7 months ago #25830

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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

ERROR_SENDING_EMAIL 10 years 7 months ago #25831

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
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
The following user(s) said Thank You: Stefan Basting
  • Page:
  • 1
  • 2
Time to create page: 0.159 seconds