Questions tagged [emails]

Drupal core uses email for a number of important tasks, such as verifying authenticated users' email address.

Filter by
Sorted by
Tagged with
2
votes
0answers
29 views

How can I send mass emails as part of a bulk operation?

I have a view where the webform submissions of the site authenticated users are shown. In that view I have some bulk operations (created by me) that change the value of a field in these submissions (e....
-2
votes
1answer
26 views

Unable to send e-mail. Contact the site administrator if the problem persists (in my localmachine) [closed]

I am using drupal on local machine .I am getting this error as Error : Unable to send email The below is the report.
-2
votes
1answer
16 views

How to resolve issue with the security strings appended in <img src> in gmail, ymail on sending webform mails?

I'm using Mimemail to send HTML mails on webform submission, which includes images also. Mails are getting triggered properly but when sent to gmail and yahoo mail, the image links are broken. On ...
0
votes
0answers
16 views

How to catch exception if the destination mail id does not exist while sending mail through webform?

I'm sending mails on submission of a webform. The destination mail address is fetched from a custom email field in the form. On submitting, when the user enters a mail address, a custom mail would be ...
0
votes
1answer
19 views

Error when adding BCC to email handler with webforms and smtp

I use SMTP to handle emailing and Webform to generate my forms on a drupal just upgraded to 8.7.10 I have recently discovered an issue where webforms that have an emal handler set to include a BCC ...
0
votes
1answer
22 views

Load Media File in Webform Mail Handler

I want to use a single webform to send download links with specific media files to visitors that fill out that form. For example on an URL like this: https://example.com/downloads?media=1234 The ...
0
votes
1answer
26 views

How to send mail with third party domains?

I'm using mailsystem and Swift Mailer. Instead of paying for a professional service or self-hosting, I'd like my site email to be sent using my hotmail or another domain I control. Eg let's say my ...
1
vote
1answer
56 views

Why is the apostrophe converted to &#039; in account activation e-mail?

In admin/config/people/accounts, the body of Welcome e-mail is (my site in in French): user:display-name], Un administrateur sur [site:name] a créé un compte pour vous. Vous pouvez maintenant vous ...
0
votes
1answer
49 views

Render Twig template as XML

I want to send an XML mail using Drupal's mailManager. I have created a custom twig template in my module that will the the mail body. Here's what my template looks like, my-module-xml-mail.html....
0
votes
2answers
19 views

SMTP Authentication Support address/from name overwritten by Site Information

Pretty much as the title says really. I'm using the SMTP Authentication Support module to try and send account notification e-mails through our G Suite account. I've filled in a name and e-mail ...
0
votes
0answers
20 views

How to customize message in maestro mail notification

I am working on Maestro module. we have interactive tasks in the Maestro which are executed by the users to whom task is assigned. In Maestro, we can intimate the user by mail about the task assigned ...
0
votes
1answer
14 views

How do I map attachments submitted via mailhandler?

In Drupal-7 I'm reading an imap mailbox with mailhandler. I have the mapping setup via feeds. This processes text messages creating a node but messages with attachments don't have the attachments ...
0
votes
0answers
37 views

SMTP + mimemail + mail system not sending to hotmail

I have a webform which sends two emails upon submission: To the administrators of the site via webform emails To the client who submitted an email via rules using 'send html email' Everything is ...
-2
votes
1answer
31 views

Send welcome email on one time login via admin UI

I am Importing all my users into drupal but I don't want to send the welcome emails now. When the site goes Live I want to be able to push a button or perform an action which sends all the users the ...
1
vote
1answer
47 views

How do I use sendmail on Debian/Ubuntu to send emails without SMTP or other modules? [closed]

I have a Drupal 8 installation and it's not sending emails. I've configured postfix and tested using sendmail command line. PHPMailer module is installed via composer. When I submit passowrd reset ...
1
vote
1answer
35 views

Contact email flood limit is per whole system(application) or user/ip based?

I have a question with contact emails flood limit which is present in contact.settings.yml, the limit is going to for whole system(application-wide) or is it going to limit the number of emails per ...
0
votes
1answer
43 views

Modification of HTML mail template

I am using HTML Mail module. I have created an html email template specific to my form(webform) in the template folder of my theme directory. My form name is newsletter and the template name is ...
0
votes
0answers
11 views

Webform includes attachments only on manual resend, but not on initial form submission?

Using Webform and Mimemail to send HTML emails and uploaded files attached to emails. When submitting the form, the file is not attached to the email. The box is ticked: But if you edit the ...
0
votes
1answer
57 views

How do I include data from the order item type fields in the order receipt email?

I have created an "Event Registration" product type and order item type. In the order item type, I added fields for the registrant's name and job title. How can I print the submitted values for those ...
0
votes
0answers
23 views

Rules action “Send Mail”: doesn't work for more than one recipient

I have installed Rules, Views Rules, Phpmailer. Test mail works. In a rule, I have three actions: 1) Send mail to a specific address: it works! 2) Send mail to all users of a role: it doesn't work ...
1
vote
1answer
76 views

Email misses fields from form [closed]

This is regarding a Drupal 8 site, specifically Drupal 8.7.1 and the "Contact" module (with Contact Emails, Contact Storage enabled). The issue that I'm running into is some of the fields are not ...
0
votes
0answers
22 views

Webform e-mail header

Not sure if I can explain this right, in any case here it goes... Having issues with rejected e-mail messages from the webform automatic e-mail generation. The messages are being bounced back because ...
1
vote
0answers
33 views

Need to add SKU to order confirmation email - Commerce 2

I have been able to customize the order confirmation email twig file for a client to some degree, however when it comes to adding the SKU for each item ordered I cannot find a way to have it populate. ...
2
votes
1answer
127 views

How do I override the mail system?

In my application, all mails aren't sent via the Drupal default mail system or SMTP. We have a third-party API which sends all emails. So, whenever the plugin.manager.mail service is called, the class ...
0
votes
0answers
15 views

Changing “From” in password recovery mails?

My site email is site@bla.com. When mails are sent, the header is: Return-Path: <site@bla.com> Sender: site@bla.com So mails reaching the user says from = "site@bla.com"... instead of from = "...
0
votes
1answer
196 views

Send email after content update

I have create a new content type with a field of email. In this field I put the email address of the person I want. The case is: I want every time the node of this content type updated, to send an ...
0
votes
0answers
27 views

Flag/Unflag Taxonomy term when updating Taxonomy field in user profile

I asked this question a few days ago: Send email to all users that are tagged with the same tag a node is when created I decided to go a different route and use the flag and rules module to associate ...
1
vote
0answers
20 views

Rule that sends one email out at specific time each day with view content in it

I have 5 different views that show different metrics within blocks on the front of my website. I want a rule that can send this information to me by email each day at a certain time. How do I do this, ...
0
votes
0answers
37 views

How to progammatically subscribe a user on edit form(user_form)using Simiplenews?

How to programmatically subscribe a user on edit form(user_form)? I use the code below in hook_user_presave after I checked if the user is already subscribed. $subscription_manager = \Drupal::...
0
votes
0answers
35 views

Characters Converted to HTML Entities in Submission Email?

I have a webform in which I've developed a custom module to add a value to a hidden element based on inputs received by the person submitting the form. I also have an email handler specified that ...
0
votes
2answers
56 views

Send email to all users that are tagged with the same tag a node is when created

There is a lot of similar questions here but I am having a hard time wrapping my head around this. I have a taxonomy term reference field called field_category. This field is available on user/*/edit ...
0
votes
0answers
24 views

Unable to set the 'FromName' in email sent by SMTP

I am using SMTP to send emails in my custom module. But I am not able to set the FromName of the email. I tried both hook_mail() and hook_alter_mail() but it is getting affected. My code is: $...
1
vote
1answer
62 views

Send “Views PDF Display” generated PDF by mail as attachment

TLDR: How to send Module "Views PDF Display" generated PDF by mail as attachment without another deprecated module ? I have a Drupal site with the Views PDF Display module on it. I can generate a ...
0
votes
0answers
25 views

Using Webform on Taxonomy Page and using that Term's Values

Say I have a Vocabulary called Branches which has an email field. I wanted to attach a Contact webform to the pages of these Branches where an email will be sent directly to the email field value for ...
0
votes
0answers
18 views

Unique message ID in SMTP module

I am working with Drupal 7. In my site am using the SMTP Authentication Support module to send emails. After sending an email, I want to get the unique encrypted message ID string. Now I am getting ...
0
votes
1answer
427 views

Problem with Mail System/SwiftMailer

In the submitForm of some form of my custom module, an email is sent this way: $sTo = 'eric.falzon@free.fr'; $sBcc = _setListOfRecipients(); $aParams = array($sBcc, $rpYear); \Drupal::service('...
-6
votes
1answer
335 views

I want to send emails from a custom module [closed]

I created a module to send emails, but I don't now how to send emails.
0
votes
1answer
96 views

Notify a user if a node has a comment or status updated

I'm trying to build a simple ticketing system with Drupal 8.6. I'm able to create a content type for these tickets and the comments will be the responses to the ticket. Also I have a status field for ...
0
votes
1answer
30 views

module to test if e-mail is working

In D7 I'm trying to determine the best way to periodically check if e-mail is working. I'm looking for a way to create a workflow that, say, on cron would check the day of the month, if it's the day ...
0
votes
1answer
51 views

PHP evaluation for “Send HTML email body”

I'm trying to compose the body of an email using PHP evaluation within a rule. The rule is triggered when a new content is saved. Part of the email body is composed using HEREDOC and that works fine....
0
votes
0answers
21 views

Configure emails for webform

I am looking at two sites both have webform 7.x-4.18 plus mimemail and and mailsystem. when configuring emails for webforms, one site shows 3 options in the E_MAIL HEADER DETAILS: subject, from ...
0
votes
0answers
124 views

sending a daily digest of content (add, edit, delete) actions by email

I am trying to send a daily digest of all the content entities that have been added, edited or deleted. I am working on Drupal 8 so most of the good modules that achieve that are unstable and ...
1
vote
1answer
222 views

How can I apply logic in user registration welcome emails?

I am trying to put some logic into user registration welcome emails. Simple "if-then" logic, based on tokens. The tokens I use show up as expected, but both twig and php code gets sent as plain text....
0
votes
1answer
44 views

Commerce order mail is empty for anonymous users

In the function below, there is the problem of sending email to anonymous users, the email sending only for users logged and to complete checkout and payment. I get the following error message: ...
0
votes
1answer
56 views

How to send mail with multiple images from node using Rules module? [closed]

$language = field_language('node', $node, 'YOUR _FIELD_NAME'); foreach($node->YOUR_FIELD_NAME[$language] as $file) { echo drupal_realpath(file_load($file['fid'])->uri); } I used this code to ...
2
votes
2answers
37 views

Cannot get subscriptions to send out at correct intervals

I set up the "subscriptions" module and have set it so that all members of the page have access to a number of panels. One allows them to set the frequency of emails, one allows them to pick and ...
0
votes
2answers
238 views

Print commerce pricing attributes to email receipt

Users cannot see what size or color shirt they purchased in the email receipt because tokens won't print the attribute fields provided by Commerce Product Attributes / Commerce Pricing Attributes / ...
1
vote
1answer
185 views

Can't send managed file as mail attachment

I'm working on a form submit in a Drupal 7 project, the form has and upload file field, in my form submit handler I can get the file id, what I want to do is to send and mail which has as attachment ...
0
votes
1answer
273 views

Sending an email to everyone with a certain role

Me: Small business owner with no coding or Drupal background who wants to learn by doing instead of hiring a developer for every small thing. Goal: I have a Drupal 7 website and would like to send ...
0
votes
0answers
28 views

Some users receive email with no body

I have a Drupal 7 site with over 400 users. Time to time I use Mass contact to send updates to the users. I noticed that some of the users receives blank email with no body. I get no errors and there ...