Birthday email with auto action

9 years 9 months ago #247070 by crealiagroup
Birthday email with auto action was created by crealiagroup
Hi, is it possible to send an email to users for their birthday using an autoaction?

If yes, would you suggest me the procedure?


Thanks in advice.

Please Log in to join the conversation.

9 years 9 months ago #247076 by nant
Replied by nant on topic Birthday email with auto action

crealiagroup wrote: Hi, is it possible to send an email to users for their birthday using an autoaction?

If yes, would you suggest me the procedure?


Thanks in advice.


Since you are a Developer you have access to CBSubs and it has a very powerful mailer feature that you can use to accomplish this.

Please Log in to join the conversation.

9 years 9 months ago #247080 by crealiagroup
Replied by crealiagroup on topic Birthday email with auto action
Hi Nant, thanks for reply. Before installing CBSubs, that we dont really need for this website, we would try first an easier solution. So we just use auto actions for other purposes and meanwhile installing CBSubs just for that need we would try first with an autoaction if possibile.

Thanks in advice.

Please Log in to join the conversation.

9 years 9 months ago #247088 by krileon
Replied by krileon on topic Birthday email with auto action
Setup an email action to check if their birthdate field is equal to today in the conditionals. It should use the Internal Users trigger. Next setup a CRON task for the internal users URL found within CB Auto Actions > Config > Internal. Have it run daily. That should give you what you're wanting.


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.

9 years 9 months ago #247101 by crealiagroup
Replied by crealiagroup on topic Birthday email with auto action
Thanks Kyle for reply.
How should I set the condition? Could you please give me the correct parts?

Please Log in to join the conversation.

9 years 9 months ago #247135 by krileon
Replied by krileon on topic Birthday email with auto action
You'd need to use the CB date substitution and the substitution for your date field. You'd then to use one of the special conditional functions to make it strtotime so they can compare. Example as follows.

Conditional: strtotime([cb_birthdate]) Equal To strtotime([cb:date format="Y-m-d" /])

This should compare the users cb_birthdate date field to the current year month and day to see if they match.


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.

Moderators: beatnantkrileon
Time to create page: 0.246 seconds

Facebook Twitter LinkedIn