I have the Simplenews module (7.x-1.0-beta2) installed in my Drupal 7.12.

All function well, but after send one newsletter node to all subscribers I recive too much mails with this error:

A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.

------ This is a copy of your message, including all the headers. ------

To:
Subject: [Cursos i tallers] Curs d'autobiografia, Barcelona
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="dcb4c641cc11b46e591f06106ea2a24f"
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: =?UTF-8?B?IlRyaXZpdW0gZ2VzdGnDsyBjdWx0dXJhbCIgPGluZm9AdHJpdml1bWdjLmNvbT4=?=
From: =?UTF-8?B?IlRyaXZpdW0gZ2VzdGnDsyBjdWx0dXJhbCIgPGluZm9AdHJpdml1bWdjLmNvbT4=?=
From: =?UTF-8?B?IlRyaXZpdW0gZ2VzdGnDsyBjdWx0dXJhbCIgPGluZm9AdHJpdml1bWdjLmNvbT4=?=@cpanel.creactivitat.com
Precedence: bulk
Message-Id:
Date: Thu, 19 Apr 2012 18:53:57 +0200

This is a multi-part message in MIME format.

--dcb4c641cc11b46e591f06106ea2a24f
Content-Type: multipart/related;
type="multipart/alternative";
boundary="5ce9242ef5c7a4d1481b76f0b0155fbb"
Content-Transfer-Encoding: 8bit

--5ce9242ef5c7a4d1481b76f0b0155fbb
Content-Type: multipart/alternative;
boundary="18241d8d3aa39dd46b82f998fb422265"
Content-Transfer-Encoding: 8bit

--18241d8d3aa39dd46b82f998fb422265
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

And the otiginal node code...

I can't understand this error because all the subscribers have your email address.
Some idea?

CommentFileSizeAuthor
#6 simplenews.png41.59 KBlinuxbcn

Comments

linuxbcn’s picture

Project: Drupal core » Simplenews
Version: 7.12 » 7.x-1.0-beta2
Component: mail system » Miscellaneous
berdir’s picture

Status: Active » Postponed (maintainer needs more info)

Strange, this also looks weird:

Sender: =?UTF-8?B?IlRyaXZpdW0gZ2VzdGnDsyBjdWx0dXJhbCIgPGluZm9AdHJpdml1bWdjLmNvbT4=?=
From: =?UTF-8?B?IlRyaXZpdW0gZ2VzdGnDsyBjdWx0dXJhbCIgPGluZm9AdHJpdml1bWdjLmNvbT4=?=
From: =?UTF-8?B?IlRyaXZpdW0gZ2VzdGnDsyBjdWx0dXJhbCIgPGluZm9AdHJpdml1bWdjLmNvbT4=?=@cpanel.creactivitat.com

2x From *and* Sender.

Some things to check:

- After you send a newsletter (try making a separate category that only has a bunch of test subscribers), look at the simplenews_mail_spool table. are the mail-addresses listed there? (you need to enable send on cron to debug this if you haven't)
- Try it with Drupal's default mail engine instead of mime mail
- Try it using http://drupal.org/project/maillog, are the recipients displayed correctly in the debug output/log when using that moduel to send mails?

linuxbcn’s picture

Good ideas fot test and find the problem.

I created an new separate category with only 3 mails.
I look the simplenews_mail_spool in phpmyadmin and I see my 3 mails in here
I changed to default mail engine and try send a new simlenews node and Drupal print this error:

Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Notice: Trying to get property of non-object a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).
Warning: Invalid argument supplied for foreach() a alpha_invoke() (línia 99 de /home/triviumg/public_html/sites/all/themes/omega/alpha/includes/alpha.inc).

linuxbcn’s picture

If I send the simplenews node only for mail test direction don't print errors and I received the mail good

linuxbcn’s picture

The shipment, despite the errors, either to reach subscribers. I suspect, is just an intuition, that these mails are simply returned the "undelibered mails" but without reaching a correct format.

linuxbcn’s picture

StatusFileSize
new41.59 KB

Mail logo does not say anything.

I try to use http://drupal.org/project/maillog for debug the problem with the mail and this does not say nothing ;(

I install de module, configure the option "Simplenews module class" with "TestingMailSystem" and send an newsletter test. I go to the /admin/reports/maillog and can't see nothing ;(

See the screen shot for this problem

It is possible that SimpleNews has some limitations in the number of mails to send?

The problem persists and certain number of emails are returned to normal but a few others returned with the mysterious message that has returned to sender. I do not understand something, like if you can send a sender?

linuxbcn’s picture

Mail log in test list newsletter:

De:
"Trivium gestió cultural"
Per:
joan@lSERVERXXXX.XXX
Reply To:
Capçalera:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Return-Path: info@SERVERXXXX.XXX
Sender: info@SERVERXXXX.XXX
From: "NAME SENDER"
Precedence: bulk
Cos:

berdir’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'm closing old "postponed (maintainer needs more info)" issues that have not been updated. If you still experience issues or have more questions, feel free to either re-open this or create a new issue, possibly referencing this one.

If the mail is seen by Maillog, then this is very likely not a Simplenews issue. We're not involved in whatever happens after we call drupal_mail().