Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [emails]

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

0
votes
1answer
14 views

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

I have a drupal site with the Views PDF Display module on it. I can generate a custom PDF for my order, and all is nice, except for one things. I need to send those PDF one by one by mail as attached ...
0
votes
0answers
7 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 ...
-1
votes
0answers
13 views

How to configure simplenews to send HTML newsletters by email?

I'm using Drupal 8, simplenews module, and would like to send newsletters monthly in HTML format. The problem is that i tried to configure mimemail, htmlmail, and swiftmailer, all to HTML format, but ...
0
votes
0answers
14 views

Duplicate contact form use contact module “Site-wide Contact Form” [on hold]

i have contact form, and only get 1 receiver. How can i get different site-wide contact form? because i have 3 different email receiver, and i don't know how to create contact module ("contact module ...
-1
votes
0answers
5 views

Inmail + Mailhandler not creating content

I'm using trying to use Inmail and Mailhandler to automatically create content by sending an email to an email address. I was able to set up an IMAP deliverer and I can confirm that it is receiving ...
-2
votes
2answers
34 views

How to get value of array in custom email

I have custom form for emails. In the putput email, I always get the index of the choosen option, not the option string. Given this form element definition, how do I get, for example, Soins Duo ...
0
votes
0answers
14 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
35 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
44 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
25 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
0answers
20 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
29 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
16 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
29 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
100 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
24 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
42 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
31 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
117 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
37 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
94 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
23 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 ...
0
votes
1answer
24 views

Conditional email is not sent

I have configured an email handler with the condition that an email message must be sent when a submission is updated by filling an image file field (the image file field has to be "filled"), but ...
0
votes
0answers
14 views

Why updated Mime mail module sending mails with attachment?

Recently we have updated Mime mail module and after that all the emails of our website is sending with an attachment named attachmet.dat. Can anyone help me to resolve this issue. That file has ...
0
votes
1answer
33 views

Add Mailchimp interests fields into webform_mailchimp signup field

Currently I am using: mailchimp 7.x-4.9 webform_mailchimp 7.x-4.x-dev webform 7.x-4.18 From this issue I applied patch #2 to webform_mailchimp 7.x-4.x-dev module, and I can see the file ...
0
votes
0answers
19 views

Merge Webform select option field into Mailchimp merge field

I am using webform_mailchimp 7.x-4.x-dev and MailChimp Version: 7.x-4.9. In my Drupal webform, I have a country select list field, where the user can select their country. How do I merge this field ...
1
vote
1answer
34 views

Attach file to email

I have a site with a webform, which when submitted sends an email. The form has a file upload which should then attach the file as an attachment to the email. I'm not getting any attachment. I've ...
1
vote
1answer
49 views

Emails aren't sent [closed]

I have Drupal Open Social distribution running in Compute Engine on Google Cloud. Compute Engine is essencially a virtual machine, very similar to Amazon EC2. I have installed the SMTP Authentication ...
0
votes
2answers
71 views

Translations string email not work

in D8 (multilanguage site, with two languages) i wanna send email for registration, etc by user preference of language of user (People -> Edit people -> Language Settings) I've enabled all modules ...
0
votes
2answers
51 views

How to send the emails related to the user account in HTML?

I want to send the emails related to the user account in HTML version: forgotten password new account account canceled ... If I make a copied paste of my HTML code, it does not work. /admin/config/...
0
votes
1answer
261 views

How to send formatted html email using swiftmailer?

How can I send styled html body using custom module to send an email. I am using swiftmailer module. With that I am able to send normal body, but I am not able to use html tags or css. How can I do ...
1
vote
0answers
13 views

adminimal theme tpl

I'm having hard time with the inserting entity token to my mailchimp template. Created a content type, newsletter, with title and body (long text and summary) fields. Created a new view mode with ...
1
vote
1answer
250 views

Trigger Emails/Handlers on Webform submissions update

Is there a way to trigger the Emails/Handlers, When webform submission has been updated. I'm using webform_mailchimp as a handler. When I'm submitting a new record, handler is working fine and I can ...
1
vote
1answer
209 views

Swiftmailer module installation fails although the swiftmailer external library is installed

I am trying to install the Swiftmailer module on Drupal 8, but I get the following error. Swift Mailer requires the external Swift Mailer library. The recommended way of solving this dependency is ...
1
vote
1answer
34 views

Why wrap lines in plain emails?

Drupal adds line breaks after a width of 77 in the function wrapMailLine() of the class core/lib/Drupal/Core/Mail/MailFormatHelper.php. What is the reason for that? If you open the mail in a small ...
1
vote
1answer
114 views

How to arabic emails are right aligned

In my drupal8 site iam using arabic email for signup,login,forgot password etc.I have get arabic email content.The email content is left aligned.I am using PHP Mailer in my site to sending emails....
0
votes
0answers
21 views

Email gets empty values

I have created a web form form and configure email setting for that but it sends the empty values in the email. Here's my form: http://www.harvardstreet.org/request-appointment Here's my form ...
0
votes
1answer
234 views

Use of Twig template for webform email

I'm trying to help my father out by building a webform (D8 version) for the 4 theaters his Old Abbey Friends are putting up. I've made the webform, now i'm setting up an email handler so that ...
1
vote
2answers
106 views

Encode a line break in an HTML email sent by Rules?

I have a rule that sends out an email when a node gets edited in a certain way. The rule fills the body of the email with the value of a <textarea> field from the node that was updated. The ...
0
votes
1answer
21 views

What configures Drupal to send emails on the create or update of an unpublished content? [closed]

My Drupal installation attempts to send emails to a number of users whenever I create or update content but do not publish it. But because sending email is not configured errors are generated. I don'...
0
votes
2answers
86 views

How can I get the uploaded file path of a contact form in drupal 8

I'm using the hook_mail_alter() to create a custom email for contact forms. I was able to get the fields labels and values and use a twig template to send the email. Most of it is working just fine, ...
1
vote
0answers
28 views

Is it possible to cancel the creation of user without triggering an error?

I have a problem with account creation spam, in which a bot or other bad actor tries to create accounts using somebody elses email address. The owner of the email address flags the verification email ...
0
votes
1answer
240 views

How can I get the Contact Form “Manage Display” Settings programmatically?

I am trying to use hook_mail_alter to create a custom contact mail. I want to get the display setting of the contact form. (example path: http://mysite/admin/structure/contact/manage/my_contact_form/...
0
votes
2answers
25 views

Rule to deselect checkbox item?

I have a mailchimp subscription content type that add a user to the email list in mailchimp. It works great and adds them to the list. However, I want deselect that checkbox when they fill out a ...
1
vote
1answer
29 views

How to send an email to multiple recepient with contact form?

I want to send an email to multiple recepients when the contact form is submitted. By default when contact form is submitted it is sending mail to default email id which is saved in system ...
1
vote
1answer
51 views

HTML removed from email using MailSystem and MimeMail

I am trying to send an email with a small html form of hidden fields and a submit button. I have been piecing this together from several very incomplete answers and documentation sources that take ...
-1
votes
0answers
23 views

Send email without “to”

I would like to send an email to several users at once, so I need use "Bcc". I've tried the "'undisclosed-recipients:;'" sentence. Am I doing something wrong or that error is unavoidable? Emails get ...
0
votes
0answers
20 views

Custom created tokens are not replacing values when used in Rules->Action as email receiver

I'm trying to assign values from my custom created token called [custom:email] as the email receiver in Rules under Actions->Elements->Send Mail Following is described how I'm trying to achieve ...
1
vote
0answers
252 views

How to get the customer name in Commerce order confirmation e-mail?

How can I get the customer name from the billing information variable in the commerce-order-receipt.twig.html template of the Drupal 8 Commerce order confirmation e-mail?
0
votes
0answers
18 views

Inconsistent style for emails sent by rule?

I have a rule configured to fire off an email when the nightly cron tasks runs. So, every 4 a.m. an email gets sent out. If I trigger the rule by running cron manually, the resulting email has the ...