In the midst of changing over my drupal host machine, I noticed something broken. When I send an e-mail to a single user via the user contact form, it works fine and the user receives the e-mail. But when I create content of the type mail, the mail is not sent. Mail logs don't seem to tell me anything.

My setup is:
Apache 2.0.54
PHP 5.0.5
Mysql 4.1.12
All on Ubuntu Breezy Badger

My MTA (Postfix) appears to be running fine. php.ini sendmail_path='/usr/sbin/sendmail' as expected.

So the question is, what is the fundamental difference between sending in each way? What am I missing?

Comments

deekayen’s picture

Status: Active » Closed (fixed)

The individual contact form uses a drupal core mail function that utilize's PHP's mail() function. The mail module uses a third-party LGPL library that actually implements the SMTP protocol itself, which would bypass any mail system you have on your server (like sendmail). It should probably add some db log debug info as you note, but even better yet, it should probably just handle MIME and let drupal_mail() do the mailing.