Community Documentation

Swift Mailer

Last updated May 19, 2012. Created by sbrattla on May 19, 2012.
Log in to edit this page.

The Swift Mailer module extends the basic e-mail sending functionality provided by Drupal by delegating all e-mail handling to the Swift Mailer library. This enables your site to take advantage of the many features which the Swift Mailer library provides, such as :

  • Support for sending e-mails directly through a SMTP server of your choice, a locally installed MTA agent such as sendmail or the mail functionality provided by PHP.
  • Support for HTML e-mails.
  • Support for file attachments.
  • Support for inline images.

The module also lets you theme e-mails so that they reflect the general look and feel of your site and at the same time appear correctly in various e-mail browsers. Images required by the theme can be attached to the e-mail and displayed inline.

The Swift Mailer module depends on the mailsystem module. This module is responsible for actually making the Swift Mailer module available to Drupal.

Page status

About this page

Drupal version
Drupal 7.x
Level
Beginner
Audience
Designers/themers, Programmers, Site builders

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.