With Simplenews 5x-1.5, most newsletters are not being sent out. They are html. There are 3 errors that are repeated for apparently every email address when trying to send a newsletter out:

This sounds like a SimpleNews message:

Type	newsletter
Date	Friday, April 3, 2009 - 01:10
User	Anonymous
Location	http://(xxx)
Referrer	
Message	Newsletter (xxx) could not be sent to (xxx).
Severity	error
Hostname	(xxx)

Will try reuploading Mimemail after seeing this:

Type	php
Date	Friday, April 3, 2009 - 01:10
User	Anonymous
Location	http://(xxx)
Referrer	
Message	file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Filename cannot be empty in /home2/(xxx)/public_html/sites/all/modules/mimemail/mimemail.module on line 398.
Severity	error
Hostname	(xxx)

What does 'notice' mean? Certainly doesn't sound like it went through.

Type	simplenews
Date	Friday, April 3, 2009 - 01:10
User	Anonymous
Location	http://(xxx)
Referrer	
Message	Outgoing email via mimemail.
Subject: (xxx)
Recipient: (xxx)
Severity	notice
Hostname	(xxx)

Any tips on how to resolve this would be greatly appreciated. The client's host increased their php memory limit just in case that was an issue.

Comments

folkertdv’s picture

Type php
Date Friday, April 3, 2009 - 01:10
User Anonymous
Location http://(xxx)
Referrer
Message file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Filename cannot be empty in /home2/(xxx)/public_html/sites/all/modules/mimemail/mimemail.module on line 398.
Severity error
Hostname (xxx)

On this line, referenced css files are loaded and included. If you have a line in your template stating where to find a CSS file, make sure there are no newlines in that line (maybe unnoticed because of line wrapping).

Bricks and Clicks Marketing’s picture

The client sent a test Simplenews newsletter to 5 recipients yesterday and that error showed up in the log 5 times. I was one of the recipients and received the newsletter.

What I have in the theme is the php to call styles for Drupal print $styles and css files are not being aggregated/compressed (which I'm turning on now to see if it changes anything). I don't see any new lines at all. There is a line with some js scripts together (Drupal extend), but there does not seem to be a newline in it at all.

If it would be helpful to see the outputted html, the site is www.aocfinewines.com

AlenaSystems’s picture

sutharsan’s picture

Status: Active » Fixed

In the current 5.x-1.x-dev version this problem should be fixed (see changes in mimemail.module rev 1.14.2.9)

sutharsan’s picture

#425436: Mimemail not sending with SimpleNews is now fixed, with the current 5.x-1.x-dev this issue is fixed too.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.