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

robert castelo’s picture

Hi, 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.

noid’s picture

Thanks 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. :)

robert castelo’s picture

Noid, 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?

robert castelo’s picture

Status: Active » Closed (fixed)

Try the Drupal 5 version, Drupal 4.x no longer supported.