Closed (works as designed)
Project:
Simplenews
Version:
6.x-2.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2011 at 20:09 UTC
Updated:
26 Jan 2012 at 06:04 UTC
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
Comment #1
simon georges commentedAre the standard Drupal mails sent (account creation, ...) ? Do you have something in your mail.log ?
Comment #2
alexandreracine commentedHi 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.
Comment #3
alexandreracine commentedThere 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.
Comment #4
simon georges commentedWhat are you using as SMTP setup? SMTP module? Postfix/Sendmail on your server?
Comment #5
alexandreracine commentedLet me get back to you, I'll recheck :)
Comment #6
simon georges commentedOk, just waiting to hear from you :)
Comment #7
alexandreracine commentedok, 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.
Comment #8
simon georges commentedHum... I'm starting to run out of ideas... Did you try sending it without using cron?
Comment #9
alexandreracine commentedmmmm, 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
Comment #10
simon georges commentedThey will indeed be sent right away. Would you be able to try with a smaller newsletter (with maybe only you as a subscriber)?
Comment #11
alexandreracine commentedok, 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.
Comment #12
alexandreracine commentedI did another test with the beta3 of simplenews with Mime mail activated, and I have the same problem.
Thanks.
Comment #13
miro_dietikerDid 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.
Comment #14
alexandreracine commentedCreated a new issue here : #1413568: 0 emails sent in 0.5 seconds, 100 failed sending.