# Sendgrid api help

**URL:** <https://forum.adalo.com/t/sendgrid-api-help/29881>\
**Category:** Get Help\
**Created:** [July 24, 2022, 1:25pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881 "2022-07-24T13:25:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JLCSerious](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@JLCSerious](https://forum.adalo.com/u/JLCSerious)\
**Post date:** [July 24, 2022, 1:25pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881/1 "2022-07-24T13:25:04Z")

</div>

Hi everyone,

I’m having some trouble sending out an email using the sendgrid API.

I’ve got a form in my app with a date picker in it, which saves the date to a database entry, this is fine and saves correctly. The API then uses this info to send a sendgrid email, however, the date in the email is always displayed as 19195, no matter what date is in the database in adalo.

Any ideas would be gratefully received! Thanks.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [July 24, 2022, 1:56pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881/2 "2022-07-24T13:56:37Z")

</div>

Hi @JLCSerious,

In your Custom Action what’s the input type you have created for the date? If it’s Date and Time can you try changing that to text and save it and try again?

Check this post by @JL_LJ : [Data formatting SendGrid - #7 by JL\_LJ](https://forum.adalo.com/t/data-formatting-sendgrid/28513/7)

Thank you

---

<div class="post-metadata">

**Author:** ![JLCSerious](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@JLCSerious](https://forum.adalo.com/u/JLCSerious)\
**Post date:** [July 24, 2022, 2:35pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881/3 "2022-07-24T14:35:55Z")

</div>

Hi @Dilon ,

Thanks for this. Looks like I have the same problem as he had, but this solution doesn’t work for me! Cheers

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [July 24, 2022, 2:39pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881/4 "2022-07-24T14:39:00Z")

</div>

That’s sad to hear, Jack! 🫥

Can you show us your setup and your preview from a video? ( You can use [Loom](https://www.loom.com/) )

---

<div class="post-metadata">

**Author:** ![JLCSerious](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@JLCSerious](https://forum.adalo.com/u/JLCSerious)\
**Post date:** [July 27, 2022, 8:10pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881/5 "2022-07-27T20:10:59Z")

</div>

Hi @Dilon,

This actually did work but didn’t save the last time I tried it! I just went through it again and it’s worked perfect;y, thanks for your help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [August 6, 2022, 8:11pm UTC](https://forum.adalo.com/t/sendgrid-api-help/29881/6 "2022-08-06T20:11:08Z")

</div>

Closed on August 6, 2022, 8:11pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
