Also posted this same issue on the SMTP module support area (http://drupal.org/node/281599) and will update here if I get an answer there. Posting to both there and here for visibility.

Hi All,

I just installed 6.x-1.x-dev on my Drupal 6.3 site and got the Webforms and SMTP modules working. SMTP will send a test email to me fine, and I can build forms fine. But how do I get other Webforms to use SMTP. Specifically, I need to get the Webforms module to use SMTP, which is why I downloaded this module. It appears that the webforms module still uses the mail() function.

I have SMTP enabled in admin/build/modules, and it is turned on in settings/smtp.

Thanks in advance for your help.

Comments

quicksketch’s picture

I'd suspect that SMTP module could use drupal_mail_alter() to reroute all e-mails through SMTP, though I have no idea how SMTP module does it's business. Webform just sends e-mail the same as any other module in Drupal (like password resets or welcome e-mails), so I'm not sure what integration is necessary from the Webform side. Speaking that I don't use SMTP mail, let alone the module on a Drupal site, maintaining this for me could be quite a bit of trouble.

jcwatson11’s picture

UPDATE:

Okay, there were 2 solutions required for my situation. You can read about them here: http://drupal.org/node/281599

jcwatson11’s picture

Status: Active » Closed (won't fix)

Changing status to won't fix because no changes were necessary in the webform module to get this working right. Not sure if that's the right status. Let me know if it isn't.