Last updated November 19, 2012. Created by sbrattla on May 19, 2012.
Edited by a_thakur. Log in to edit this page.
Please go to 'admin/config/people/swiftmailer' to configure the Swift Mailer module.
The module requires you to download the Swift Mailer library separately to a directory of your choice (relative to the Drupal installation). However, it is advised that libraries are kept in the 'sites/all/libraries' directory. If you keep the Swift Mailer library in 'sites/all/libraries/swiftmailer', then you need to configure the module to look for the Swift Mailer library in that directory.
After the module has been configured with the Swift Mailer library you are advised to make sure that the Swift Mailer library sends e-mails using the right transport option. You can choose between SMTP, sendmail (or any other locally installed MTA) and PHP's mail() function. Please observe the various configuration options which are available for each of the transport options.
Tip! You are advised to configure Swift Mailer to send e-mails using a locally installed MTA if performance is a concern. A locally installed MTA will most often accept e-mails right away and queue them up for sending. Your users will thus not have to wait for an SMTP server to respond back with whether the e-mail will be sent or for some reason was rejected.
You also have the chance to decide whether e-mail messages should be sent as plain text or HTML by default. Swift Mailer will also, if configured, respect any e-mail format dictated by the e-mail. Furthermore, you can also configure the character set which is to be used as default. You are advised not to change any of these options if you are uncertain about what they mean.
Finally, you can test whether the Swift Mailer library sends e-mail messages correctly when the module has been configured and you are ready to put it into action.