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) »
  • Dumb question about what Civimail can do ...
Pages: [1]

Author Topic: Dumb question about what Civimail can do ...  (Read 564 times)

pdelbar

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 3
  • Web integrator, Joomla freak, CiviFan
    • delius.be
  • CiviCRM version: 4.2.6/7
  • CMS version: Joomla 2.5.7 / 3.0
  • MySQL version: 5.1
  • PHP version: 5.3
Dumb question about what Civimail can do ...
February 10, 2013, 08:58:49 am
Probably been asked a hundred times, but here goes :
* if I want to send an email to all members of a particular group each hour, and then remove them from the group (kind of an autoresponder thing), does Civi support that ? If not, anyone who did that care to share ?
* sending off a one-off email to a contact during the course of a hook : possibility to reuse an existing email template ?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Dumb question about what Civimail can do ...
February 10, 2013, 09:13:24 am
Hi,

On 4.3 (or already on 4.2.7?) there is an api to create mailing and add people to a mailing, so in theory you could use it for drip marketing campaigns.

To re-use a template, you need to fetch it, do a token substitution and put the result as the body. Easiest is probably to take an existing code and check how it's done

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

pdelbar

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 3
  • Web integrator, Joomla freak, CiviFan
    • delius.be
  • CiviCRM version: 4.2.6/7
  • CMS version: Joomla 2.5.7 / 3.0
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Dumb question about what Civimail can do ...
February 10, 2013, 09:15:43 am
OK, will check the API ... did not find anything earlier. As for the token subs, I was hoping to steal code ... or find some class in the core which does that already :) will check for that.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Dumb question about what Civimail can do ...
February 11, 2013, 01:37:34 am
We don't have an api (yet) for the token, but you can call the core class directly
-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) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Dumb question about what Civimail can do ...

This forum was archived on 2017-11-26.