- Updated logging methods to support Monolog2+
-
- Update vendor libraries for Mailer to latest
5.4
versions - When you send an email you can use
Email::getLastSendMessage()
andEmail::getLastSendDebug()
methods to get information about the email processing.
- Update vendor libraries for Mailer to latest
-
- Simplified the
Email::processRecipients()
logic for readability
- Simplified the
-
- Fix an issue with 2 email addresses provided with 'just' email and no name #176
- Fix for blank subjectlines when using
Message::setSubject()
in Twig templates getgrav/grav-plugin-login#299
-
- some recipient handling improvements. e.g. missing
bcc_name
throwing error - Allow overriding of defaults with a form configuration. Use
null
to remove default email configuration
- some recipient handling improvements. e.g. missing
-
- Migrated from
Swiftmailer
(which has been deprecated) toSymfony/Mailer
, a more modern and extensible mailing library. - Built-in support for
SMTP
,SMTPS
,Sendmail
andNative
(uses best solution per-platform) engines - Added ability to have 3rd party plugins that provide new engines (e.g.
SendGrid
,MailJet
, etc.) withSMTP
,API
orHTTPS
transports for faster and more reliable email sending - More flexible options for email formatting including RFC822
name-addr
format (Joe Bloggs <[email protected]>
) and simple arrays ([[email protected], Joe Bloggs]
) - Support
tags
andmetadata
inEmail::buildMessage()
- Two new events
onEmailEngines
andonEmailTransportDsn
to facilitate the integration of custom engines via plugins
- Migrated from
-
- Fixed for multiple recipients #167
- Fix for simple array format with names which wasn't working
-
- Set
sendmail
as default engine to provide better fallback for unsupportedmailer
option - Added info about available engine plugins in
README.md
- Set
-
- Migrated from
Swiftmailer
(which has been deprecated) toSymfony/Mailer
, a more modern and extensible mailing library. - Built-in support for
SMTP
,SMTPS
,Sendmail
andNative
(uses best solution per-platform) engines - Added ability to have 3rd party plugins that provide new engines (e.g.
SendGrid
,MailJet
, etc.) withSMTP
,API
orHTTPS
transports for faster and more reliable email sending - More flexible options for email formatting including RFC822
name-addr
format (Joe Bloggs <[email protected]>
) and simple arrays ([[email protected], Joe Bloggs]
) - Support
tags
andmetadata
inEmail::buildMessage()
- Two new events
onEmailEngines
andonEmailTransportDsn
to facilitate the integration of custom engines via plugins
- Migrated from
-
- Require Grav 1.7.32 and Form 6.0.0
-
- Added access email message object inside the twig template file
-
- Fixed twig not being initialized when building an email message
-
- Updated to Swiftmailer
v6.3.0
with PHP 8.1 compatibility #157
- Updated to Swiftmailer
-
- Added new
onEmailMessage
event to make object available for editing #150
- Added new
-
- Tweaked default
base.html.twig
template to better support dark-mode clients - Latest vendor updates
- Tweaked default
-
- Add missing support for
template:
in body array - Added check to process markdown with
text/html
content type only
- Add missing support for
-
- Disable password autocomplete in password field
- Don't save empty string in password field #134
-
- Updated email validator library
-
- Fixed
Invalid resource theme://
on CLI commandtest-email
on Grav 1.6.21 and later versions #128
- Fixed
-
- Support an array of multiple emails in
email:
form process - Allow form values in email templates
- Support an array of multiple emails in
-
- Added Twig blocks for
content
andfooter
inemail/base.html.twig
template - Updated
README.md
to reflect working setup for GMail
- Added Twig blocks for
-
- Requires Form Plugin v3.0.3
- Added Russian translation #113
-
- Better fix for missing attachments when sending an email using a form form#333
-
- Put a
try/catch
around email attachments and log any errors rather than hard fail
- Put a
-
- Fixed missing attachments when sending an email using a form form#333
-
- Added new
template:
to choose twig template option for email form processing - Moved
buildMessage()
andparseAddressValue()
to Email object and made public - Refactored the
EmailUtils::sendEmail()
to take an array of params or the old param list - Switched to SwiftMailer v.6.1.3 (requires PHP7/Grav 1.6)
- SwiftMailer 6.x compatibility fixes
- Updated various translations
- Added support for Email Queue with Scheduler support
- Code cleanup, composer update
- Added a new
clear-queue-failures
CLI command to flush out failed sends
- Added new
-
- Added backlink for scheduler task
- Added support for
environment
option toflushqueue
CLI command - Fixed mailtrap hostname in README.md
- Disable autocomplete on SMTP
user
andpassword
fields
-
- Added new
onEmailSend()
event hook before sending #70
- Added new
-
- Added examples of setting up Email plugin with various SMTP providers
- Updated RU language #60
- Updated to SwiftMailer v5.4.8
-
- Now uses a dedicated
logs/email.log
file whendebug: true
- Improved the README.txt file with examples, and troubleshooting
- Changed default engine to
sendmail
asmail
is deprecated and not functioning [swiftmailer#866](https://github.com/swiftmailer/swiftmailer/issues/866}
- Now uses a dedicated
-
- Improved the error message when missing
from
in the configuration - Silently catch malformed email exceptions
- Improved the error message when missing
-
- Inherit options from plugin configuration #39
-
- Also process translation on the email subject getgrav/grav-plugin-comments#38
-
- Updated to SwiftMailer 5.4.5 #45
-
- Added a new
process_markdown
option for emails in forms
- Added a new
-
- Improved the
Utils::sendEmail()
method to take the email type as an option
- Improved the
-
- CLI command will fallback to use the
to
from email plugin config if not provided - Explicit Composer based class loader to fix issues with class case
- CLI command will fallback to use the
-
- Added a new
bin/plugin email test-email
CLI command
- Added a new
-
- Moved Email
Utils
class from Login to Email plugin - Provide a sample base
email/base.html.twig
template for emails
- Moved Email
-
- Fix handling attachments with the updated file upload field
-
- Added Russian translation
- Updated Swiftmailer to 5.4.3 #37
-
- Allow multiple email recipients (comma separated) #31
- Added Danish and Spanish translations
-
- Now includes Swiftmailer v5.4.2 which introduces a number of bug fixes and improvements
-
- Correct
starttls
implementation, bundled in TLS
- Correct
-
- Added debug option to enable logging on SwiftMailer.
- Updated SwiftMailer from v5.1.0 to v5.4.1.
- Added an option in the Admin settings to enable
starttls
-
- Correctly name TLS in the Admin settings, the label was
TTS
(but the value was correctly namedtls
)
- Correctly name TLS in the Admin settings, the label was
-
- Allow to send attachments in forms
- Added French translation
-
- Throw an exception when trying to send emails without a
from
orto
parameters setup, to intercept less meaningful errors and provide a better description on how to fix the problem - Changed SMTP password in admin to use a password field instead of plain text
- Throw an exception when trying to send emails without a
-
- Added missing
content_type
to email.yaml - Added default values for CC and BCC
- Added missing
-
- Improved documentation of new email params in
README.md
- Moved config setting of
mailer.default
tomailer.engine
- Improved documentation of new email params in