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
1
vote
1answer
121 views

Apply a style to the price

I created a newsletter with the module "Simplenews". I also created a custom template for my newsletter : <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr><td ...
2
votes
1answer
101 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
35 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 ...
0
votes
1answer
27 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
34 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
1answer
478 views

Sub theming Seven theme

Is it possible to create a subtheme for the core Drupal Seven theme (in drupal 7)? If so, how do I do this? I had already tried to do it a few months ago to override the templates for Simplenews but ...
1
vote
1answer
81 views

How to remove author name and date created from Simplenews emails?

When I create a newsletter using the Simplenews module and save it, I don't see the author name and date created in the node. However, when I send email, it contains author name as a link and date and ...
2
votes
1answer
1k views

Issues sending HTML email with Simplenews module

I am able to send plaintext emails with the Simplenews module. I have installed the Mimemail module; I configured the mail system to use Mime Mail Mailer in DEFAULT MAIL SYSTEM. After sending the ...
1
vote
0answers
245 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 ...
0
votes
1answer
187 views

How can add Contact-Us-form in custom place of page.html.twig file? [duplicate]

I need to add contact-us form in the custom place of page.html.twig file in my themplate, I want to add some code like belove: <div class="Contact-Us"> <p>Contact Us</p> <...
1
vote
0answers
109 views

Simplenews theming, change header image

I have been puzzling for weeks now and still cant find how to change a newsletters layout in simplenews in D7. Must say I inherited the website and, as the owner wants to create a blog and send these ...
1
vote
1answer
173 views

Send email to different email depending on taxonomy term

This was fairly simple to do in D7 and is a common request. How would I send an email to a different email address depending on a taxonomy term chosen from a dropdown box on the contact form?
1
vote
1answer
35 views

Cancel if condition not met, show status

I have the Mimemail module set up to send HTML mails out, after a form is filled in an email is sent to the user based on a custom template. But the email should only be sent out if the user has ...
1
vote
0answers
1k 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 ...
1
vote
0answers
71 views

Send html-Mail to new simplenews subscriber

I have installed simplenews and I want to send follow-up HTML-Mails to newly newsletter subcribers after one, two and three weeks. It only works to send a mail immediately after subscribtion (via ...
0
votes
1answer
131 views

How do I attach a library to contact forms?

Simple question, I just need to know how to attach a library to Drupal 8's contact forms. I recently made a similar post for attaching a library to a view, that was accomplished by adding {{ ...
2
votes
1answer
468 views

How to send an email using Rules when a node's boolean field is changed?

I managed to setup email notification via the Rules module when the content is updated. But I want to limit this only when the value changes in a specific field that is boolean "Yes", "No". Update: ...
0
votes
1answer
182 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 ...
1
vote
0answers
270 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
5answers
8k views

I want to override the template of the contact page

I use bootstrap as theme in Drupal 8, and I created a sub-theme. I want to override the contact page with a custom template. I added debug: true in services.yml, but I didn't find the right template ...
1
vote
3answers
69 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 ...
1
vote
0answers
205 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 ...
0
votes
1answer
270 views

Mailchimp programatic subscription and updates of existing users

I'm using Mailchimp module for user registration and at this page I found a function for registering users programatically: mailchimp_subscribe ( $list_id, $email, array ( 'EMAIL' ...
5
votes
1answer
7k 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
39 views

HTML email containing selected node content [closed]

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
17 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
35 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
413 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
1answer
45 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? ...
-1
votes
3answers
1k views

What is the name of the template to theme a reset password mail?

I want to theme the mail which is used to sent a link to user when the user forgot the password. I want to know what I need to name the template file so that Drupal will take my email template file. ...
0
votes
1answer
678 views

Add a checkbox on registration page for subscription newsletter with Simplenews

I'd like to add a checkbox for subscription to a newsletter on the user registration page. I'm using Simplenews. How could I do that?
1
vote
1answer
74 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
328 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
169 views

How to wrap a contact form with another block? [duplicate]

Is there a method to wrap a contact form with another block and make them together a new block or something? I want to put some information next to the contact form and put them together in a ...
0
votes
1answer
74 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
108 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 the ...
1
vote
3answers
803 views

How to create a rule to send email to users of a role that belongs to a country?

I'm using Profile2 module to assign a Country to a Role. For example I have: User1 | Role: "International Members" | Country: "UK" User2 | Role: "International Members" | Country: "Poland" User3 | ...
0
votes
2answers
55 views

Fraud detection on hotmail from Simplenews Newsletter

I send newsletters from my Drupal-7 website using Simplenews newsletter module. But when a user has hotmail, the mail comes with a flag "Be careful. This sender is not approved by our controls for ...
2
votes
1answer
97 views

Unsubscribed from Simplenews Newsletter

is there a way to find how many users unsubscribed from my Simplenews newsletter at my Drupal-7 website? And, if yes, can I detect from which particular newsletter did the user unsubscribe from?
0
votes
2answers
433 views

MailChimp Error: API Key cannot be blank

I'm trying to install the mailchimp addon but are stuck on getting the error message above. So far: I've installed/enabled the module with version 7.x-4.0 Loaded the PHP Library to /sites/all/...
1
vote
0answers
38 views

Theming Simplenews page

When creating a newsletter, I have the view mode set to Teaser, but the content printed on the newsletter page doesn't follow the template I have for it, it only prints the fields as specified in the ...
1
vote
0answers
106 views

Adding image in simplenews template file

I am using simplenews module with htmlmail. I am trying to add an image in template file htmlmail--simplenews.tpl.php Below is my code: <?php global $base_url; ?> <div class='...
0
votes
2answers
75 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 ...
2
votes
1answer
1k 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 ...
6
votes
1answer
4k views

Adding check boxes to contact form

I am attempting to make a contact form in Drupal 8 using "Contact forms" included in core. I'm struggling to figure out how to really customize it, like adding radio buttons or check boxes - does ...
2
votes
2answers
1k views

How do I render the absolute URL of a referenced entity in a simplenews newsletter?

When I send a node as a simplenews newsletter I use the node's Email: HTML display. One of the fields in this view is a label of a referenced entity to be rendered as a Link to the referenced entity. ...
2
votes
0answers
32 views

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

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?
1
vote
0answers
74 views

Simplenews test newsletter send by smtp: how to avoid?

I'm sending my newsletters by Drupal Simplenews + smtp-module. When sending the mailing the smtp-provider puts it in a queue and that causes a delay from maximum 15 minutes. That's ok. The problem ...
0
votes
2answers
134 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 ...
6
votes
7answers
10k views

How to place Contact form in block?

I have to embed a contact form inside of a block, and I'm trying to use the entity.form_builder service, But I'm not sure which entity I should give it, I found Message and ContactForm entity, so what ...

1
7 8
9
10 11
28