# Send email on later date selected via form

**URL:** <https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054>\
**Category:** Product Support\
**Created:** [March 15, 2022, 10:13am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054 "2022-03-15T10:13:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 15, 2022, 10:13am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/1 "2022-03-15T10:13:09Z")

</div>

**Your software**  
My Mautic version is: 3.3  
My PHP version is:  
My Database type and version is:

**Your problem**  
My problem is: Sending email on later date selected via form date picker

Hi there,  
Just wondering does anyone know how to get mautic to send emails via form date picker selected later date?

---

<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:** [March 17, 2022, 3:36pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/2 "2022-03-17T15:36:49Z")

</div>

Hi, sounds like an interesting feature. Can you ellaborate?

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 18, 2022, 7:49am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/3 "2022-03-18T07:49:22Z")

</div>

I’ve this form for gitfcards, it is possible to send the gitfcard code, “now” meaning immediately and “on later date” whatever date is selected with the date picker.

Is it possible to send the email on a later date with mautic according to the selected date? If so how?

 ![Screen Shot 2022-03-18 at 8.46.36 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7da5b685a25166e58dd9fba4381be38e213ac7d9.png)

---

<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:** [March 18, 2022, 8:19am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/4 "2022-03-18T08:19:12Z")

</div>

Hi, sure.

1. You can save the date as custom field.
2. Create a segment, where the custom date \> -1 day (it means yesterday)
3. Create a campaign starting with the newly added segment
4. The first step should be send the specific email after 1 day. (that will be the day you choose)

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 18, 2022, 9:44am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/5 "2022-03-18T09:44:45Z")

</div>

Thank you for coming back, sorry not clear with the first two steps:  
1 - You can save the date as custom field. - how exactly can I do that?  
2 - Create a segment, where the custom date \> -1 day (it means yesterday) - Ok, I’ve these options within the segment filters which one shall I select?

 ![Screen Shot 2022-03-18 at 10.42.22 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7bfb6f03e843d3faca5b289f997e8061b61070a9.png)  
3 - Should be ok  
4 - Should be ok

---

<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:** [March 18, 2022, 12:02pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/6 "2022-03-18T12:02:51Z")

</div>

Hi, you need to create your custom field. It can be done under the gear icon \> Custom fields

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 18, 2022, 12:53pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/7 "2022-03-18T12:53:22Z")

</div>

I’m sorry but I don’t think this is applicable to my case.  
I’ve users who will select random dates from the form later date picker, so the emails should be sent accordingly.  
Maybe I’m missing something?

---

<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:** [March 18, 2022, 12:56pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/8 "2022-03-18T12:56:44Z")

</div>

I’ll try to make a video next week.

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 18, 2022, 1:05pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/9 "2022-03-18T13:05:59Z")

</div>

That would be awesome, here’s how my segment and campaign settings look now.

 ![Screen Shot 2022-03-18 at 2.03.44 PM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9d4c2a5fa301f3d73542fd3296a432849620c7e1.png)  
 ![Screen Shot 2022-03-18 at 2.04.03 PM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b028359cf0193d8b3b069b26fb1b09b2fc850435.png)  
This should help in case you can point out if I’m doing something wrong.

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 23, 2022, 8:18am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/10 "2022-03-23T08:18:32Z")

</div>

truly looking forward to find a solution to this, any chance you could come back?

---

<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:** [March 23, 2022, 2:26pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/11 "2022-03-23T14:26:55Z")

</div>

Sorry very busy. I’ll record the video for you tomorrow morning.

---

<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:** [March 24, 2022, 11:48am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/12 "2022-03-24T11:48:28Z")

</div>

Here you go 🙂

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 24, 2022, 4:25pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/13 "2022-03-24T16:25:52Z")

</div>

Thank you so much for your help, I’ve set up everything exactly as you are mentioning in your video.  
I’ve headed over to my form for testing, picked up tomorrow’s date, and still got the email immediately ☹  
Not sure what I’m doing wrong, maybe the cron has something to do with that, how shall I set it eventually?

---

<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:** [March 24, 2022, 11:20pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/14 "2022-03-24T23:20:29Z")

</div>

Did u wait 1 day in the email?

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 25, 2022, 7:43am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/15 "2022-03-25T07:43:40Z")

</div>

Yes this is how my segment and campaign look like, I’ve followed your directions to a t

 ![Screen Shot 2022-03-25 at 8.40.30 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1a4534f83612fb976be5b4e36411c7e61af5b0da.png)  
 ![Screen Shot 2022-03-25 at 8.41.04 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/6aadcf6c073697bd465277a55870cda019692a04.png)  
The email is sent immediately though, what am I doing wrong or missing?

---

<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:** [March 25, 2022, 9:02am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/16 "2022-03-25T09:02:02Z")

</div>

Hmm. Can you plz post here the contact’s timeline relevant info?  
Similar to this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/049a9b7949d1d1961df8bbb62c9026d2b1da770c.png)  
I need to see how the segments / emails are scheduled

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 25, 2022, 9:17am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/17 "2022-03-25T09:17:01Z")

</div>

Hope I got it right, here’s the screenshot

 ![Screen Shot 2022-03-25 at 10.15.33 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d81e41c8380c59ac98ade280b4c91fcf994b3660.png)

---

<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:** [March 25, 2022, 9:19am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/18 "2022-03-25T09:19:35Z")

</div>

I don’t see the person landing in the segment.  
Are you still sending the Gift card as form action? 🙂

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 25, 2022, 11:26am UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/19 "2022-03-25T11:26:24Z")

</div>

I’m not sure what you mean, I’ve followed your directions as mentioned in the video you created, it doesn’t work though.  
The email is sent immediately even when the selected date is in the future.  
If you can tell me what shall I change in order to get it to work, it might be more productive.

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [March 25, 2022, 1:38pm UTC](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054/20 "2022-03-25T13:38:47Z")

</div>

maybe I can give you access to my mautic would that be even easier?

[Next page](https://forum.mautic.org/t/send-email-on-later-date-selected-via-form/23054.md?page=2)
