How to fix CBSub 30day reminder email problem.

9 years 4 months ago #253585 by jhurlbur
I am trying to configure a mailer to send reminders to members that are set to expire in 30 days.

I am using the following settings:

- Automatically send message at the following date - "30 days before"
- Relative to this date - Subscriptions Expiry Date
- Applies to all present and future plans
- must be in "Active" state
- But do not send message it is later than = 1 day.

The query works but it sends and then the next day resends mails to the same people. So you get the first email at 30 days, then again at 29 days. The plan is the run the cron task once a day every day. So I need the query to return only the 30 day people. How can I modify the query to do that ?

Thanks

Please Log in to join the conversation.

9 years 4 months ago #254014 by krileon
Set "Maximum messages per customer (0=unlimited)" to 1 and it should only send to the user once. If you set it to 30 days before then it'll send at 29, 28, 27, etc.. as you're allowing up to 30 days before expiration. To stop this you maybe able to set "But do not send message if it's later than" to "29 days before" so it only sends to 30 day users.


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.
The following user(s) said Thank You: nant

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.169 seconds

Facebook Twitter LinkedIn