Configure Swift Mailer

Replaced by: Symfony Mailer

A new mail-system based on the popular Symfony Mailer giving full support of HTML mails, file attachments, embedded images, 3rd-party delivery integrations, load-balancing/failover, signing/encryption, async sending and more. Other libraries add capability for CSS inlining and HTML to text conversion.

This module provides a deep integration into Drupal mechanisms, including theme/template/render, multi-language, CSS libraries, configuration, plug-ins, hooks, and logging.

Warning: the swiftmailer library is no longer maintained and so this module is obsolete. It has not yet been marked unsupported, but that could change at any time due to discovery of a security bug or on advice of the Drupal Security Team.

A new module Symfony Mailer is under development, and has a reasonable alpha release. Help with testing or development is welcome.

Add an SMTP Module Specific Configuration for Swift Mailer

Navigate to Administration \ Configuration \ System \ Maile System

To access the Configure the Mail System on the site settings page

  • Select the theme to render the emails with

  • Select Swift Mailer from the modules

  • Provide a key that is used to identify specific emails if the module sends more than one. Leave empty to use the configuration for all mails sent by the selected module.

  • Select Swift Mailer from the Formatter plugins

  • Select Swift Mailer from the Sender plugins

  • Press the Add button to add the Swift Mailer module

Set the Email Logo for Swift Mailer Template

Vartheme BS4, and Vartheme BS5 provide theme settings for emails

Creating Your Own Theme

Navigate to Administration \ Appearance \ Appearance settings \ a Custom Sub Theme of Vartheme

The Email Logo custom theme settings can be filled as desired

The provided Email Logo will feed the Swift Mailer template with the selected logo, which will be linked in the email.

Last updated