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

karing’s picture

Do 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?

arekanderu’s picture

Hi 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)

arekanderu’s picture

I 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.

karing’s picture

Status: Active » Closed (works as designed)

Excellent - 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.

arekanderu’s picture

I will, thanks for the info