Hi,
I have following warnings after cron run:
# warning: Missing argument 2 for variable_get(), called in /var/www/mysite/sites/all/modules/bounced_email/bounced_email.module on line 290 and defined in /var/www/mysite/includes/bootstrap.inc on line 502.
# warning: imap_fetchheader() [function.imap-fetchheader]: Bad message number in /var/www/mysite/sites/all/modules/bounced_email/bounced_email.module on line 199.
# warning: imap_headerinfo() [function.imap-headerinfo]: Bad message number in /var/www/mysite/sites/all/modules/bounced_email/bounced_email.module on line 200.
# warning: imap_body() [function.imap-body]: Bad message number in /var/www/mysite/sites/all/modules/bounced_email/bounced_email.module on line 201.
I have following settings:
Connection Type: POP
Mailbox Host: pop.yandex.ru
Mailbox Port: 110/pop3
Extra commands:
Bounce Mailbox: email
Mailbox Username: usrname
Mailbox Password: password
I see it connects ok. It even tries to process first bounced email, cause I see it in "deleted" folder in my webmail after cron run.
But bounced_email_* tables is empty.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | cron-warnings-770994-7.patch | 702 bytes | kevin.dutra |
Comments
Comment #1
dealancer commentedI've found the source of warnings.
On line 289 you could see code
1. $configuration is not declared, so $message_count is set to 100 in my case.
2. variable_get('bounce_max_process'); is not correct, so code should be replaced on this
Comment #2
dealancer commentedI've found one more issue.
It would be nice if you grant me access to the CVS.
Thanks.
Comment #3
robert castelo commentedHi dealancer, please add patches to issues if you have code to fix bugs or add features.
Only include code for the particular bug/feature in each patch so that they are easy to review and commit.
http://drupal.org/patch
I'll look at this issue early next week.
Comment #4
robert castelo commentedThanks, fixed in 6.x-2.1.
Comment #6
kevin.dutra commentedThis still occurs. It will present itself anytime the number of messages exceeds the setting for maximum number to process.
Also, FWIW, it's confusing that your Git dev branch is labeled 1.x when the current module version is 2.1.
Comment #7
kevin.dutra commented