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

How to send an email using a field key?

I am attempting to send an email to a field selected value using the Rules module. The user selects a faculty member and saves the node. The rule should fire off and email based on the field's key. I ...
1
vote
1answer
965 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: [...
2
votes
2answers
365 views

Configuring mail function in multistep form submit in drupal

I have been working in a multistep customer-survey form and i am unable to configure and send mail after the form is successfully submitted. Here's is code for submit handler, function ...
3
votes
1answer
870 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 ...
2
votes
1answer
209 views

MailManager override “from” email

I use MailManager to send emails to end users for notifications. I would like to override the email address shown to the end user, using a "fake" address shown and not the real mail account used to ...
0
votes
1answer
388 views

Rule to send an email on node save printing a field value of a referenced node

I am using Drupal 7, and the modules References and Rules. I created two content types: A and B. A has a field (A:b_nodes) which is multiple node references of B which has field (B:time). How can I ...
-4
votes
0answers
25 views

Need to send out an email to site admin in case of error

Requirement: Need to send out an email to site admin in case any error comes up in watchdog/recent log messages. This will help us in fixing site issues at the earliest. Query: How to achieve this in ...
1
vote
2answers
493 views

Removing username from personal contact form

On the personal contact form, when someone cc themselves, the username of the user they are emailing is exposed. Many users actually type their full name as username, so for them to remain anonymous, ...
1
vote
1answer
24 views

Contact email flood limit is per whole system(application) or user/ip based?

I have a question with contact emails flood limit which is present in contact.settings.yml, the limit is going to for whole system(application-wide) or is it going to limit the number of emails per ...
2
votes
1answer
2k views

Can't send email with Bulk Operation?

Drupal 6 site running on remote server. I created a View of the User type. Then I create a display to show all users of my site. I set the Style of the display to Bulk Operation and in Selected ...
-1
votes
0answers
13 views

SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

SMTP Authentication Support module(1.7) suddenly stopped working in Drupal 7. I played with different configurations in SMTP Authentication Support with no success, opened inbound and outbound port ...
0
votes
1answer
462 views

SMTP Error: Could not connect to SMTP host

We have a new Drupal 8 site and are having issues with the SMTP module. The account we are using to send email works successfully on our Drupal 7 sites and in other cases, but we cannot get it to work ...
0
votes
3answers
1k views

Create email link

How do I create an email link on my site that is automatically placed in a user's email facility. This is a feature on many web sites I visit and prefer that to a contact form.
1
vote
2answers
328 views

How do I collect field values of a submitted webform?

I'm trying to integrate a Mailchimp mailing list into Drupal. The Mailchimp list requires: First Name Last Name E-Mail The client already has a list in this format so ideally I need to collect this ...
0
votes
1answer
333 views

Mail System module replacement?

We recently updated Drupal Core to 7.26. Since that update Mailsystem doesn't work correctly. We've had to remove it from our site. The error message we recieve is: PDOException: SQLSTATE[HY000]: ...
0
votes
1answer
32 views

Modification of HTML mail template

I am using HTML Mail module. I have created an html email template specific to my form(webform) in the template folder of my theme directory. My form name is newsletter and the template name is ...
0
votes
1answer
426 views

Printmail Form inside Colorbox

I am actualy trying to load the printmail form inside a colorbox. But when I am tryining to build up a link like this: <a href="/pages/demo/printmail/64?width=500&height=500" class="colorbox-...
3
votes
1answer
1k views

How to correctly set “reply to” address [closed]

I have both mail system and mime mails modules installed on Drupal 8 to do emails from website to users. Mail system: https://www.drupal.org/project/mailsystem Mime mail: https://www.drupal.org/...
3
votes
1answer
357 views

How to add html tags to account setting emails?

I am working on a project where I need to add some custom headers to the email which we send to the user on registration. Is there a module which support this functionality?
0
votes
0answers
7 views

Webform includes attachments only on manual resend, but not on initial form submission?

Using Webform and Mimemail to send HTML emails and uploaded files attached to emails. When submitting the form, the file is not attached to the email. The box is ticked: But if you edit the ...
1
vote
2answers
336 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 ...
0
votes
2answers
485 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 ...
3
votes
2answers
335 views

How to add a 'flag link' in an email?

I want to add a 'flag link' in an email. I have an event content type, and every time a new event created, the users get an HTML Email. I have a flag that the users can flag this event if they want to ...
0
votes
3answers
458 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 ...
0
votes
1answer
28 views

How do I include data from the order item type fields in the order receipt email?

I have created an "Event Registration" product type and order item type. In the order item type, I added fields for the registrant's name and job title. How can I print the submitted values for those ...
0
votes
1answer
434 views

How to set default reply-to address in webform?

I am using Webform Reply to module to set Reply to address for mails sent from webforms. This feature works fine but for each webform creation I have to set Reply to address because by default it will ...
0
votes
1answer
381 views

Use of Twig template for webform email

I'm trying to help my father out by building a webform (D8 version) for the 4 theaters his Old Abbey Friends are putting up. I've made the webform, now i'm setting up an email handler so that ...
1
vote
1answer
62 views

Email misses fields from form [closed]

This is regarding a Drupal 8 site, specifically Drupal 8.7.1 and the "Contact" module (with Contact Emails, Contact Storage enabled). The issue that I'm running into is some of the fields are not ...
0
votes
0answers
23 views

Rules action “Send Mail”: doesn't work for more than one recipient

I have installed Rules, Views Rules, Phpmailer. Test mail works. In a rule, I have three actions: 1) Send mail to a specific address: it works! 2) Send mail to all users of a role: it doesn't work ...
2
votes
2answers
647 views

theme contact form block

I am using contact_form_blocks-7.x-1.x-dev module. Using this module I have embedd contact us form in my website. For themeing I have created file named block--contact.tpl.php. Cleared cache, but it ...
0
votes
1answer
89 views

unable to get webform submissions into our mail

I'm unable to get webform submissions data into my default mail,but when submitting form i have received mail.getting below Body in my mail Submitted on Submitted by user: Submitted values are: ...
2
votes
2answers
2k views

Simplenews unsubscribe link shows a 404 Page

In my Newsletter the unsubscribe URL which is inserted by a token, returns a 404 page. The URL of my Link is: http://www.mysite.info/newsletter/confirm/remove/ What could be the issue?
3
votes
2answers
2k views

Custom user registration email - Drupal 6

I want to add image icons for Facebook, Twitter etc with associated links and Join Us hyperlink like Join Us to the user registration email. Can anyone give me idea?
1
vote
1answer
987 views

How to add custom email to account user emails?

There are a few email templates in account user emails page: "/admin/config/people/accounts". How can i add custom emails from my own module? I would like to have&edit all email templates in the ...
0
votes
1answer
414 views

Unable to create newsletters

I am logged in as user/1 and have created a News content type with publishing options as "Use as simplenews newsletter". I believe all the permissions are correct. When I try to add new content using ...
1
vote
1answer
344 views

How do I redirect the unsubscribe link in a newsletter to a particular node?

I am using the Simplenews module for sending newsletters, and the Mandrill service for sending emails. When I send a test newsletter to the test user, the unsubscribe link should be redirected to ...
0
votes
1answer
453 views

Display Edit and Delete links in views table

I am using NewsLetter Module for creating NewsLetters. I would like to create a view in table format for NewsLetters with edit and delete links on each row. How can I add edit and delete link on each ...
1
vote
2answers
5k views

Alternative to Simplenews, or a way to send formatted mailing lists to subscribers? [closed]

I have installed simplenews on Drupal 7 but it seems all the related modules: Simplenews Content Selection (to build up the newsletter using nodes or views) and Simplenews Template are outdated (...
1
vote
2answers
313 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
470 views

Customise Webform Email Submission Data

In the webform-mail.tpl.php template, it outputs the main form data using: [submission:values] I am using the html format (using mime-mail) and this outputs to the email html in the form: <div&...
0
votes
0answers
260 views

How to show newsletters lists options in the mailchimp free form?

When I try to create a list on my drupal site, i should only select one list from the mailchimp list dropdown so the user should subscribe to that list only using hte mailchimp free form. But I want ...
1
vote
4answers
3k 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 ...
1
vote
2answers
756 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
451 views

Image Styles not creating on one custom style only

I've run into this issue where we have created a custom style (emailthumb) which is to be used when sending out email newsletters via simplenews. The thumbnail is based on 'thumbnail' style but is ...
0
votes
0answers
21 views

Webform e-mail header

Not sure if I can explain this right, in any case here it goes... Having issues with rejected e-mail messages from the webform automatic e-mail generation. The messages are being bounced back because ...
15
votes
3answers
19k views

Send attachments with drupal_mail

I'm trying to send attachments with my email from Drupal. In my custom module i have added: class SponsorprogramMailSystem implements MailSystemInterface { /** * Concatenate and wrap the e-mail ...
0
votes
1answer
570 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?
2
votes
2answers
479 views

Sending mail to detailed groups?

Ok, I need a bit of help with this one. I have a website where I created a newsletter using Simplenews - works just fine, I'm sending some welcoming text + attached views of new things on site. But ...
1
vote
1answer
483 views

How do i generate token for each user they submit my custom form?

I have a created a custom module with simple form with only three fields ( Url, title & email ) , where user has to enter all the fields for submission. I am able to send the mail to the user ...
0
votes
1answer
702 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 ...