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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • send Email newsletter on N days after contact joining the group
Pages: [1]

Author Topic: send Email newsletter on N days after contact joining the group  (Read 1292 times)

madcat

  • I’m new here
  • *
  • Posts: 4
  • Karma: 1
send Email newsletter on N days after contact joining the group
November 22, 2009, 08:10:00 am
Hi all

Anyone's done a similar function, to send email newsletter to contacts in a group that is:

today = date-join-group + n-days (where n is the parameter)


some Email backend software can implement this kind of function as auto-responders. But I failed to do so in CiviMail. Was trying to implement this in my own module, but working with Mailing won't work because it will send to all contacts in the assigned group all together.

maybe using Email templates?

thx for any guidance on this!!

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: send Email newsletter on N days after contact joining the group
November 22, 2009, 08:24:28 am

I suspect this might make a great use case for integration with Drupal's action / triggers / rules (http://drupal.org/project/rules/)

Would be great if you can investigate and figure out what needs to do to make this happen. We are super keen to see this happen, so will definitely be willing to assist / investigate / help you in your efforts

since this is to a specific contact, i suspect u'd be using "send mail to contact" functionality rather than civimail functionality

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: send Email newsletter on N days after contact joining the group
November 22, 2009, 11:59:28 pm
You might also want to investigate custom searches:

Basically, that's a wrapper around a custom SQL, and you can then use them the way you want (eg send a mail). You can create a "newly joined" group.

Instead of having to create a new mailing, might be possible to re-use the same mailing every day (been a discussion, not sure the conclusion)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • send Email newsletter on N days after contact joining the group

This forum was archived on 2017-11-26.