[SOLVED] Send email if date field value is equal to today

12 years 5 months ago - 12 years 5 months ago #183682 by deltafidesign
Is there any way, maybe with some CB Incubator plugin, to send out an e-mail if the value in a date field is equal to today.

That's my case:

Date field: 25/12/2011

So when Christmas arrives, an e-mail is sent out to one or more e-mail addresses.

Is that possible?

Thanks

Please Log in to join the conversation.

12 years 5 months ago - 12 years 5 months ago #183736 by krileon
Yes this is possible. You'll need CB Auto Actions and to create an Email action. You'll need to use the below condition.

[cb:date format="Y-m-d" /] Equal To 2011-12-25

What trigger you use is up to you, but you may want to try and add other conditions to ensure it only sends out 1 time otherwise you could end up spamming users like crazy.

The above also does not require a field to accomplish. If you want to compare against a field then you could use the below for example.

[cb:date format="Y-m-d H:m:s" /] Equal To [cb_datefield]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 5 months ago #183863 by deltafidesign
Replied by deltafidesign on topic Re: Send email if date field value is equal to today
Thanks, that worked fine!

Please Log in to join the conversation.

12 years 3 months ago #189781 by deltafidesign
Ufter upgraded to CB Auto Actions 2.2.3 no e-mails are sent out. A bug?

Please Log in to join the conversation.

12 years 3 months ago #189802 by krileon
CB Auto Actions 2.3.0 is latest, please upgrade. Am not aware of any email sending bug.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 3 months ago #189806 by deltafidesign
Just upgrade to 2.3.0, still same issue

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.219 seconds

Facebook Twitter LinkedIn