# Sending mails 2 weeks before a specific date

**URL:** <https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944>\
**Category:** General Discussion\
**Created:** [January 27, 2021, 4:25pm UTC](https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944 "2021-01-27T16:25:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![karinawpunkt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/karinawpunkt/32/1129_2.png) [@karinawpunkt](https://forum.mautic.org/u/karinawpunkt)\
**Post date:** [January 27, 2021, 4:25pm UTC](https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944/1 "2021-01-27T16:25:19Z")

</div>

Hi there,

I would like to set up an automated birthday campaign.  
Within this campaign, I want to send an e-mail to the users **2 weeks before** their birthday.  
Is there a chance to set up an automated email like that? Maybe with a mathematical formula in the sense of “birthday minus 14 days”?

I would be very thankful if anyone could help me with this issue.

Karina

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [January 27, 2021, 5:29pm UTC](https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944/2 "2021-01-27T17:29:32Z")

</div>

![Screenshot_2021-01-27 Edit Campaign Mautic](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/65a82466e80ae9730378b39e965cd9686b4c9a51.png)

If birthday is one of your contact fields you could use that contact field value as a starting point.  
I think it would require more segments than you would want to deal with. If i were in your shoes I would create January Birthdays for example, use segment filters for birthdays that month, and add segments to a birthday email campaign, but im sure others will chime in with some great ideas as well.

---

<div class="post-metadata">

**Author:** ![karinawpunkt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/karinawpunkt/32/1129_2.png) [@karinawpunkt](https://forum.mautic.org/u/karinawpunkt)\
**Post date:** [January 27, 2021, 6:42pm UTC](https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944/3 "2021-01-27T18:42:47Z")

</div>

That’s an interesting idea. So instead of saying “2 weeks before the birthday” I could send a mail in December to everyone in the segment “January Birthday”.  
But… could i do this in an automated campaign or would I need to do it manually? I guess it would be too complicated to create a condition saying “if today is December send out the mail to everyone in the segment of January” and having this condition for every month…

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 28, 2021, 12:39pm UTC](https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944/4 "2021-01-28T12:39:46Z")

</div>

There is a video about this:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5b54d0ef655a19086401363e0bd6b08931315e78.jpeg "Anniversary Campaign Mautic") ](https://www.youtube.com/watch?v=guc27DyC5hM)

I know about this from the Mauticast. It is really worth to listen to it:

> **[🔈 Mauticast #21: Omnichannel & Voice with Mautic (feat. Gaurav Mishra)](https://www.leuchtfeuer.com/en/mauticast/21/)**
>
> ▶ Upcoming Security updates ▶ Email verification and ▶ Email deliverability ▶ Crowd funding ▶ Anniversary campaign ▶ Mauticast Newsletter

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 28, 2021, 12:43pm UTC](https://forum.mautic.org/t/sending-mails-2-weeks-before-a-specific-date/17944/5 "2021-01-28T12:43:01Z")

</div>

Oh one more thing: the mathematical formula for two weeks in the future is: DATE equal +14 days

In the past 2 weeks:  
DATE is more or equal - 14 days

More than 2 weeks ago:  
DATE is less than -14 days
