template:
parameter when dealing with multiple body sectionsSwiftmailer
(which has been deprecated) to Symfony/Mailer
, a more modern and extensible mailing library.SMTP
, SMTPS
, Sendmail
and Native
(uses best solution per-platform) enginesSendGrid
, MailJet
, etc.) with SMTP
, API
or HTTPS
transports for faster and more reliable email sendingname-addr
format (Joe Bloggs <user@example.com>
) and simple arrays ([user@example.com, Joe Bloggs]
)tags
and metadata
in Email::buildMessage()
onEmailEngines
and onEmailTransportDsn
to facilitate the integration of custom engines via pluginssendmail
as default engine to provide better fallback for unsupported mailer
optionREADME.md
Swiftmailer
(which has been deprecated) to Symfony/Mailer
, a more modern and extensible mailing library.SMTP
, SMTPS
, Sendmail
and Native
(uses best solution per-platform) enginesSendGrid
, MailJet
, etc.) with SMTP
, API
or HTTPS
transports for faster and more reliable email sendingname-addr
format (Joe Bloggs <user@example.com>
) and simple arrays ([user@example.com, Joe Bloggs]
)tags
and metadata
in Email::buildMessage()
onEmailEngines
and onEmailTransportDsn
to facilitate the integration of custom engines via pluginsv6.3.0
with PHP 8.1 compatibility #157Email::send()
to get failed recipientsonEmailMessage
event to make object available for editing #1506.2.5
base.html.twig
template to better support dark-mode clientstemplate:
in body arraytext/html
content type onlyInvalid resource theme://
on CLI command test-email
on Grav 1.6.21 and later versions #128email:
form processcontent
and footer
in email/base.html.twig
templateREADME.md
to reflect working setup for GMailtry/catch
around email attachments and log any errors rather than hard failtemplate:
to choose twig template option for email form processingbuildMessage()
and parseAddressValue()
to Email object and made publicEmailUtils::sendEmail()
to take an array of params or the old param listclear-queue-failures
CLI command to flush out failed sendsenvironment
option to flushqueue
CLI commanduser
and password
fields
mailtrap
hostnameonEmailSend()
event hook before sending #70logs/email.log
file when debug: true
sendmail
as mail
is deprecated and not functioning [swiftmailer#866](https://github.com/swiftmailer/swiftmailer/issues/866}from
in the configurationprocess_markdown
option for emails in formsUtils::sendEmail()
method to take the email type as an optionto
from email plugin config if not providedbin/plugin email test-email
CLI commandUtils
class from Login to Email pluginemail/base.html.twig
template for emailsstarttls
implementation, bundled in TLSstarttls
TTS
(but the value was correctly named tls
)from
or to
parameters setup, to intercept less meaningful errors and provide a better description on how to fix the problemcontent_type
to email.yamlREADME.md
mailer.default
to mailer.engine
enable
in admin