Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
9 votes
10 answers
13k views

Unable to send e-mail. Contact the site administrator if the problem persists

When my web form is filled and submitted, I get redirected to a page that says: Thank you for submitting. but theres a red warning box there that says: Unable to send e-mail. Contact the site ...
saadlulu's user avatar
  • 1,760
2 votes
1 answer
1k views

Rule to store user's last post date and scheduled rule based 30 day reminder

In this scenario, user's can post 1 node of a specific content type every 30 days (interval changes depending on user role). We are using node_limit to accomplish this; it's doesn't play with rules. ...
Sam Roy's user avatar
  • 53
2 votes
2 answers
855 views

How to implement a follow author (or user) function? [closed]

Is it possible to implement a Follow button for authors of posts in Drupal 7, so that users can: Follow any one they wish, and Be notified about the new posts of those authors. This sounds like '...
rakibtg's user avatar
  • 1,324
50 votes
4 answers
48k views

How to programmatically send an email?

I'd like to use Drupal's email system to programmatically send an email from my custom module. Is that possible?
Naoise Golden's user avatar
0 votes
3 answers
967 views

How can I set a reminder for a specific user to be triggered on a specific date?

How can I set a reminder for a specific user to be triggered on a specific date (in a Drupal 7 site)? Example: I want to remind the user regarding particular event such as hepB vaccination day. Any ...
rose's user avatar
  • 129
3 votes
1 answer
1k views

How to iterate over all field collection items in an eMail body using Rules?

I'm trying to write a rule (using Rules) that will send an email to users of a role. Within the body of the email, I'd like to display the contents of a nested field collection. I've tried using what ...
rrirower's user avatar
  • 349
7 votes
4 answers
2k views

How can I send email to user that is not logged in since 30 days?

I am using Drupal 7, and I want to send email to registered users who have not logged in to the site since 30 days; for example, an email saying: Hello user, you are not login since 30 days. Is ...
joelle lonnie's user avatar
32 votes
4 answers
54k views

How to use drupal_mail() to send emails with custom template

I would like to use the drupal_mail() function to send out emails but with a custom HTML template so that they are in keeping with my website design but I am a complete newbie to hooks and modules etc....
Andy's user avatar
  • 775
7 votes
3 answers
851 views

Use email to validate post, not unlike craigslist

I'd like for anonymous users to be able to post nodes to my site. By default their post is unpublished, but when they submit it, the site sends an email with a verification URL. When they revisit the ...
paul-m's user avatar
  • 2,505
3 votes
2 answers
11k views

How to create a task which run at cron time and send emails to users?

Is there a module (based on cron) which can be used to check a date value form a field and to send email to users 2 days before the date? If there is not, how can I implement this to work with cron?
EKK's user avatar
  • 4,350
0 votes
2 answers
3k views

How do I need to configure SMTP Auth?

I have dedicated FreeBSD box, The email sending without smtp module is working perfectly but very slow. The receiver receives email after almost 15 mins. I checked the maillog it says delays and ...
user avatar
25 votes
5 answers
40k views

How to send HTML email

I am creating a simple module which will be sending HTML emails to users for deals in our website. I have searched a lot, but I can't find a solution proper solution for Drupal. Now I can send mails ...
mrcniceguy's user avatar
15 votes
7 answers
15k views

Which newsletter module will fit my requirements?

I'm trying to implement a newsletter for my users to subscribe to and I'm noticing that there are a lot of different newsletter modules out there. I'm was looking for one that will easily allow me to: ...
Mike's user avatar
  • 866
3 votes
3 answers
7k views

Put Site-Wide Contact Form in a Block [closed]

I want to display the contact form inside a block, so that a user can access it directly from another page. Using Webform Module to create a new form would be overkill. Is there a simple way to do ...
mtro's user avatar
  • 982
3 votes
1 answer
937 views

How to use Rules to send an eMail with a body containing all items of a field collection?

I've defined a content type that contains a field collection. The field collection contains 4 fields. When the content is created, it may have one or more of the field collections. I set up a rule to ...
rrirower's user avatar
  • 349
2 votes
1 answer
293 views

How to use Rules to email users when any field(s) is changed in a node (and include the unchanged/changed values for that field)?

I know how to email using Rules when a field in a node is changed and add conditions for particular fields whether they were changed. But I would like the email to contain the info which field(s) ...
hkdalex's user avatar
  • 121
2 votes
2 answers
6k views

How can I email all registered users?

A lot of similar questions show up in Google, but I can't find a solution for Drupal 7.
Mawg's user avatar
  • 269
1 vote
1 answer
2k views

Send email of form data?

I have a block module that looks like this: Created in the following way: function VL_newsletter_signup_block_info() { $blocks['my-block-id'] = array( 'info' => t('Enjoy Stories? - ...
Scott Lawrence's user avatar
0 votes
1 answer
244 views

Taxonomy terms follow/unfollow module (even for anonymous users)

I want a subscriptions/notifications like module which works for anonymous users too. Users should be able to subscribe to a taxonomy term, and then be alerted if content is created for that term. ...
Pratik Bothra's user avatar
-2 votes
3 answers
498 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 (...
Quentin's user avatar
  • 23
15 votes
3 answers
25k 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 ...
andeersg's user avatar
  • 339
14 votes
3 answers
16k views

Set the "from" header in the email to be in the format "Full Name" <[email protected]>

How can I change the from header in the email sent from Drupal to be in the format "Fullname" <[email protected]>? I managed to do it on a Drupal 6 site at one point in the past, but I no ...
maxedison's user avatar
  • 1,231
11 votes
5 answers
2k views

How can I allow users to receive e-mails whenever I update my blog in Drupal 7?

I have a blog in English and Japanese in Drupal 7. I created this blog using a custom content type and Views, not the built-in blog module. I have an RSS feed (made in Views) for each language. I ...
Patrick Kenny's user avatar
7 votes
1 answer
5k views

"user:one-time-login-url" token not getting replaced by token_replace

I'm trying to send e-mails to users manually by using the hook_mail_alter hook. The following is my function in its entirety: function custom_module_mail_alter(&$message) { $email = '[user:...
Peter's user avatar
  • 691
6 votes
1 answer
9k views

Drupal 7 webform module is not sending email properly

I have this modules enabled in my Drupal 7 site: Mail System v7.x-2.34 Mime Mail v7.x-1.0-alpha2 Smtp Authentication v7.x-1.0 Webform v7.x-3.19 I have configured Mail system to "format" mails with ...
Jaime Rivera's user avatar
6 votes
4 answers
12k views

Send mail with attachment using the MIME Mail module

I am not able to send mails with an attachement using the MIME Mail module. There isn't munch documentation about this module, but some people claim they have successfully used the module, and sent a ...
Michiel's user avatar
  • 1,567
4 votes
2 answers
2k views

Remove the extra headers from the e-mails sent

My site is made of book(book pages) and any authenticated user is able to send the book page as an e-mail to anybody (other user in the site / external user using e-mail) he wishes. The mail system is ...
AjitS's user avatar
  • 10.9k
4 votes
3 answers
2k views

Contact form is not being translated

I have a multilingual Drupal 7 site with following languages enabled: Dutch (default) French Now when I enable my sitewide contact form, and navigate to it using Dutch (http://www.mywebsite.com/nl/...
Nathan's user avatar
  • 141
3 votes
1 answer
348 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 (...
hockey2112's user avatar
  • 1,244
3 votes
2 answers
137 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 ...
Umair's user avatar
  • 441
3 votes
2 answers
662 views

How to delay sending emails using Rules to avoid being considered as a spammer?

I created a rule for users, who subscribed on another user to get messages of this user new content: Events EVENT After saving new content Conditions ELEMENTS None Actions ELEMENTS ...
AlexEfremo's user avatar
3 votes
3 answers
12k views

drupal_mail() in HTML

I want the outgoing mail that is sent by my custom module to be in HTML, but I dont know how. This is my submit function: //create an array from the companies in the db in a comma separated list $...
Daniel Holm's user avatar
3 votes
1 answer
343 views

How to inspect outgoing email content during a SimpleTest?

I see that SimpleTest has a few built in mail functions to check for send success etc, but how can I send a message, assert its content and then click a link within that content during a test? What ...
Citricguy's user avatar
  • 7,934
2 votes
2 answers
1k views

How to conditionally change email content from Webform submissions [closed]

Reading the docs I can see that you can conditionally change the recipient of a webform email based on a field value, but that's not quite what I want to do. I want to modify the content of the ...
Coleman's user avatar
  • 1,362
2 votes
1 answer
546 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: ...
Azz Kawa's user avatar
  • 749
1 vote
1 answer
518 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 ...
user avatar
1 vote
2 answers
303 views

How to get notified by eMail after someone edited his own webform submission?

I have a webform, and I'd like to be notified whenever someone edited his own submits. I'm using the Webform module. I found the Webform Rules module but I didn't get how to use it, any way to set ...
Imanelek's user avatar
  • 177
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 ...
Vasmir's user avatar
  • 223
1 vote
2 answers
8k views

Why are my HTML emails so garbled?

I'm using the Mimemail, Mail System and SMTP Authentication Support modules (plus a few others) to send html email. I'm basically following these guidelines, except I'm using Mimemail instead of ...
doub1ejack's user avatar
1 vote
2 answers
9k views

How to send email in drupal

I have drupal site in that ,i want to send a email to charities when donor post a donation..,and i want to send a email notification to charities,so how i send email using drupal7 $message = array( ...
wordpresrox's user avatar
1 vote
2 answers
6k views

How to theme simplenews newsletters in D7?

I'm looking for something like a walk-through. (The guide here, http://drupal.org/node/268404, was apparently written before the D6 rewrite). The reason I'm after this is that when I use the default ...
Mittenchops's user avatar
1 vote
1 answer
313 views

Send email with profile2 fields with account email token in rules

I am trying to send an email to users contains information they put into their profile2 fields when they registered on the website. My problem is that their is no email field token available in rules ...
Roadkill's user avatar
1 vote
2 answers
905 views

How to email all group members after a new node is added when using the Group module?

I have created one group using the Group module. In that group I have 1 node type and 3 members. I want to send a confirmation email to group members whenever I add new nodes of that node type. How ...
Sonvir Choudhary's user avatar
1 vote
1 answer
229 views

Mailing content to a list/group of email addresses

What kind of module should I use to send content to a list of emails? I need to create a groups with list of emails. I need to send it to one or a few of these groups. I need for admins to be able to ...
Nerijus's user avatar
  • 11
0 votes
2 answers
71 views

Send email to all users that are tagged with the same tag a node is when created

There is a lot of similar questions here but I am having a hard time wrapping my head around this. I have a taxonomy term reference field called field_category. This field is available on user/*/edit ...
jpshayes's user avatar
0 votes
2 answers
554 views

Print commerce pricing attributes to email receipt

Users cannot see what size or color shirt they purchased in the email receipt because tokens won't print the attribute fields provided by Commerce Product Attributes / Commerce Pricing Attributes / ...
user3108268's user avatar
0 votes
1 answer
115 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 ...
user avatar
0 votes
2 answers
1k views

How to attach files using mimemail (Getting 0kb file)

(This isn't the same as the other issue I raised. I thought I'd got the attachment working but I haven't) Initial Problem I'm trying to attach a file to an email. It's part of job application so a ...
Dominic Woodman's user avatar
0 votes
1 answer
339 views

How can I change the default link to the email contact form?

I'm trying to change the default link generate by the email_field module so It shows an image instead of the text (Contact person by email). I went into the module and foun the part I need to change, ...
Jimmy Raets's user avatar