Skip to main content
3 votes

How to send email from Craft 4 custom plugin/module?

You can do something like this $view = Craft::$app->getView(); $email = '[email protected]' $subject = $view->renderString($messageSubject, $...
aodihis's user avatar
  • 801
2 votes

Use Office365/Azure to send emails

I have no out of the box solution, but maybe you could use and customize it, and get some code-ideas from Another ...
ruedimentaer's user avatar
2 votes

Configuring Craft 3 with Sparkpost - SMTP - email errors

Without any logs it's tricky to know where the issue is, have you confirmed that outbound SMTP ports 25, 465, 587 are open to send email? Are you running this on your local development environment or ...
James White's user avatar
  • 1,171
2 votes

SetReturnPath not successfully bouncing emails back

Postmark overrides the Return-Path header in your email with their own address ([email protected], by default). This is how Postmark can keep track of bounces etc. It's possible to use a custom ...
Mats Mikkel Rummelhoff's user avatar
1 vote

Craft CMS Docker Environment Variables for SMTP

The official Craft CMS Docker images do not have particular support for the environment variables you mentioned, or variables for any other Craft config settings for that matter. My guess is wherever ...
Jalen Davenport's user avatar
  • 3,045

Only top scored, non community-wiki answers of a minimum length are eligible