You are browsing documentation for version 5.0 of OroCommerce, OroCRM, and OroPlatform, maintained until August 2024 and supported until March 2026. See version 5.1 (the latest LTS version) of the Oro documentation for information on latest features.
See our Release Process documentation for more information on the currently supported and upcoming releases.
OroEmailBundle introduces a mailer transport with the
oro://system-config DSN that is responsible for sending
email messages via either SMTP settings taken from System > Configuration > System Configuration > General Setup > Email Configuration
or DSN specified in the fallback parameter (e.g.,
oro://system-config?fallback=native://default) if the SMTP settings
from the System Configuration are not eligible.
oro://system-config should be at the top of the list in the framework.mailer.transports configuration section to be used as default.
Using Another Transport
To use another mailer transport to send an email message:
- Ensure that the required transport is defined in the framework.mailer.transports configuration section.
- Add the email message to the X-Transport header with the name of the transport required for sending. See Multiple Email Transports for more information.