Skip to Content Skip to Menu

Mailer Plugin doesn't add to queue or process queue after nightly release upgrade

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
8 years 8 months ago #279017 by beat

3by400Inc wrote: No, nothing is being added to the Sent Mail. I did get a more detailed response from the cron which indicated there was an error in sending the messages.

Where can I go to see a log of those errors?


Logs are on your server, in /var/log/mail.log and /var/log/mail.err
(needs root, otherwise ask your mail-server hoster).

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
8 years 8 months ago - 8 years 8 months ago #279018 by 3by400Inc
I thought perhaps there was a CB Subs log ..

Does the mailer not use the mail settings in Joomla global config? We're using a third-party SMTP service, not a server-level mail service. We have mail services on the server disabled.
Last edit: 8 years 8 months ago by 3by400Inc.

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
8 years 8 months ago #279022 by beat

3by400Inc wrote: I thought perhaps there was a CB Subs log ..

Does the mailer not use the mail settings in Joomla global config? We're using a third-party SMTP service, not a server-level mail service. We have mail services on the server disabled.


Good question: Maybe it is logged in the CBSubs History logs as error, but I would need to check if it is the case. Anyway, when looking for logs and errors inside CBSubs it is the place to look. However if it contains anything, it will have less details than the Linux system itself.

Does only a few number of mails go out ? or none ?

CB and CBSubs use the global Joomla mail settings. If CB mails go out, CBSubs emails should go out too. However your mail server may have rate-limiting. In that case, you have a possibility to set how many mails per cron-run you want to send in CBSubs Settings, Mailer tab, "Number of mailer items to send from messages queue per cron run" setting. That's also where you can change the "Number of hours to wait before retrying to send a failed message" (default 24 hours)

In case of failed sending, column "Date to send" in Mail Queue will inform you the minimum date for next trial.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
8 years 8 months ago #279024 by 3by400Inc
It looks like CBSubs only logs changes to the mailers and sent mail.

We have no mail errors on the server and CB is sending mail as expected. I have 234 records in the Mail Queue and 0 have sent.

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
8 years 8 months ago #279083 by beat

3by400Inc wrote: It looks like CBSubs only logs changes to the mailers and sent mail.

We have no mail errors on the server and CB is sending mail as expected. I have 234 records in the Mail Queue and 0 have sent.


I just checked: There is no detailed error logging for CBSubs Mailer (as servers have already logs, but it's sure a nice FR to add. Might appear in a nightly next week.

In the mean time, if you are fluent with CB Auto-Actions or CB plugins, you could try getting it by using CB Auto-Actions on event onAfterSendMail.

Parameters for event onAfterSendMail are as follows:

$mailsSent, $mail, $from, $fromname, $recipient, $subject, $body, $mode, $cc, $bcc, $attachment, $replyto, &$replytoname, $properties, $error ) );

So error text message would be in 15th parameter $error, and you could use it to display it.

Or just add an echo $error; in libraries/CBLib/CB/Legacy/LegacyComprofilerFunctions.php around the end of function comprofilerMail after this line:

$error = $mail->ErrorInfo;

Then delete mailqueue entries, re-process mails and mailqueue and see resulting page for the error messages (if any)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
8 years 8 months ago #279160 by 3by400Inc
It seems our issue has gone the same route as others that have reported the issue. The email began sending ... not sure why. Maybe there is some date being stored somewhere that prevents the sending until the length of time passes. Who knows.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum