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
2 answers
435 views

Commerce / Rules - commerce-order:mail is empty for anonymous users

I'm having trouble sending order notification emails to anonymous users. As a bare-bones test I have created a new rule which triggers on 'Completing the checkout process', checks if the current user ...
  • 507
0 votes
1 answer
75 views

Email sending doesn't work through Webform

I'm trying to get drupal webform to send confirmation emails to logged in users after they validated a booking form. (Windows and IIS Server) I monitored Drupal Log reports/dblog and got this: ...
  • 223
1 vote
0 answers
555 views

How do I debug hook_mail_alter()?

I need to debug $message on hook_mail_alter(&$message). In D7 it was pretty easy to dpm() on hook_mail_alter(). Now in D8 dpm() doesn't print the nicest output anymore. I'ld like to see the ...
  • 16.2k
1 vote
0 answers
40 views

How to configure Multilanguage in D8? Front end in ES, Admin in EN

Use case in D8: Front end in Spanish (ES), Admin page in English (ES). Front end Users register/login in Spanish and view menus in ES. Content Type create is in spanish and do not need translation, ...
0 votes
1 answer
283 views

Disable welcome message for specific roles but keep for others, user_mail_notify

In Drupal 7... I am trying to find a solution to disable the sending of the user mail register by admin for certain roles. I have scoured the internet and have come up with using a combo of ...
  • 139
0 votes
1 answer
46 views

How to access personal contact form in search

Using Drupal 7. All of the people on my site have personal contact forms. When I type their name into the search bar, I get 'no results'. I need people to be able to find users' personal contact ...
  • 29
0 votes
3 answers
769 views

How can I make SMTP plugin work with multiple languages?

I'm using the SMTP Authentication Support plugin for mail from my Drupal 8 server. Sending mail from a webform works fine as long as the visitor is using the default language, which is English. It ...
  • 105
2 votes
2 answers
1k views

How can I send HTML newsletters?

I have developed websites using Drupal since 1998. Getting Simplenews to send HTML formatted emails in D8 has been the most frustrating experience I've had in all those years. I am very upset. I find ...
3 votes
1 answer
328 views

How to use Rules to send separate email to every user referenced in user reference field?

I have a node with a user reference field, in which a user can select unlimited users who they have a relationship with. I'd like for the saving of this node to trigger a separate email to be sent (...
  • 1,234
0 votes
0 answers
59 views

Auto reply to user is working but no email to admin in contact us

I want to use contact us form in my website but it is not working. I searched on Google and found many answers but they seems not relevant to me. I have setup the contact us page and I can see the ...
  • 283
2 votes
1 answer
1k views

No Emails sent on User Creation in D8 through Rest API

I'm working in Drupal 8.2.4 currently and building a headless webapp using Rest Web Services module for the endpoints I need. I'm using the endpoint /entity/user to create users, however the default ...
2 votes
1 answer
148 views

How to email the results of a filtered view to a user?

Required functionality (Drupal 7): User filters a view to desired results User enters email address in a webform block User is emailed the filtered list of results I'm using Views (7.x-3.14), ...
  • 181
0 votes
1 answer
27 views

Web forms senders to make their email secure

Make Web forms secure- can we have an option for senders to make their email secure when sending private information back like account numbers, is there an option for this in Drupal or is it possible ...
3 votes
1 answer
1k views

Special characters in email body

I'm attempting to send an email from a Drupal 8 module I'm developing, and it works except that special characters (' < >) seem to be getting escaped. My module has a configuration to select ...
3 votes
2 answers
89 views

What is a good flexible way to send auto system emails to users? [closed]

I would like to know a good user friendly, easy to setup and flexible way to send automated emails to users. This will be in response to an event triggered by a user. I guess it does not matter what ...
  • 435
1 vote
0 answers
226 views

Site is bricked; think it has to do with Contact Storage module

I built a Drupal 8 site about a year ago and installed the "contact storage" module to keep a database of contact messages. Last week I upgraded Drupal core to 8.2.3. After the install I ran the ...
1 vote
0 answers
67 views

How to store email sender info in message field using email contact module?

I am using email and email contact module. I added the field as following: Front page displays as following: When anonymous users enter name, email, subject and message, it sends email to recipient. ...
1 vote
0 answers
370 views

How do I find the mapping between profile fields and merge fields

I am using the Mailchimp module, version 7.x-3.6. The client has asked for an extra merge field for Gender. At the moment, we just have First Name, Last Name, Username, and UID. When I visit /...
  • 467
0 votes
3 answers
50 views

How could I allow content editors to send email to a selected bunch of users?

I have a content editor that wants to be able to send emails on a regular basis to a selected bunch of users. Could I create a view of all site users and use Views Bulk Operations for this?
  • 2,924
0 votes
0 answers
38 views

How to add contact text field to drupal content type

I am trying to create a business directory. I have created a content type with the following fields: I would like to add another field for public users to be able to type a message and send to the ...
0 votes
1 answer
751 views

Access MailChimp forms

I currently have a form that it is fully loaded from my Mailchimp Account. I configured it for display as a page using mailchimp configuration page (admin/config/services/mailchimp/signup). Then when ...
0 votes
1 answer
3k views

Create a link in hook_mail_alter()

I am using hook_mail_alter to modify the email that the user gets when an administrator creates an account. What I am trying to do is create a link in the email body, the link gets created but it adds ...
1 vote
1 answer
245 views

How to send an eMail to registered users after they are invited using the Group module?

I use the Group module and the "Ginvite" submodule on Drupal 7.52. The module allows you to invite people (either registered users or users without an account) to become a member of the group that ...
's user avatar
1 vote
0 answers
87 views

Allow users to unsubscribe

I'm working on a Drupal 7 site that has Simplenews and a custom registration process. The registration allows the user to subscribe to the newsletter, but once logged in there is nowhere to ...
  • 111
1 vote
1 answer
2k views

How to add a line break between each components in Email template in Webforms

I have the Webform 7.x-4.13 version module enabled. I have a Webform node with more than 30 form components. In Email Settings, I have created a custom email template where I used the token: [...
  • 11
1 vote
1 answer
397 views

How to Change the Format of the Email Template Sent with Webforms

Ok, so I have a customer that has a ridiculously long form that individuals need to complete to apply for funding, but the email that is getting sent to our customer as well as each individual is not ...
  • 41
4 votes
2 answers
2k views

"You cannot send more than 5 messages in 1 hour" [closed]

I have several contact forms, but I don't want to limit the users to submit the form. I've tried form unblock with smart IP; it doesn't work for me. Do you have any idea to release the IP and unset ...
  • 265
0 votes
2 answers
908 views

Render a node as plain text for sending by mail

I like to use a node as mail body in Drupal 8. I have written a simple module which works fine except for output formatting: function foo_notification_node_insert($node) { $type = $node->getType(...
  • 65
2 votes
1 answer
351 views

View Rewrite results Inline CSS for Newletter

I am trying to send a HTML newsletter with the simplenews plugin using views. The mailing of HTML via the plugin works flawlessly (after tinkering). I included a View via the Twig Tweak plugin inside ...
0 votes
2 answers
50 views

Button on user profile page to send email

I think this is pretty simple, but I don't know what's the best way to achieve this. This is what I need: Add a button on each user profile page. When another user clicks on the button, it opens a ...
  • 423
1 vote
1 answer
501 views

How to send an email to all members of a group after the group is flagged?

I use the Group module. I create a flag to mark groups. I wish that when a group is marked, an email is sent to all members of that group. How to do this ? I created the following rule, but I find ...
's user avatar
0 votes
1 answer
72 views

How to create a rule to send an email to a list of selected email addresses?

I have a Content Type Named XYZ. This content Type has a field named Email Addresses, which contains the List of Email address of the users in the Portal. Now when the user adds the Content of XYZ ...
2 votes
1 answer
270 views

Change system mail on run time when sending mail

I have 4 domains using domain access module like a.com, b.com, c.com, d.com. currently when user registers he receives a mail from admin@a.com which is default in site configuration. Now what I want ...
3 votes
1 answer
296 views

How to send node as body content in email using Rules?

I wonder if there is a way of inserting the contents of a node into the body of the email when using the Rules module?
  • 99
2 votes
1 answer
71 views

How to fix my Rule to notify authors of products by email at order completion?

I'm trying to send email notifications to authors of each products (line-items) in the order at completion. I have tried many things surrounding the rule below... that is now at a strange point in ...
0 votes
1 answer
149 views

Commerce billy mail: how to attach multiple files to an email

I have module commerce billy mail working. Additionally to the invoice PDF that is attached to the mail, I would like to send two more files (terms & conditions and a price list). Here's the ...
0 votes
1 answer
19 views

Keep info in one place to be use in several locations

As per title, what is the best practice, say if i want to save/keep info such as details of the website in one place so that when i want to change something i dont have to go thru every pages/blocks ...
  • 25
0 votes
2 answers
174 views

Is it possible to make site_email an i18n variable?

We have multilingual site pointing to 2 domain according to site language. www.example.com (Swedish) www.other.com (English) Now when some user post content from Swedish domain we want to ...
  • 675
1 vote
1 answer
2k views

How do I show a Drupal 8 contact form on a page?

I've created a new content type called "Form Page", with a required field being a reference to a contact form. So on the page you would have a body, and under that the contact form itself. I can't ...
  • 1,025
0 votes
1 answer
66 views

Change From on Admin Order Emails

In the Drupal Commerce module is there a way to change the ADMIN ORDER EMAIL sender to the customers email instead of it being from the administrators email? Thanks!
1 vote
1 answer
2k views

Automatically fill in the subject line of contact form

Is there a way to automatically fill in fields in Drupal 8 Contact forms, for example by passing the value in the URL? E.g. /contact/myform?subject=Subject%20line If Drupal doesn't have this built-...
  • 1,191
1 vote
0 answers
186 views

How do I give an inline image in a simplenews email an absolute url?

The output from field--text-with-summary.html.twig gives each inline image a relative url of this form: <img alt="Image 1" data-entity-type="file" data-entity-uuid="5ed6da76..." src="/sites/...
  • 1,364
0 votes
1 answer
73 views

Contact form node integration

I have content type and I want to add contact button at the bottom of node page, but I've problem so how I can add easy contact form that add node title at the message and When anonymous user goes ...
  • 11
0 votes
1 answer
38 views

How to send author an email after they post content?

When I user saves a piece of "my_custom_content_type" I want to send the user an email, basically "your content has been submitted, will be published after review" I know this is a core feature for ...
  • 535
0 votes
1 answer
4k views

Why is smtp not sending emails via SendGrid?

I am attempting to add SendGrid to a Drupal 7 site. I have been following the offical sendgrid.com documentation for this, and following the instructions for using the smtp authentication support ...
  • 103
2 votes
1 answer
73 views

Cannot create simplenews content

I have simplenews module installed on drupal 7.50 When accessing #overlay=node/add/simplenews I get a NOT FOUND, so I cannot create any newsletter content. Tried to flush cache but didn't work. Any ...
  • 23
0 votes
1 answer
383 views

Mails are not always send

When a user creates an account, sometimes all the mails are sent, sometimes not all, and sometimes no mails are sent but they are returned on the site-owner mail address. All the mails are considered ...
  • 473
0 votes
2 answers
57 views

Request a new password mail without any content inside of the mail.

I got a problem. When I want to request a new password due to password forgotten, the system definitely send a mail to my email address. But, this mail is without any content inside. I check the ...
2 votes
1 answer
115 views

How to use Rules to send an E-mail after saving a new comment, to users who checked a boolean in their profile?

What I try to achieve with Rules: After saving a new comment, this comment has to be sent only to those users who've checked a corresponding boolean box on their profile page. Any suggestions?
0 votes
1 answer
19 views

Is Contact module the right choice for multiple ask a question pages?

I have a set of pages already developed. For each page I need to add a new page with an "Ask a Question" form to let end users contact via email the corresponding page owner. I tried the Contact ...
  • 3

1
5 6
7
8 9
28