Author Topic: [*NOT A BUG*][1.6-rc] email module - notifications not sent  (Read 2976 times)

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
[*NOT A BUG*][1.6-rc] email module - notifications not sent
« on: December 03, 2009, 10:55:13 am »
Ever since we upgraded to 1.6-rc, email notifications are not sent out anymore.

tail -f /var/log/mail.log does not output anything at all.

[EDIT]

Bit more info:
Sending a test mail works.
What doesn't seem to work is the task assignment / subscription / update notification system.
« Last Edit: December 09, 2009, 12:26:23 pm by Nuno Zimas »
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: [NOT SOLVED IN 1.6-Stable][1.6-rc] email module - notifications not sent
« Reply #1 on: December 09, 2009, 07:47:20 am »
This one hasn't been addressed yet.
Without notifications, it is extremely hard to keep a smooth communication workflow.
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: [NOT SOLVED IN 1.6-Stable][1.6-rc] email module - notifications not sent
« Reply #2 on: December 09, 2009, 08:51:01 am »
I am getting contradictory results from the Tools panel.

-"Test mail settings" pops up an error:
Error: Form submission failed

-However, "Mass mailer" effectively sends the message through.
Success: Email has been sent.

-Automatic notifications do not work at all.

We realy email through Google Apps, port 465, SSL. Until versionj 1.5.3 of oGoo there have been no issues.
« Last Edit: December 09, 2009, 09:00:02 am by Nuno Zimas »
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: [NOT SOLVED IN 1.6-Stable][1.6-rc] email module - notifications not sent
« Reply #3 on: December 09, 2009, 11:00:58 am »
Hi Nuno,

I just tried my Gmail account and it was not working, but I was having a different error (Authentication failed). I solved it by following the instructions here.

Try adding a constant to your 'config/config.php' like this:

Code: [Select]
define('LOG_SWIFT', true);
Then try the "Test mail settings" and then check the 'cache/log.php' file and see if you get any Swift error messages.

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: [NOT SOLVED IN 1.6-Stable][1.6-rc] email module - notifications not sent
« Reply #4 on: December 09, 2009, 11:30:15 am »
Code: [Select]
Session "default" started at 2009-12-09T11:52:58+0000
#1 DEBUG: [Encoding Conversion Error] Msg: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string in '/opengoo.bittingbits.com/opengoo/environment/classes/mail/MailUtilities.class.php' on line 239 (error code: 8)
Time since start: 3.16791510582 seconds
-------------------------------------------------------------------------------

Session "default" started at 2009-12-09T13:12:42+0000
#1 ERROR: Error: Undefined offset:  2 in '/opengoo/environment/classes/mail/mime_parser.class.php' on line 1740 (error code: 8)
Time since start: 3.84819197655 seconds

The second error message should be the one relefvant to this case, i guess.

I believe i have no authentication issues, otherwise i would not be able to send massive mails.
« Last Edit: December 09, 2009, 11:34:12 am by Nuno Zimas »
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: [NOT SOLVED IN 1.6-Stable][1.6-rc] email module - notifications not sent
« Reply #5 on: December 09, 2009, 11:51:36 am »
I think neither of those error messages have anything to do.

Are you putting a valid email address in the first field of the "Test mail setting" form? I just tried with an invalid email address and got the "Form submission failed" error message.

If notifications are not working check if you have configured to send notifications through cron in "Administration" / "Cron events" and make sure that the cron is working.

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
[NOT A BUG][1.6-rc] email module - notifications not sent
« Reply #6 on: December 09, 2009, 12:25:36 pm »
Have figured it out at last.
I had no cronjob set up, but the notifications setting was set to trigger sending through a cron job.
Now i have a proper conjob in place.
oGoo shines again in fully glory!
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC