It would be good if there was also an option to send users an email before their birthday, for example 7 days before. This is good for sending offers to be used on there Birthday.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 623476-rules_support.patch | 2.01 KB | nevergone |
Comments
Comment #1
renzge commentedHello
i am also interessted in an option sending an email eg 14 days before birthday (to get present)
king regards
renzge
Comment #2
marcus178 commentedThis would be a massively useful feature maybe some sort of integration with rules
Comment #3
moxwai commentedVote one! i'm interested in this an might have a customer that will pay.
Comment #4
Anonymous (not verified) commentedI need this feature too.
Is there any way with triggers and/or rules to do so or do we have just to wait for the option?
Thanks.
Comment #5
Niklas Fiekas commentedBumping to 7.x. This would definitely be useful.
Unless someone volunteers to write a patch or co-maintain the D6 version, this won't happen there.
Comment #6
nevergoneInitial support with variables.
Comment #7
nevergonePatch formatting
Comment #8
Niklas Fiekas commentedVery nice, thank you!
An extra +1 for fixing this ancient issue.
http://drupalcode.org/project/birthdays.git/commitdiff/43d70bca8b16d015e...
Comment #10
hockey2112 commentedCan anyone provide some guidance on how to set up a rule that will auto-send an email to any user whose birthday is "today"? Thanks!
Comment #11
lukasss commentedCan anyone provide some guidance on how to set up a rule that will auto-send an email to any user whose birthday is "today"? Thanks!
Comment #12
hockey2112 commentedHere's how I ended up doing it:
1. Go here: admin/structure/trigger/birthdays Assign the "Happy birthday mail" action.
2. Go here: admin/config/system/actions . Click "Configure" next to the happy birthday mail.
3. Edit the subject line, content, etc.
4. Save.
The birthday emails are sent on cron run. I wasn't able to find a good way to test it, so I'm sure a few of my users received birthday emails that needed formatting work, etc. ;)
I would love to handle all of this in Rules... you'd be able to assign it only to certain user roles for purposes of testing, and I think it would give you better fine-tuned control over when the event occurs. Alas, I was unable to figure out how to do so.
Comment #13
lukasss commentedthank you very much
Comment #14
lukasss commentedVery strange! After all, the title theme written about Rules. Installed this patch created a rule - does not work. Trigger at all strange works - that the letters come, do not come
Comment #15
nevergoneCron setup?
Comment #16
lukasss commentedfrequency of run 5 minutes
Comment #17
lukasss commentedKind of figured out:
Letters are sent to the crown. After sending another memorable moment last run in variable birthdays_last_cron. To properly debug module is necessary at all times to change its value on a year ago)))
Pleased that the rules are working
Comment #18
hockey2112 commentedI don't understand, how did you get the rules to work?
Comment #19
lukasss commented1. create rules "Current birthdays" with any action
2. install module devel: https://www.drupal.org/project/devel
3. go to http://MY_SITE/devel/variable/edit/birthdays_last_cron
4. there is date in the format unix - last cron run
5. Update this variable: "The current date" - "1 year + 1 day"
6. Run cron - Your rule should work
I hope you understand
Sorry very very very bad my english
Comment #20
igorik commentedis there a chance to move the functionality from trigger to rules?