CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • question about CiviMail and smart groups
Pages: [1]

Author Topic: question about CiviMail and smart groups  (Read 1781 times)

mini_mei

  • Guest
question about CiviMail and smart groups
July 03, 2007, 07:37:13 am
I want to create a smart group that looks if a contact's birthday is today and if so automatically sends them a mail
(that's already uploaded of course so I guess this would be a resend) is this possible, and if so how?

I've had a look into the Search Builder Documentation and in the Special Search Criteria for Dates it only said
Quote
Use YYYYMMDD format. Example: Enter August 18, 2006 as 20060818
but nothing about a "today" ...and I can't create 365 smart groups just to get every day

also can that mail (just a simple "happy Birthday mail") be sended automatically (cronjob ?) or would I have to check
every day if a contact is in that smart group on that day?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: question about CiviMail and smart groups
July 03, 2007, 08:18:26 am

Unfortunately you cannot do the below in CiviCRM easily today. Your best option is to do the below by writing a custom PHP script to get the information from CiviCRM (using the api's) and send them mail. You can then run the script on a daily basis using cron

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mini_mei

  • Guest
Re: question about CiviMail and smart groups
July 03, 2007, 08:24:19 am
oh bummer.....
well thank you for the quick reply lobo!

businessbroker

  • Guest
Re: question about CiviMail and smart groups
December 14, 2008, 06:15:34 pm
it is now possible to do it now? how is gone this task? do you need help in it?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • question about CiviMail and smart groups

This forum was archived on 2017-11-26.