fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
134 stars 62 forks source link

Undefined variable: htmlBody (8) #218

Closed milch closed 9 years ago

milch commented 9 years ago

Hi,

I configured BackendIMAP to use SMTP to send mails. Unfortunately, I get the following errors in the log when sending an email:

05/08/2015 22:53:59 [    8] [WARN]  /var/www/z-push/backend/imap/imap.php:432 Undefined variable: htmlBody (8)
05/08/2015 22:53:59 [    8] [ERROR] BackendIMAP->saveSentMessage(): The email could not be saved to Sent Items folder. Check your configuration.

The Sent folder is set to the same value as in my dovecot configuration. Any ideas?

milch commented 9 years ago

I should add that the mails arrive at the recipient, but the content is empty.

fmbiete commented 9 years ago

Sorry, I left the wrong variable name after refactoring that function.

The referenced commit should fix it.