Questions tagged [emails]
Drupal core uses email for a number of important tasks, such as verifying authenticated users' email address.
1,398
questions
0
votes
1
answer
63
views
Create dynamic external link URL without filtering or stripping protocol
In my module I'm creating a dynamic external link to launch a local FileMaker database client and run a FileMaker script that finds a record like so:
FMP://192.168.123.123/DatabaseName.fmp12?script=...
1
vote
1
answer
583
views
Why am I unable to send an email order using the Ubercart and Smtp Authentification module?
After Ubercart checkout submitting order, I get this error:
Unable to send email. Contact the site administrator if the problem
persists.
I am using the SMTP Authentication Support module, I ...
1
vote
0
answers
81
views
How to send password recovery in user's saved language?
I have set everything accordingly as described in different answers of all this kind of questions, But could not solve problem.
I want to sent password recovery email either in English or in German ...
1
vote
2
answers
2k
views
How to send an email notification reminder based on a user's date of entry field?
The authenticated users on my Drupal website have "Entry date" in their profile (= date when they registered). I want to send out notifications to me (the admin) when a user has been registered on my ...
1
vote
1
answer
2k
views
Contact form placeholder translation
I am working drupal 8 site. In this site I create a contact form for contact page. I am able to translate field label but I want to translate my placeholder.I can't find any option for translate ...
2
votes
1
answer
481
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 ...
3
votes
2
answers
219
views
Send email to customers after particular period of time?
I am using the Drupal Commerce module and I have a product type service for license to be sold on site. I have different licences (products) like 1 year license, 2 year license, 6 months license and ...
2
votes
1
answer
94
views
How to send e-mail to node author 1w before date field in node?
I've got a content type with date fields. What I'd like to do is send a reminder e-mail to the post author one week before the value of the date field, with the rules module, or in another way. How ...
1
vote
1
answer
129
views
Submit is not working for contact form which was embedded by AJAX
I'm trying to add contact form with AJAX callback, called from another form. Form is embedding as well, but when I submit it only page is reloading and form doesn't send any data (in my case it's a ...
2
votes
1
answer
89
views
How to use different mail interfaces (Mail System)?
I have a newsletter (simplenews) being used from time to time and it uses SMTP server to send mail.
All other emails from my site should be sent using default interface. How do I do this?
I thought ...
1
vote
0
answers
106
views
All html styling is stripped in mails sent with HTML mail and SMTP Authentication
I use the SMTP Authentication Support module in combination with the HTML Mail module. I have set it up according to this post (https://www.drupal.org/node/1200142).
After writing the new classes as ...
2
votes
2
answers
456
views
Commerce / Rules - commerce-order:mail is empty for anonymous users
I'm having trouble sending order notification emails to anonymous users. As a bare-bones test I have created a new rule which triggers on 'Completing the checkout process', checks if the current user ...
0
votes
1
answer
89
views
Email sending doesn't work through Webform
I'm trying to get drupal webform to send confirmation emails to logged in users after they validated a booking form. (Windows and IIS Server)
I monitored Drupal Log reports/dblog and got this:
...
1
vote
0
answers
616
views
How do I debug hook_mail_alter()?
I need to debug $message on hook_mail_alter(&$message). In D7 it was pretty easy to dpm() on hook_mail_alter(). Now in D8 dpm() doesn't print the nicest output anymore.
I'ld like to see the ...
1
vote
0
answers
40
views
How to configure Multilanguage in D8? Front end in ES, Admin in EN
Use case in D8: Front end in Spanish (ES), Admin page in English (ES). Front end Users register/login in Spanish and view menus in ES. Content Type create is in spanish and do not need translation, ...
0
votes
1
answer
327
views
Disable welcome message for specific roles but keep for others, user_mail_notify
In Drupal 7...
I am trying to find a solution to disable the sending of the user mail register by admin for certain roles. I have scoured the internet and have come up with using a combo of ...
0
votes
1
answer
48
views
How to access personal contact form in search
Using Drupal 7. All of the people on my site have personal contact forms. When I type their name into the search bar, I get 'no results'.
I need people to be able to find users' personal contact ...
0
votes
3
answers
843
views
How can I make SMTP plugin work with multiple languages?
I'm using the SMTP Authentication Support plugin for mail from my Drupal 8 server.
Sending mail from a webform works fine as long as the visitor is using the default language, which is English. It ...
2
votes
2
answers
1k
views
How can I send HTML newsletters?
I have developed websites using Drupal since 1998. Getting Simplenews to send HTML formatted emails in D8 has been the most frustrating experience I've had in all those years. I am very upset. I find ...
3
votes
1
answer
344
views
How to use Rules to send separate email to every user referenced in user reference field?
I have a node with a user reference field, in which a user can select unlimited users who they have a relationship with. I'd like for the saving of this node to trigger a separate email to be sent (...
0
votes
0
answers
62
views
Auto reply to user is working but no email to admin in contact us
I want to use contact us form in my website but it is not working. I searched on Google and found many answers but they seems not relevant to me.
I have setup the contact us page and I can see the ...
2
votes
1
answer
2k
views
No Emails sent on User Creation in D8 through Rest API
I'm working in Drupal 8.2.4 currently and building a headless webapp using Rest Web Services module for the endpoints I need.
I'm using the endpoint /entity/user to create users, however the default ...
2
votes
1
answer
193
views
How to email the results of a filtered view to a user?
Required functionality (Drupal 7):
User filters a view to desired results
User enters email address in a
webform block
User is emailed the filtered list of results
I'm using Views (7.x-3.14), ...
0
votes
1
answer
29
views
Web forms senders to make their email secure
Make Web forms secure- can we have an option for senders to make their email secure when sending private information back like account numbers, is there an option for this in Drupal or is it possible ...
3
votes
1
answer
2k
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 ...
3
votes
2
answers
118
views
What is a good flexible way to send auto system emails to users? [closed]
I would like to know a good user friendly, easy to setup and flexible way to send automated emails to users. This will be in response to an event triggered by a user. I guess it does not matter what ...
1
vote
0
answers
230
views
Site is bricked; think it has to do with Contact Storage module
I built a Drupal 8 site about a year ago and installed the "contact storage" module to keep a database of contact messages. Last week I upgraded Drupal core to 8.2.3. After the install I ran the ...
1
vote
0
answers
75
views
How to store email sender info in message field using email contact module?
I am using email and email contact module. I added the field as following:
Front page displays as following:
When anonymous users enter name, email, subject and message, it sends email to recipient. ...
1
vote
0
answers
382
views
How do I find the mapping between profile fields and merge fields
I am using the Mailchimp module, version 7.x-3.6.
The client has asked for an extra merge field for Gender. At the moment, we just have First Name, Last Name, Username, and UID.
When I visit /...
0
votes
3
answers
50
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
0
answers
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
1
answer
761
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
1
answer
3k
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
1
answer
266
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
0
answers
90
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
1
answer
2k
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
1
answer
451
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 ...
4
votes
2
answers
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
2
answers
1k
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
1
answer
369
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
2
answers
133
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
1
answer
508
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
1
answer
79
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
1
answer
270
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 [email protected] which is default in site configuration. Now what I want ...
3
votes
1
answer
319
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
1
answer
74
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
1
answer
156
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
1
answer
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
2
answers
182
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
1
answer
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 ...