I've been battling this for days now and am at a loss, hopefully someone can offer some insight.

Scope:
Simplenews: 6.x-1.0-rc6
Mimemail: 6.x-1.x-dev

When I assign the newsletter and try to send it (via real or test) I get the following error in the log and the email is never sent out: "Outgoing email failed. Message type: node"

If I leave the newsletter set as "- None selected -", I am able to send out a test just fine.

I'm not sure which model is causing the error though because it works fine without mimemail, but as I said, I can send a test out from simplenews with mimemail enabled when I don't select a specific newsletter.

If I need to provide further information, please let me know.

Thank you in advance for your help!

Comments

Nick Lapp’s picture

Project: Drupal core » Simplenews
Version: 6.12 » 6.x-1.0-rc6
Component: other » Code
gafitescu’s picture

I have the same problem. Have you fix it? If so ...please post the solution.

ñull’s picture

subscribing. I tried this almost a year ago with errors. Now the same. mime and simplenews is not simple.

Nick Lapp’s picture

The latest release of mimemail has fixed it for me...

Nick Lapp’s picture

Status: Active » Fixed
cmlindstrom’s picture

We've been banging on this for a few long nights now - we have

Mime Mail v 6.x-1.x-dev
SMTP Authentication Support v6.x-1.x-dev
SimpleNews v6.x-1.0-rc6

And we're still getting the error:

Outgoing email failed. Message type: test
Subject: [Unassigned newsletter] June 2009
Recipient: xxxx Sent via Mime Mail
Severity: error

Everytime the mail() function in the MimeMail module is called it returns 'false'

It works fine with Mime Mail disabled.

-------- Update (after 3 more hours of debug)

Turns out that Mime Mail calls the PHP mail function, since we're not using the built in UNIX sendmail, we needed to configure the PHP.ini file to point at the 'right' mail transfer agent. Once we did that everything worked fine.

A little strange considering the documentation seems to declare a hard dependency on the SMTP module, so we thought specifying the mail server there would be enough. Guess not.

Nick Lapp’s picture

Status: Fixed » Needs review

Thanks for the information cmlindstrom. Unfortunately the issue I originally posted has returned even though no changes have been made to my site configuration or the module versions installed. Could you perhaps provide a detailed example of what you did to resolve the issue?

encho’s picture

Yes, please, what are your php.ini settings?

ctrlchar’s picture

I'm having the same issue. I can send mail from one newsletter but unable to send from another newsletter. The problem is, the newsletter I cannot send from is my production newsletter.
Thanks,
-Drew

ctrlchar’s picture

I was able to resolve my issue. I exported my subscribers, removed the newsletter, re-added a newsletter with a different name and bulk imported my subscribers.
Thanks,
-Drew

sutharsan’s picture

Priority: Critical » Normal
Status: Needs review » Active

Changing status and priority.

jason.frazier’s picture

I'm having the same issue:

Email sent through contact form: works
Email sent through SimpleNews: doesn't work

Tried sending plain text instead of using Mimemail: doesn't work

using latest versions of all modules and core

has anyone worked this one out yet?

jason.frazier’s picture

Used subscribe block to add email via anonymous user: works, receive email containing link to subscribe.

Try to send newsletter again: doesn't work. No emails received.

Option to send immediately is set, i.e. not using cron.

sutharsan’s picture

Try sending with Mime Mail _disabled_

jason.frazier’s picture

Tried disabling Mimemail module: works!!

enabled Mimemail and switched Simplenews to plain text: also works!!

Looks like it's definitely a bug in the Mimemail module...checking Mimemail's queue...

sutharsan’s picture

Status: Active » Closed (fixed)

This is no longer a simplenews issue. Closing.

iamreavis’s picture

This worked for me as well: Export users, delete old newsletter and add a new one, resubscribing all the old users. Good luck!

Catx’s picture

Status: Closed (fixed) » Active

Same issue. My newsletter work fine with mime alpha. But many discuss here about mime dev. So i install this. Now error error. Function include once .

sutharsan’s picture

Status: Active » Fixed

Catx, if your error is caused by Mime Mail, please check-out that issue queue or create an issue there if you are the first to report.

If you are convinced the issue is caused by Mime Mail, re-open this issue and provide more detail.

Status: Fixed » Closed (fixed)

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

chapuramos’s picture

I have the same problem, but I am using

- drupal-6.16.tar.gz
- mimemail-6.x-1.0-alpha2.tar.gz
- simplenews-6.x-1.1.tar.gz

Thanks

Jonasvh’s picture

Status: Closed (fixed) » Active

also the same problem and nothing helps

simon georges’s picture

Status: Active » Fixed

Again, try with the latest version of every module (mimemail especially). As nobody else has come to bump this issue, I'll set it to fixed, please reopen if you still have issues.

Status: Fixed » Closed (fixed)

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

sturi’s picture

Hi,

I had the same problem! After a lot of test I understood that the issue was in the object of the email: Mimemail (in my case) don't accept accented characters as è à ò ì.

I hope that it can be useful!

quotientix’s picture

I'm experiencing the same problem and tried pretty much everything, every MIME-Mail version, setting, etc. Nothing did work.

Here's how i finally got HTML-Mails to work:

  • Installed phpmailer
  • Uninstalled MIME-Mail once and for all
  • installed http://drupal.org/project/htmlmail
  • Set HTMLMail as default: /admin/settings/mailsystem
  • Finally HTML-Mails are working...

one last thing: it seems as if the Simplenews-sender and the Drupal-config-mail-address needed to be the same on my server to successfully send the mails!