Simplenews & Mimemail - Outgoing email failed.

Nick Lapp - May 23, 2009 - 06:43
Project:Simplenews
Version:6.x-1.0-rc6
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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!

#1

Nick Lapp - May 23, 2009 - 18:36
Project:Drupal» Simplenews
Version:6.12» 6.x-1.0-rc6
Component:other» Code

#2

gafitescu - June 2, 2009 - 08:02

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

#3

com2 - June 4, 2009 - 17:23

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

#4

Nick Lapp - June 10, 2009 - 01:03

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

#5

Nick Lapp - June 10, 2009 - 01:13
Status:active» fixed

#6

cmlindstrom - June 17, 2009 - 05:58

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.

#7

Nick Lapp - June 24, 2009 - 04:53
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?

#8

encho - June 29, 2009 - 15:21

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

#9

ctrlchar - August 8, 2009 - 20:53

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

#10

ctrlchar - August 10, 2009 - 02:35

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

#11

Sutharsan - August 10, 2009 - 07:35
Priority:critical» normal
Status:needs review» active

Changing status and priority.

#12

quasar333666 - August 28, 2009 - 07:22

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?

#13

quasar333666 - August 28, 2009 - 07:29

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.

#14

Sutharsan - August 28, 2009 - 08:47

Try sending with Mime Mail _disabled_

#15

quasar333666 - August 28, 2009 - 17:42

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

#16

Sutharsan - September 11, 2009 - 09:19
Status:active» closed

This is no longer a simplenews issue. Closing.

#17

iamreavis - October 8, 2009 - 19:27

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

 
 

Drupal is a registered trademark of Dries Buytaert.