Closed (works as designed)
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2012 at 16:49 UTC
Updated:
29 May 2012 at 21:14 UTC
Hello,
I just run cron which had 1 pending update and i got the following notice:
Notice: Undefined offset: 0 in subscriptions_mail_digest_add_item() (line 224 of sites/all/modules/subscriptions/subscriptions_mail.cron.inc).
Along with the notice i also got "Unable to send email" error.
I use two extra modules to handle email in my drupal installation and these are http://drupal.org/project/mailsystem and http://drupal.org/project/smtp.
All the other mail functionality in site works correctly.
Comments
Comment #1
karingDo you have Mail Editor [http://drupal.org/project/mail_edit] installed and configured (otherwise you get empty emails)? Token [http://drupal.org/project/token] is also required. Which 7.x-1.x-dev version are you using?
Comment #2
arekanderu commentedHi Karin,
Yes, Mail Edit and Token modules are installed. I also checked Mail Edit settings as well and the templates are all there for the content types I am interested in. I do not receive an empty email; the email is not sent at all!
I am using version 7.x-1.0-beta3+15-dev (copy pasted from the .info file)
Comment #3
arekanderu commentedI found the problem.
Since i am using Mail System module I needed to switch the default mail method for all modules (which was drupal default) to my SMTP Interface.
Maybe you should check it out in order to export settings from Subscriptions to that module in case someone needs it.
Comment #4
karingExcellent - you worked it out. Thanks for reporting back.
PS - you may want to upgrade to the latest D7 dev version. There have been a few recent bug fixes/updates.
Comment #5
arekanderu commentedI will, thanks for the info