SFCMAILER | Mime and Mailer components - Send mails

  • This half a day course relates to the Symfony 5 Master class, introducing to trainees Mime and Mailer components available since Symfony 4.3.
  • Prerequisites

    Good use of PHP, IDE (PHPStorm prefered) and Symfony. Required tools: PHP 7.2 or above, Composer, Symfony CLI.
  • Goals

    Mailer allows you to send complete, signed and encrypted emails, with a multitude of possibilities related to transports, options, and email views. This one will be followed by the Mime component, which extends emails, to offer a simple Twig integration, attachments or work with MIME types.

Full program

Introduction

Context

  • What is a mailer ?
  • What is a MIME type ?

Introducing Symfony Mime and Mailer components.

Write and send your first mail

Write your first message with Mime

Send your message with Mailer and catch it

Debugging emails

Improve your mail with Mime

Implement a Twig template

Add file attachments

Embedding images in the email content

Secure your email

Signing messages

Encrypting messages


  • Duration

    3 hour(s)
  • Level

    Intermediate
  • Available languages

    French, English
  • Available countries

    Worldwide

You are not available at this periods? We organize tailored training courses: contact us for more informations!