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

learn more… | top users | synonyms (2)

0
votes
0answers
9 views

Prevent term URL in webform email template?

I've configured a webform to send a custom email after submit. One of the fields in the webform is a taxonomy select. So the value in the email template looks something like this: [submission:values:...
0
votes
0answers
8 views

subject and body of mail messages empty using drupal 8 mail api - hook_mail

I'm trying to send messages using Drupal 8's Mail API, but the messages always have an empty subject and body. Do you see anything wrong with the code? In my module file: function mymodule_mail($...
0
votes
2answers
15 views

How to change the email recipient for contact form

On a Drupal 8 site, I have a content type called TeamMember which has an email field. From the view where I show all the TeamMembers, I'd like to link to a form where the user can email that person ...
6
votes
1answer
42 views

How do I set BCC in the email I am sending?

I am using Drupal 8. How can I add the BCC field in the mail function. Using below code Bcc not working $params['body'] = 'test body'; $params['subject'] = 'test subject'; $params['Bcc'] = 'test@...
4
votes
2answers
69 views

How can I block users from registering with disposable email addresses?

I have a site where users send messages to one another using the Private Message module, and they are notified of messages by email. On this site, there are a variety of spammers, scammers, and ...
1
vote
1answer
22 views

Change contact form to email based on selection?

I am attempting to change the email a custom contact form is sent to based on what selection the user makes when filling out the form. Is there a way to do this in Drupal 8?
0
votes
0answers
18 views

Email successfully sent or not?

I have a Contact form. When a user submit the contact form, it sends a e-mail to user. My requirement is to check that the e-mail status that it is successfully sent or not. I am making a listing ...
0
votes
1answer
77 views

Emails are not sent

I am running Drupal 8 on a DigitalOcean server. I am trying to use the standard Drupal 8 Contact form to get user's email addresses. I currently have the form up and it is visible and holds the ...
1
vote
0answers
20 views

Theming the outgoing contact form mail

Having a problem theming or changing the looks of my outgoing contact form e-mails. I have followed this topic on the subject: How can I theme the outgoing contact mail? I have done all the points ...
1
vote
2answers
51 views

Send email to users, except author comments

Hello! I have node with field [field_users] (entity reference) I create rule [after saving new comment] Actions: Loop for field: [comment:node:field-users] inside loop i create var [users:mail] ...
1
vote
1answer
21 views

How to change webform default email address from sender side?

I'm using webform module, when somebody submits the form mails will go from address which we mentioned in the custom field, this works fine. But instead of adding in custom field, I want to change ...
1
vote
0answers
46 views

Layout my newsletter on gmail

I encounter layout problems on my newsletter gmail android. Here is a correct display : and here display on android : landscape display is correct mode, but in portrait mode the price and social ...
2
votes
1answer
24 views

How to integrate messaging into a custom module?

I'm working on a custom module to handle time off requests for an intranet site and I'd like to be able to have the module fire off email notifications to a configurable list of users -- specifically, ...
0
votes
1answer
26 views

Products - Add to cart

I need some advice. My client has a website with loads of products. Now the client want the ability to add products to a cart, and instead of buying, they want the products to be mailed. How can I ...
1
vote
1answer
19 views

Assign email on user registeration

I have a custom user email field, I want when the user signs up to automatically set the email for he/she. For example, when the username field is user1 I want set the email to user1@mydomain.com ...
2
votes
1answer
24 views

How do I get the fields of form attached with a content type as token?

I do not know is it possible or not. I have a content type for creating tickets. I have a form attached to content type which contains ticket state and ticket assignee fields as drop down. Now I want ...
1
vote
0answers
21 views

Displaying Token Field Labels From Fetched Entity In Rules HTML Email

I am sending a MIME HTML email using rules. Much of the information contained in the email comes from a fetched custom entity (custom ECK entity). Using the available replacement patterns, I can get ...
1
vote
0answers
16 views

Random spaces in sent emails

I am using HTMLMailSystem to send emails from my Drupal 7 website. The problem is that random spaces appear in long emails. I have read about this and I tried the solutions on PHP mail function ...
1
vote
0answers
48 views

How to send email attachment without using Mime Mail module?

I am trying to send an email attachment without using the Mime Mail module or installing any other module. At the moment the email is being sent and I can receive it but it doesn't have the ...
0
votes
0answers
13 views

How to attach file to email without attachments array?

I have a file generated by tcpdf and would like to know how to attach it to an email without using ['attachments'][] The file is already base64 encoded and has the Content-Disposition headers. I ...
0
votes
1answer
45 views

Emails are not sent to outside domains

I deployed a Drupal 8 website, on a hosting service with cPanel, with domain mydomain.com. If I set this email address on the user profile: john.smith@example.com, that is an email address with a ...
0
votes
0answers
23 views

Use drupal mail for specific email address instead of smtp

I am using SMTP module to send emails. But now I want to use smtp for specific email address only. For example I want that when the receiver email is "abc@abc.com" then the smtp should not be used ...
1
vote
0answers
31 views

Contact form: recipient from node's Email field

Use case: Business Directory. Description: I need to create a dynamic contact form that will use each node's (business listing content type) individual Email field as the contact form's main recipient,...
1
vote
3answers
27 views

How to send an email to a specific user on new account creation using Rules?

I have an alumni association portal. When a new user creates profile on the portal, that account stays blocked until a specific user from that batch/department approves it. I am trying to make use ...
0
votes
0answers
24 views

Mailjet HTML and tracking

As the module devs isn't responding to posts like https://www.drupal.org/node/2032343 & https://www.drupal.org/node/2611824 I'm trying my luck here: I've got a site sending emails via both rules ...
1
vote
1answer
163 views

Formatting email sent with Contact form [duplicate]

I created a custom form (adding some additional fields) using the Contact module from the core of Drupal 8. When I submit the form is sent an email containing all values, but it is really bad ...
1
vote
2answers
29 views

HTML email containing selected node content

I need to send an email containing the content from one or more selected nodes. The nodes are selected in an email contact form by the user (which also needs to fill the rest of the form with other, ...
1
vote
0answers
14 views

how to split mailsytem based on condition

I have a site for sending newsletters and I want to send through two mail system. I was using mandrill mail and PepiPost mail service. If I want to send a newsletter to 100 users, I need to use ...
0
votes
1answer
15 views

SMTP server per role

Mails must be sent to certain roles from certain domains. Is it possible to setup SMTP server per role? (through rules or by coding)
-1
votes
1answer
26 views

Drupal mail send to multiple recipents [duplicate]

I want to send the mail to multiple recipents with varying body content each user will have different content . This is the code I used for sending, but I cannot send to multiple users. $to = 'abc@...
0
votes
0answers
10 views

How to send email through rules from a certain domain?

SMTP has two different email boxes for two different domains Domain1 and Domain2. How to send email from a certain domain through rules? Action: Send Email from domain (as the standard rule but with ...
1
vote
1answer
19 views

How to implement some type of private messaging to arbitrary groups of users?

I'd like to send private messages (with email notification) to groups of users. These groups can be either pre-defined or ad-hoc selected. Is there any way to implement this feature in a Drupal site? ...
0
votes
0answers
11 views

Variables in system module actions e-mail such as %user_name no longer work in 7.43

I use the System module "Actions" to alert me when specific events occur on my site. I've been using these for quite some time. After upgrade to 7.43, the e-mails I get contain the literal variable ...
1
vote
1answer
40 views

How to send the views record in an email to admin at regular time interval of 8 hours?

I have created a rule to sent the view results, by using this: <?php $view = views_get_view('VIEWNAME'); print $view->preview('default'); ?> But I want this Rules Action to occur every 8 ...
0
votes
1answer
28 views

How to create queue for email sending

I am using PepiPost mail service and I created custom mail system class for integrating PepiPost service. I can successfully send email from Drupal site. If a connection timeout 504 occurs during ...
0
votes
1answer
35 views

Getiing error during email send process

I am using PepiPost mail service for sending an email. PepiPost mail service provides an SDK for send sending mail. They provided a sample code for sending mail. When I send the mail getting the ...
0
votes
1answer
44 views

How to send an email notification when a subcription renewal is due?

When a subscriber’s monthly subscription is due for renewal, an automatic email should go to that user stating that the renewal is due. There will be two possibilities: If there is no response to ...
0
votes
2answers
31 views

Can I configure Send by Email to use CC instead of BCC?

So I have a node that is using the Print Module (www.drupal.org/project/print) and it's associated send by email functionality. The issue is that if I include multiple emails on the send by email ...
3
votes
1answer
55 views

How to verify only the email address on user registration?

I have a registration form. On the registration form the user can enter his username, email address and password and confirm password. When the user registered, he/she should receive an email to ...
0
votes
0answers
11 views

Send email after the order has been completed

With drupal 6 ubercart 2 I am experiencing a problem with slow order processing on order confirmation page. After user confirms the order, sometimes the confirmation page opens fast, sometimes it ...
1
vote
0answers
20 views

Is there a way to send an email including a csv of all the entityform submissions?

Is there a way to set Drupal up to send an email with an attachment of all of the entityform submissions for a specific form after each time the form is submitted?
0
votes
2answers
19 views

How to set transactional email api key for external app in drupal like mandrill

Like mandril,I have app for routing system transactional mails through that.I got create account in that app and getting api key for my drupal site,But i dont know how to process it (where to add that ...
1
vote
2answers
19 views

One time URL doesn't re-direct the user to change the password

In Home » Administration » Configuration » under the email messages section when a user is invited to the site the [user:password] is not generated and the one-time-login URL doesn't re-direct the ...
0
votes
0answers
17 views

Drupal Mail Attachment converting to Dat

I setup a test module : function test_mail($key, &$message, $params) { switch ($key) { case 'send_pdf': // Set headers etc $message['subject'] = t('Your PDF'); $message['...
0
votes
0answers
10 views

After registration emails are going into spam folder in gmail [duplicate]

Hello Everyone my Drupal mails are going to Spam folder after registration.I have user logginto boggan and user registration password module.
1
vote
1answer
93 views

When should I “send mail by queue” with the SMTP module?

On the SMTP module configuration page at /admin/config/system/smtp, it offers the option to Send mail by queue (Mails will be sent by drupal queue api.). When would I want to check this box? What ...
1
vote
3answers
53 views

Sending mails with Drupal 7

Well, I have such a big problem ! In fact, I can't test sending emails with Drupal 7 in localhost. I have been searching for some solutions for more than 10 days but unfortunately The problem still ...
1
vote
0answers
58 views

Error : Unable to send e-mail. Contact the site administrator if the problem persists [duplicate]

I have Drupal 7.43 installed on my hosting account, and I am using phpmailer to send all emails. It is giving the following error: Type phpmailer Date Monday, March 21, 2016 - 15:39 User ...