Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Drupal Symfony Mailer #85

Open
elgandoz opened this issue Oct 19, 2023 · 0 comments
Open

Support Drupal Symfony Mailer #85

elgandoz opened this issue Oct 19, 2023 · 0 comments

Comments

@elgandoz
Copy link
Contributor

elgandoz commented Oct 19, 2023

What in this template can be improved or added as a feature?

The Drupal Symfony Mailer module has become the de-facto solution for managing HTML emails in Drupal 10, and there are ongoing discussions about incorporating Symfony Mailer into Drupal core (Issue #3380476).
To align with this shift, I suggest adding the necessary configuration adjustments to the Drupal 10 Platform.sh template, in order to support this otherwise required configuration.

What exactly should be updated?

Add a custom command for the configuration mailer_sendmail_commands.
The command will be taken by the sendmail_path in the ini file from the platform.

$settings['mailer_sendmail_commands'] = [
  ini_get('sendmail_path'),
];

See more:
https://www.drupal.org/docs/contributed-modules/drupal-symfony-mailer/getting-started#s-platformsh

NB: The documentation suggest to add the parameters -t -i, but I noticed those are already inherited by the ini variable, hence they're not necessary.

How important is this feature to you?

Not too important, it can be easily added in each own build, but it took a moment to resolve this specific issue and I hope it could simplify the life for someone else using this module, which I believe is very likely.

Additional context

Screenshot 2023-10-19 at 11 04 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant