Email not sent via cron only manual cron
prokop1000 - October 1, 2009 - 11:02
| Project: | Simplenews |
| Version: | 6.x-1.0-rc6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I've updated drupal 5.x to 6.13, installed versions:
Drupal: Drupal 6.13
Simplenews: 6.x-1.0-rc6
Mime Mail: 6.x-1.x-dev (2009-june-08)
I get the following error if cron runs, but if I run manually, the email is sent whitout errors.
Outgoing email failed. Message type: node
Subject: *
Recipient: * Sent via Mime Mail
What could possible went wrong?

#1
Try sending 1 email per cron run, perhaps the mail server can't handle large batches. Increase batch size upon succes.
PHP does not report what went wrong when delivering an email to the mailserver. Check your server's mail log.
#2
it turned out that only administrator can send the mails. If normal user whit the perms of sending newsletter want to send it manually, it has the error as cron.
So only user->uid=1 can send the emails, either from cron or manually. Other users has error.