Linked Questions

45
votes
4answers
39k 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?
2
votes
2answers
2k views

How could I send daily or weekly email in cron() function?

I have a content type in which I have drop down list with the values of "daily" and "weekly" and one field is of email. I want to setup the cron function like when the value of that drop down list is "...
1
vote
2answers
2k views

How do I run cron as an authenticated user?

On my site, user profiles are not public; the anonymous user does not have permission to access them. However, I want to send a view containing a list of member profiles in an email with Rules ...
0
votes
1answer
1k views

How to send an email once every 6 months using the Rules module?

How to send an email once in every 6 months at 12:00 am for a date field about user renewal which is there in user profile using the Rules module? Its mail should send in cyclic form every once in 6 ...
0
votes
2answers
546 views

How to trigger email by comparing date value in node?

I'm using Drupal 7, with Rules and Rules Scheduler. I have a content type "Tutorial Class", with fields as below: Class Date and Time Feedback requested (Radio button: Yes/No, default is no) I ...
0
votes
1answer
437 views

Running a Script with Job Scheduler API

I am trying to use the Job Scheduler Module's API to automatically run a script every 6 hours but I'm having problems getting it working. This is the code: function jobbank_cron_job_scheduler_info() ...
0
votes
2answers
218 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 / ...
0
votes
1answer
124 views

How to configure the CONTEXTUAL FILTER in a View for Rules?

I want to make a component that receives a user as parameter, and will then do something with some of that user’s content. That something is: delete nodes of contenttype FICHE that have a due date ...
1
vote
2answers
48 views

Rules component works different when fired by cron

I have a Rules Component that I want to run every week, using cron. The component's elements: set a variable (emailbodytext) viewsloop 1 to fill the emailbodytext with titles of all recent nodes ...
0
votes
1answer
30 views

module to test if e-mail is working

In D7 I'm trying to determine the best way to periodically check if e-mail is working. I'm looking for a way to create a workflow that, say, on cron would check the day of the month, if it's the day ...
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 ...
1
vote
0answers
20 views

Rule that sends one email out at specific time each day with view content in it

I have 5 different views that show different metrics within blocks on the front of my website. I want a rule that can send this information to me by email each day at a certain time. How do I do this, ...
0
votes
0answers
13 views

Rules Once per day - Can't figure out the Component Selector in a very simple rule!

I have created a component with action set and test it with execution and it works fine. Then i created a very simple rule: 1- event: one per day 2- no conditions 3- trying to fire the component , but ...