Hi, I am getting the following message in the Drupal report log.

I don't really know where to search first!

This is on Ubuntu 10.04 LTS
Drupal 6.22
PHP 5.3.2
Mime Mail 6.x-1.0-beta2
Simplenews 6.x-2.0-alpha2

I don't use MimeMail / HTMLMail / SMTP / PHPMailer

Thanks.

Comments

simon georges’s picture

Are the standard Drupal mails sent (account creation, ...) ? Do you have something in your mail.log ?

alexandreracine’s picture

Hi Simon, thanks for follow up with me.

Yes normal contact email works. I just did a test to contacts, and I have some activities in the mail.log file (I get a SPF error, but I'll work on that, my bad).

Nevertheless, I just created a new simplenews newsletter with only my email, test that and got the same error with nothing in the mail.log file.

Looking up the error in the drupal report, I get this...

Type simplenews
Date mardi, 11 octobre, 2011 - 11:31
Utilisateur Inconnu (unknown, I just ran cron.php)
Emplacement ((my domain))/cron.php (I just don't want bots to hack this ;)
Référent
Message 0 emails sent in 0 seconds, 1 failed sending.
Importance remarque (information)
Nom d'hôte my current public IP here.
Opérations (this is empty)

Let me know what you think. Thanks.

alexandreracine’s picture

There is another thing that I see (let me know if I need to create another issue for this)
Looking up the mail.log file, I see MAIL FROM:www-data@mydomain.com but in the Simplenews config, I configured it with publications@mydomain.com. I know that the user www-data is Apache running on my webserver.

simon georges’s picture

What are you using as SMTP setup? SMTP module? Postfix/Sendmail on your server?

alexandreracine’s picture

Let me get back to you, I'll recheck :)

simon georges’s picture

Status: Active » Postponed (maintainer needs more info)

Ok, just waiting to hear from you :)

alexandreracine’s picture

ok, so I am using postfix/sendmail.

Let's say I am doing a "sendmail alexandreracine@gmail.com < testemail.txt" , it is working great.
So on the Linux part, it's working fine.

I created a new user with the email you see here, got the confirmation email, sent a test from another user, working great.

What now? Thanks.

simon georges’s picture

Status: Postponed (maintainer needs more info) » Active

Hum... I'm starting to run out of ideas... Did you try sending it without using cron?

alexandreracine’s picture

mmmm, if I don't use cron, how do I send the messages? They will all be sent right away? I am asking since it will be a test of 800 emails...
Thanks

simon georges’s picture

They will indeed be sent right away. Would you be able to try with a smaller newsletter (with maybe only you as a subscriber)?

alexandreracine’s picture

ok, so I created a test bulletin with two emails, unchecked the use of cron, then created a new node simplenews and sent it. This was in the error logs...

Outgoing email failed. Message type: node
Subject: [test-ne pas utiliser] essaie de courriel en direst sans cron
Recipient: alexandreracine@gmail.com Sent via Mime Mail

Nothing in mail.log ...

I updated Mime Mail to the latest... same error. Maybe Mime Mail is the problem?

I deactivated Mime Mail, try it again and... it works!

Ok so Mime Mail seems to be the problem (but now the bulletin looks not to great without html). Can you work it out or should I create an issues in their queue?

Thanks.

alexandreracine’s picture

I did another test with the beta3 of simplenews with Mime mail activated, and I have the same problem.
Thanks.

miro_dietiker’s picture

Status: Active » Closed (works as designed)

Did you also check mail.error file?

A failing send is now either an issue in mimemail ... or a webhosting issue.
Please move this issue to the other queue and reopen it instead of duplicating it.
Generally, simplenews works as designed then.

alexandreracine’s picture