Hi Robert,
Can SMTP support be implemented for Enewsletter? The mailing functions of my host -- shared hosting -- (or is it just Drupal?) are not really reliable. (Had problems with the sending of confirmation mail and passwords in the past, but since I installed the SMTP module, sending of mail has been working without a hitch. Also, when I tested your module again, I did not get your newsletter. Hopefully, sending via SMTP can solve this.)
Thanks!
Comments
Comment #1
robert castelo commentedHi, it's possible - in enewsletter_send_receive.inc look at function enewsletter_send_email(). You could replace mail() with a custom function to support SMTP. Also please add in a checkbox on the configuration page to enable/disable SMTP sending.
Comment #2
noid commentedThanks for your prompt reply, Robert. I was hoping you could help me with this one since I'm really not programmer, at least an advanced one. :)
Comment #3
robert castelo commentedNoid, enewsletter module uses the php function mail() to send emails, which should work out of the box with SMTP
http://uk2.php.net/manual/en/ref.mail.php
Are you getting any error messages?
Comment #4
robert castelo commentedTry the Drupal 5 version, Drupal 4.x no longer supported.