Questions tagged [emails]
Drupal core uses email for a number of important tasks, such as verifying authenticated users' email address.
1,409 questions
2
votes
1
answer
70
views
SMTP source_ip option
My server has multiple network interfaces (each with its own IP).
Due to the hosting provider's security policy, outgoing connections to SMTP (port 587) are only allowed from a specific IP address — ...
1
vote
0
answers
39
views
Why is there a [1] suffix after the email and why is the email output in the message field?
I'm setting up the field output for webform submissions sent as email - in admin/structure/webform/manage/contact/handlers/email_confirmation/edit
This is working but I don't understand what the [1] ...
2
votes
0
answers
32
views
Migration from SwiftMailer to Symfony Mailer Lite: renamed template works, but inline logo not showing
For one of the Drupal applications I maintain, I'm migrating from SwiftMailer to Symfony Mailer Lite.
Following the instructions on https://www.drupal.org/project/symfony_mailer_lite, I renamed the ...
1
vote
1
answer
65
views
How to create a custom Twig template for new user registration emails with a custom theme?
I'm working on a Drupal 10.4.6 site using a custom theme, and I need to customize the content and structure of the email sent to new users upon successful registration. Currently, the default Drupal ...
0
votes
0
answers
42
views
Why is adding a new policy in Drupal Symfony Mailer impossible?
I installed Drupal Symfony Mailer (version 1.5.0) and I try to convert one of my custom modules (amap) to use DSM to send emails.
I created 3 EmailBuilder plugins:
ForStupidsEmailBuilder
@...
0
votes
0
answers
40
views
Use ECA and BPMN.IO for sending email
I'm following a tutorial to learn how to use ECA, I would like to include it in my site (D10) to replace the rules module which apparently does almost nothing compared to d7.
When I have to insert the ...
0
votes
1
answer
111
views
Webform HTML emails are not being rendered as HTML
After updating to Drupal 10.4.3 (from 10.4.2) emails sent out by Webform started showing the HTML in the emails... The emails were working fine before this update.
The Headers of the Email seem fine:
...
0
votes
0
answers
37
views
Passing a variable to commerce order receipt mail
So I've made a custom module that generates a QR code with some data from order (payment amount and order ID mainly), that gives customers a way to scan bank transfer details into their banking apps, ...
0
votes
0
answers
23
views
Rename value "{empty]" to something else
I created a webform that sends a mail out with the string [webform_submission:values] which of course means all fields are sent out in the mail. Some fields are not required and may not be filled in ...
0
votes
0
answers
80
views
Mailer Interface is webprofiler wrapper instance?
I'm trying to write an email service (Drupal 10.3) to send emails with attachments from a website. I'm using dependency injection to get a mailer interface but it seems to inject the Drupal\...
2
votes
2
answers
264
views
Converting swiftmailer to symfony mailer
In a Drupal 10 project, I am trying to convert some existing code using Mail system/swiftmailer. In my controller, I pass some variables to the mail manager using $params.
$mailManager = \Drupal::...
0
votes
1
answer
32
views
Drupal/mailsystem installed but menu item still not showing up on the menu screen
Hello I'm a bit of a Drupal newbie (long time admin but new to drupal). I tool over management of some existing sites. I'm trying to add the mail systems menu item to configure an SMTP relay and doesn'...
0
votes
1
answer
68
views
Password reset email link leads to access denied
When users on my site request a password reset link and click the link they are taken to an access denied page when they click on the link.
Clicking on the link in the email will direct users to https:...
0
votes
0
answers
92
views
Mailchimp dynamic property error on constructor for MailchimpMarketing apiClient
We are using Mailchimp 3.0.0 on a drupal 10 site, with php 8.2.
We have a service that sends an email to a distribution list using Mailchimp. We use a Mailchimp campaign to do this in a service class ...
2
votes
1
answer
408
views
How to prevent emails, api keys hashes, being stored in config and instead use a non-git controlled env-specific settings.php file instead for them
Background
I want to make my site code open source, for reasons of:
collaboration
developing an open source Drupal distribution or module (yes I know distributions might be superseded by recipes but ...