Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CBSubs mailer setting for some users according to email provider

11 years 5 months ago #226962 by deltafidesign
I need to send an auto-mail using CBSubs mailer plugin to some users 2 weeks after last login.

I need to send this e-mail only to some users according to their e-mail provider. Example, I want to send e-mails only to users with xxxxxxx@yahoo.com and not to users with email address like xxxxxxx@live.com

How can I set conditions if possible?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #226997 by krileon
Believe the below should do as you're wanting.

Basic
Automatically send message at following date: 2 weeks after
Relative to this date of the plans below: Member's Last Online Date
But do not send message if it's later than: 1 month after

Conditions
First condition: This condition
Date A, Field A or Value A: Constant Value or String (CB substitutions can be used)
Value A: /^.+@yahoo\.com$/i
Date B, Field B or Value B: Following CB field
CB Field B: Email
Condition 1 (> for Dates): Regexp in Value A matches the value contained in Value B

It first sends based off the last time they logged in. It then checks that their email address contains @yahoo.com using REGEX.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum