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
1answer
161 views

Customize Error/Success Messages in Drupal 7 [duplicate]

I need to customize the success/error message after submitting details. It needs to cover areas like contact form, forum create etc., Especially below message, Drupal Version : 7.57 Theme : ...
-2
votes
3answers
391 views

How to create a rule to email all users with a profile field X with same value as the current-user?

I'm using Drupal 7.57 and I have 2 roles in my website, role X and role Y. I want to compare a field (field_code_postal) of the X member profile of the current-user, with the fields (...
0
votes
1answer
251 views

Simple form builder

I want to allow website managers(editors) to build custom forms: Editors should be able to create a form with a few text fields and specify the recipient emails. Form should send email with fields ...
0
votes
3answers
463 views

Redirect to page after Simple News subscription

I wish to redirect the user to a specific page once they have inputted their email and pressed subscribe. Does anyone know how to achieve this please? I have found the setting to achieve this but ...
2
votes
1answer
3k views

Html mail gets broken by new lines

I am using the Mail system and the Swift mailer* modules to send HTML emails. I then implemented a custom module to send HTML newsletters to users, and I noticed the emails didn't look as expected: ...
0
votes
1answer
466 views

How to remove link to personal contact form from tabs block?

I created a link to personal contact form in page content, and I want to remove it from tabs. How to do that without breaking functionality?
-1
votes
2answers
649 views

How can I create a newsletter with the last five news nodes?

I need to create a newsletter where І can send the latest five news nodes in Drupal 8. Maybe you can recommend any module or custom method. I tried to use the Simplenews module, but with Drupal 8 ...
1
vote
1answer
341 views

How to send an e-mail to a user selected in a webform via a user reference field?

I have a webform, that the HR use. I have a form component of the users, that is a user reference field. I would like to use Webform Rules to send an e-mail notification to the selected user. If I ...
1
vote
1answer
188 views

How to send auto email for new unapproved comments?

How do I config to send auto email for new unapproved comments. I enabled the comments module and anonymous user can create comments in some content types. But, I want to receive in an specific ...
1
vote
1answer
26 views

How to avoid Rules adding blanks to eMail Id subscribed via Simplenews?

The following rule works fine, only it adds always a blank before and after the emailaddress in the database table . And that gives an error when sending the newsletter. { "...
2
votes
2answers
2k views

How do I send an email to all users with a particular role? [closed]

This was quite straightforward in Drupal 7 as I recall but, with Drupal 8 there's a lot of info I don't understand as a site builder that I am being asked to provide when creating a new rule. I'd ...
0
votes
1answer
123 views

How to send an email once a new member is invited using the Group module?

I am using the Group module on a Drupal 7 project. I would like the system to send an email notification once a new member is invited. I'm assuming I could use the Rules module to perform this task, ...
0
votes
1answer
469 views

How do I send a customized email to subscribed users?

I have a post job content type. When an employer posts a job, all the registered users, basing on the job category (taxonomy), should receive an email about the posted job. How should I implement ...
0
votes
1answer
262 views

what's are these "@name" and "@site-name" token-things in email_example.module and how do they work?

In the dgo.to/example module's email_example.module's hook_mail() function there's this line: $message['body'][] = t('@name sent you the following message:', array('@name' => $user->name),...
0
votes
0answers
180 views

HTML emails in Drupal 8.4

Some users (not admins) on our system are not having their password reset links sent by _user_mail_notify('password_reset', $account, $langcode) work properly. A suspicion is that their e-mail clients ...
1
vote
1answer
236 views

Add priority headers

I realize priority headers are something of the past for the most part, but I was wondering if it's possible to add additional headers (eg. Priority Flag) to an email sent from Webform (Drupal 8 ...
1
vote
1answer
2k views

Sending smtp email using mail()

I have installed and configured https://www.drupal.org/project/smtp module sending test email works fine, but when sending email with code nothing is sent and also no log in drupal (I have enabled ...
0
votes
0answers
182 views

SMTP : Email are not getting delivered

I have a SMTP Authentication Support 7.x-1.0 module in D7. Its enabled and configured correctly with permissions. Emails are not getting delived, I dont know what is the issue here. Am I missing ...
0
votes
2answers
211 views

How can I add a CC field to webform email send?

Does anyone have a solution to adding a CC field to the /node/[nid]/webform/emails/xxx interface? I have a client that wants to use a decently complex conditional email send solution in Drupal 7 ...
1
vote
0answers
215 views

How to theme the emails send through SMTP module?

Drupal7 website send email using the SMTP module. I have to theme the email template with my website default theme logo,header and footer links. How could I achieve this one? Referred this Using ...
-1
votes
1answer
275 views

Webform email themeing

How do I theme emails sent via a Webform to display like the webform preview? Below is the output from the email, viewed in Gmail and below that is the output from the preview of the form. I am ...
0
votes
1answer
166 views

Send mails in an asynchronous process

I'm using drupal_mail() to send mails from the HTML formatted content. It takes more time to send mails. Actually, Mail is triggered while the form submission after the save logic. To save the page ...
8
votes
3answers
7k views

How do you add a PDF attachment to an email?

Goal: I need to send an email with a pdf attachment in Drupal 8. Progress I am able to send an email with subject and message but have never been able to get the attachment. When I turn on the logic ...
-1
votes
1answer
2k views

How do I programmatically send MIME HTML emails without using the Rules module?

In the past, I have used the Rules module to send MIME HTML emails, creating a component and invoking it in my code with rules_invoke_component('rules_send_html_email', $parameters). How can I ...
5
votes
2answers
5k views

HTML mail without using modules

I am trying to use the MailManager class in Drupal 8 to send HTML mail. I got it working, but it isn't parsing the HTML markup. I think something is wrong with the headers of the email. What I have ...
1
vote
2answers
4k views

Mail subject and body remain empty using mailManager

I have been fiddling with sending a mail in my custom module in Drupal 8. The mail gets sent but the subject and body are empty. It has been an issue for days and I can't get it to work. The code and ...
1
vote
0answers
832 views

Outlook/gmail Configuration not working in Swiftmailer's smtp?

I have been using Swift Mailer for sending mail. I have also installed the dependency module and library. Now, I have been trying to configure the gmail/outlook configuration for Transport Type SMTP ...
0
votes
3answers
1k views

Drupal 8 and MailChimp

I'm syncing a Drupal 8 webform to populate a MailChimp lits via the MailChimp module. As well as capturing the first and last name I also want to capture the City and Province. However when I submit ...
1
vote
1answer
325 views

Is Drupal contact form securely encrypted?

In Germany, it is mandatory to by law to use secure contact forms (secured by TLS for example) when you are a website owner. Is the Drupal 7 contact form secure in this regard?
1
vote
2answers
1k views

HTML tags not supported when sending emails in Drupal 8

This is my code to sending email function hook_mail($key, &$message, $params) { $options = array( 'langcode' => $message['langcode'], ); switch ($key) { case '...
1
vote
1answer
593 views

Using Rules to send an email to all Simplenews subscribers

On a Drupal 8 site I'm working on, we are using Simplenews to allow users to subscribe to a mailing list for blog posts. The client would like us to set up a rule to automatically send an email to ...
1
vote
0answers
61 views

Mail manager sending email to site email

I'm sending emails programatically from a custom module, the email sends correctly to the user, but it also sends the email to the site email. Is there anyway to stop this from happening? When I ...
0
votes
1answer
425 views

Use multiple email addresses on contact form

I'm using the default D7 contact form to have anonymous users enter some information. I've created various categories and based on the category the message should be emailed to a single or multiple ...
1
vote
6answers
4k views

SMTP Module not sending email

Using XAMPP on Mac I have installed https://www.drupal.org/project/smtp After setting up admin/config/system/smtp It gives above error. Unable to send test email. Do we have to any setting on ...
0
votes
2answers
311 views

Can't find where to edit content [closed]

I've recently inherited an Drupal 8 website. www.berkslibraries.org At the bottom of the site in the footer there is the word Contact and under it a link to Hours & Locations, email address, and ...
0
votes
1answer
31 views

Allow users to manage their own mailing list?

I would like to allow each user to manage its own mailing list (import a csv list, add/remove emails). My goal is to allow users to send an email notification to this list when they create a certain ...
1
vote
1answer
88 views

How to send a Group email based on date field using Rules?

I'm using the Group module and I have a Group content type called Events with a date field. I am having trouble figuring out how use Rules to send an Email on the same day as the date field to all the ...
1
vote
1answer
44 views

No block to display at block settings in any contributed theme

I am trying to use Simplenews module for newsletter, but there is no block to display at block setting in any contributed theme after enabling the module. However it's show when I activate the core ...
0
votes
1answer
51 views

Foolproof way to prevent email sends from local/dev server

We have had a number of occasions when a new new developer starts working on a project, and when they have it installed the cron runs and sends out a load of emails to users. If the database is fairly ...
0
votes
1answer
342 views

MailChimp + Drupal 8: How to install properly? (page could not be found)

In order to install MailChimp in Drupal 8 I followed the instructions for the MailChimp Drupal module. Instructions for 8.x-1.x The 8.x-1.x release uses version 3.0 of the MailChimp API and ...
0
votes
0answers
660 views

Drupal 8 Html mail

I need to have a functionality where the user can send the current article in an HTML mail. I don't know how to do this, I don't have previous experience with Drupal mail system, After some time ...
1
vote
1answer
49 views

How to eMail a periodic summary of flagged nodes to users of some role?

I'd like to create a periodic summary email that gets sent to a specific role. The summary email would include things such as: flagged content / users count new users count new nodes most viewed ...
0
votes
1answer
332 views

How do I add fields to the email field contact form?

Using Drupal 7, I have a content type that uses the email field module(CCK) so that the page author can enter an email address for readers to mail them. With display suite module together with views ...
0
votes
1answer
41 views

Is a mailchimp newsletter with an entity view in the content area possible?

I am a newbie on emailing solutions and I have to design a newsletter system that allows the customer to create a newsletter with some content + the 3 most recent articles. I guess it could be ...
-1
votes
1answer
72 views

One Time Login URL not Received : Looking for a Spare Solution

Some (only a few) of my users do not receive the "one time login url" mail when they want to reset their (forgotten) password (also checked in spam and trash). The odd thing is that if I personnaly ...
0
votes
1answer
308 views

Webform multiple conditions recipient

I am on a Drupal 7 website and I have a webform with multiple fields, one field is a selectbox with : 1-10 employees 10-20 employees 20-30 empolyees ... Another one is an open textfield Postcode. ...
0
votes
2answers
262 views

How do I show the contact form in panels?

I have installed panels and Panelizer modules and used the core contact form. There is no feature available for adding contact form in the panels. How do I add the contact form in Panels without ...
1
vote
3answers
2k views

Disable email user notifications

It's possible in Drupal 8 disable all users notifications? New account, forgot password, etc I'm using one external tool to send these emails and I don't need these notifications. Thanks
0
votes
1answer
244 views

How do I send emails from a .php file?

I have developed a separate functionality using PHP in a sub folder of my Drupal site (e.g. mysite.com/myfolder/myfunc.php). Now I want to send emails using Drupal functions. Since this is not a ...
4
votes
0answers
2k views

How to setup Swift Mailer to send mails using SMTP server and TLS encryption?

I'm trying to send Drupal 8 emails using Swift Mailer (5.4.8, 8.x-1.0-beta1) and a remote SMTP server. The transport should be encrypted, so TLS should be used. This is my setting: Unfortunatly when ...

1 2 3
4
5
28