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
0
votes
3answers
48 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?
0
votes
0answers
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
1answer
741 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
1answer
2k 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
1answer
233 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 ...
1
vote
0answers
86 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 ...
1
vote
1answer
1k 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: [...
1
vote
1answer
365 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 ...
3
votes
2answers
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 ...
0
votes
2answers
829 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(...
2
votes
1answer
338 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
2answers
35 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 ...
1
vote
1answer
493 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 ...
0
votes
1answer
69 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
1answer
263 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
1answer
264 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?
2
votes
1answer
70 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
1answer
143 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
1answer
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 ...
0
votes
2answers
170 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 ...
1
vote
1answer
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 ...
0
votes
1answer
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
1answer
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
vote
0answers
178 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/...
0
votes
1answer
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 ...
0
votes
1answer
36 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 ...
0
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
1answer
374 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 ...
0
votes
2answers
55 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
1answer
105 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
1answer
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 ...
1
vote
2answers
424 views

Access Individual Fields - Contact Form - Swiftmailer

So I followed the steps here https://drupal.stackexchange.com/a/199464/49661 to configure Drupal 8 to send contact form emails via Swiftmailer. I created a template in my theme's template directory, ...
0
votes
1answer
160 views

D8: Replacing Contact Form Title With Label

I've searched around for this answer but to no avail. All I want to do is with any contact form I create I want to replace its default title (usually "contact") with the form's label. So instead of {...
1
vote
1answer
362 views

HTML / Mail System / SMTP Not sending approval in html

I have a current Drupal site that sends out all emails using the HTML template. Users requests, reset password, webform but does not send out approvals in HTML. Anyone have this issue or know a ...
1
vote
0answers
42 views

HTML-Email Builder using available content

I'm building a content marketing system in drupal 8 and I'm looking for a way to let editors put Media and Blocks in some kind of template which is then exported as an html email. Right now I am ...
1
vote
1answer
106 views

Remove http:// from $base_url

I am trying to generate a email address that reads as no-reply@example.com. Using the global base_url the output is http://example.com. Is there another global, or some other easy solution, to ...
0
votes
2answers
3k views

Contact Forms - Change Recipient Address Dynamically - D8

I'm using the core contact forms module in Drupal 8, and what I need to do is add a select with multiple options, each option needing to change the recipient address. How can I do this using the ...
2
votes
2answers
494 views

Configure page title block for contact form pages only

I want the page title block to display on the contact form pages, because the nodes have their titles in their display. It seems for a form you can't add the title to the form display, thus leaving ...
1
vote
1answer
74 views

Add Emoticon at my Simplenews Newsletter's subject

I send newsletters from my Drupal 7 website using Simplenews. What I want is to add emoticons at the subject of the newsletter, like a Smiley or something like this. Is it possible?
0
votes
2answers
3k views

How to translate contact message field labels

I have multiple contact forms in my multilingual D8 website: questions or remarks order gift voucher Those have custom fields (like field_phone, field_amount, ...) For my custom fields, the form-...
0
votes
1answer
3k views

Use Twig to render HTML email body for SwiftMailer

I have a custom module with a controller where I'm building a PDF file with a node's data that will be mailed to a certain user. I have installed the SwiftMailer module and I have been able to ...
0
votes
2answers
2k views

How to send email to submitter in a webform?

I have a webform and i want to send by mail this webform to submitter. For the moment, i created an hidden field with token [current-user:mail] and i chose this field in adress. I think it isn't very ...
1
vote
1answer
1k views

Send email with html template programmatically

On board: Drupal 7 Mail System Mime Mail mimemail-message.tpl.php is configurated E-mails sends by Rules with HTML template, but template not used when it call programmatically: $mail = array( '...
1
vote
2answers
254 views

How to get notified by eMail after someone edited his own webform submission?

I have a webform, and I'd like to be notified whenever someone edited his own submits. I'm using the Webform module. I found the Webform Rules module but I didn't get how to use it, any way to set ...
0
votes
2answers
43 views

How to create a Rule to email referenced authors after saving new content? [closed]

I am trying to create a review platform. I have multiple content types, and I have created review content types which are referenced to these content types. I want to create an action (tell me if ...
1
vote
0answers
47 views

Emails generated by contact forms

The emails generated by contact forms I have made are full of these before the content of each field: <span></span><br> <span></span><br> <span></span>...
1
vote
0answers
215 views

Add contact form on front page as block

I add contact form block in front page And for some reason when I go to send messages it doesn't work. My site opens some page which is not front with this css, which doesn't exist on my front page. ...
8
votes
3answers
6k views

How can I remove preview button from contact form?

How to turn off preview in contact form in Drupal 8.1.x
1
vote
1answer
80 views

How to send email depending upon hidden component value (which will get from url)?

xxx.com/apply-job/node/1949?jobCode=IR/001&functionalArea=HR I have a form in the above url, the form components are Name Email Resume And also I have jobcode, functionalarea as hidden field, ...

1
5 6
7
8 9
28