Using smtp

KarenS - June 1, 2006 - 13:58
Project:Mime Mail
Version:HEAD
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:by design
Description

Is there any way to use smtp with mimemail? I see in the code something about a provision for alternate mail engines, but can't figure out what it would take to use the smtp module as the engine, or if there is any other way to set this up for authenticated smtp.

#1

Allie Micka - June 1, 2006 - 15:03
Status:active» by design

Have a look at the mimemail_mailengine() in mimemail.module. You will want to copy this function into the smtp module ( smtp_mailengine() ? ). In particular, you want to edit the cases for 'single' and 'multiple' so that they use smtp's connection code instead of mail().

You should be able to establish settings for the smtp server, credentials, etc. by using the 'settings' op. I have verified that you can use alternate backends, but this has not been fully-tested. Please file issues if you find them!

 
 

Drupal is a registered trademark of Dries Buytaert.