Author Topic: [1.5.2] Email not appearing in inbox + user update bug  (Read 1578 times)

Syrion

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Studio Krater v.o.f.
[1.5.2] Email not appearing in inbox + user update bug
« on: August 28, 2009, 12:16:01 AM »
I'm able to retrieve mail from the server (at least, that's what the notification sais), but they don't show up in the inbox of the mail-application.

I've checked the e-mail tab with seperate and all projects selected at the left side, but no luck so far. Did I forgot to configure something?

Dor the record, the mail-account is being checked from multiple computers with keeping the messages on the server, so I know which mails I should get. Oh, and the email uses the POP-protocol.

Edit: Sent mail isn't stored either.
Edit 2: Enabled debugging, see output of encountered bugs so far.


Quote
Session "default" started at 2009-08-28T03:32:26+0000
#1 ERROR: Error: Array to string conversion in '/<snip>/environment/classes/mail/MailUtilities.class.php' on line 367 (error code: 8)
Time since start: 10.5431029797 seconds
-------------------------------------------------------------------------------

Session "default" started at 2009-08-28T03:42:16+0000
#1 ERROR: Error: Undefined variable: field_tab in '/<snip>/application/views/project/add_ws_permissions.php' on line 25 (error code: 8)
Time since start: 0.701248884201 seconds
« Last Edit: August 28, 2009, 01:16:26 AM by Syrion »

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: [1.5.2] Email not appearing in inbox + user update bug
« Reply #1 on: August 28, 2009, 02:59:05 PM »
Hi,
to fix the issue when sending mails, you can replace line 367 of /environment/classes/mail/MailUtilities.class.php with this code
Code: [Select]
if (is_array($v)) {
if (isset($v[1]) && trim($v[1]) == '') unset($to[$k]);
}
else if (trim($v) == '') unset($to[$k]);

About the received mails that not appear in inbox, they can be sent mails, so in that case they will appear in the sent box. If not, please tell us.

regards

 

anything