Author Topic: Bug Found: unable to send email reminder if company's email is not set  (Read 3510 times)

snakewa

  • Newbie
  • *
  • Posts: 9
    • View Profile
Hi Guys,

There are some related topics about unable to send email reminder but mass mailer works fine.

The cron job's log* shows that there are how many reminder had been sent but you could not receive any of them.

Since the reminder email's sender address will be company's email address. I found that if you didn't set your company's email, the mailer will use an incorrect mail address format ( "ABC Company <>" , because you didn't set the company's email, supposed to be sth like "ABC Company<info@abc.com>" ).

Then the smtp will terminate the session. ( Yes... I tried to log the network packet and see the mail body, I saw that smtp terminate the session).

So the solution is :
Remind to put your company's email in Owner company.

But I think opengoo should handle this case, possible way to do:
1. put a dummy email if the company's email is not set.
2. fix the mailing library that it should return error if the smtp terminate the session.

By the way, my opengoo version will be 1.52

Some related topics:
http://forums.opengoo.org/index.php?topic=1945.0

* sample cront log:
2009-08-14 05:06:02 - Sending reminders...
2009-08-14 05:06:10 - 3 reminders sent.          <-- but you never receive those reminders
2009-08-14 05:09:01 - Sending reminders...
2009-08-14 05:09:02 - 0 reminders sent.

« Last Edit: August 17, 2009, 12:03:36 am by snakewa »

Pet

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 638
  • Always mining for solutions!
    • View Profile
    • The Bet!
Re: Bug Found: unable to send email reminder if company's email is not set
« Reply #1 on: August 17, 2009, 01:20:52 am »
nice find snakewa
Support OpenGoo - Sponsor a Feature! | Follow me on Twitter | OG Support Chat | Did you turn debugging on?

Xenomorph

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: Bug Found: unable to send email reminder if company's email is not set
« Reply #2 on: August 17, 2009, 05:20:47 pm »
Thanks for posting this. I filled in the company email and now reminders are working.



ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Bug Found: unable to send email reminder if company's email is not set
« Reply #3 on: August 24, 2009, 12:04:08 pm »
Great! Thanks a lot!