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) »
  • Resent an email (only to the newly added contact to the group)
Pages: [1]

Author Topic: Resent an email (only to the newly added contact to the group)  (Read 1044 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Resent an email (only to the newly added contact to the group)
April 15, 2009, 01:17:34 am
Hi,

I want to send a "welcome" emails to each person on a group, and obviously that each person receives it only once. Ideally it would be as simple of having a welcome mailing that I requeue from time to time, and when the cron is run, it will treat it like a mailing that has been interrupted, ie. send only to the contacts that haven't received it yet (because they weren't in the group at the time of the last mailing).

Is there a button I missed ? What if I change the status of the mailing ?

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

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Resent an email (only to the newly added contact to the group)
April 15, 2009, 08:12:42 am
Once you send a mailing Add that particular group members to "Mailing Send" group. So when you send same mailing again, you can add  "Mailing Send" in exclude contacts. In this way only new contacts that were added to your main Mailing group will get emails.

HTh

Kurund
Found this reply helpful? Support CiviCRM

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Resent an email (only to the newly added contact to the group)
April 16, 2009, 09:53:19 pm
Hi,

I want to run it daily, and automatically, without having to clutter the sent list.

At what time is the recipients list created ? on the sending or at the creation ? ie. what if I change the status from completed to running ? is it going to include the new contacts ? Any naughty side effect I might get ?

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

Shailesh Lende

  • Guest
Re: Resent an email (only to the newly added contact to the group)
April 20, 2009, 02:16:47 am
Hi,
Quote
what time is the recipients list created
Recipients list is generated, when mailing is get delivered.

Quote
what if I change the status from completed to running

 Its not only status which decides "whether run mailing cron or not". CiviMail aslo compares
Code: [Select]
.scheduled_date <= $currentTime.

Quote
I want to run it daily, and automatically, without having to clutter the sent list.

 For this, you can try this

Write a own cron job which will do following :-
 a) Run bin/civicmail.cronjob.php
 b) Add all contacts of group in new group as "Mailing Send" as described which is pre- excluded from mailing groups.
 c) Increment Scheduled date as  civicrm_mailing_job.scheduled_date  = currentdate +1 and update Status as civicrm_mailing_job.status ="Scheduled"

Hth
-Shailesh

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Resent an email (only to the newly added contact to the group)
April 22, 2009, 01:53:30 pm
Hi,

Thanks for your suggestions. What happens when a mailing stops in the middle of a sending ? Is CiviMail able to properly restart and only send mails to the ones haven't received it yet ?

(in that case, I'd be able to skip the "mailing sent" step, isn't it ?)

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) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Resent an email (only to the newly added contact to the group)

This forum was archived on 2017-11-26.