# Envoyer un mail avec une pièce jointe

**URL:** <https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307>\
**Category:** Ask for Help\
**Created:** [June 29, 2023, 12:30pm UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307 "2023-06-29T12:30:08Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredodo](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@fredodo](https://community.glideapps.com/u/fredodo)\
**Post date:** [June 29, 2023, 12:30pm UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/1 "2023-06-29T12:30:08Z")

</div>

Bonjour,

Je voudrais créer une page où les utilisateurs peuvent uploader un fichier de leur téléphone et qu’ensuite ça me l’envoie directement par mail. Avez-vous une idée ?

Merci

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [June 29, 2023, 12:41pm UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/2 "2023-06-29T12:41:16Z")

</div>

To allow your users to upload a file you could use the file picker.

> **[Glide • File and Image Pickers](https://www.glideapps.com/docs/reference/components/file-and-image-pickers)**
>
> Let users upload files and images to your projects

To send an email you could use the send email action (available for pro plans or higher)

> **[Glide • Send Email](https://www.glideapps.com/docs/reference/actions/send-email)**
>
> Send an email directly from your project with a single click.

If you can’t use the send email action you could use a compose email action

> **[Glide • Compose Email](https://www.glideapps.com/docs/reference/actions/compose-email)**
>
> Trigger an email draft on the user's device.

I hope this helps!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 30, 2023, 12:26am UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/3 "2023-06-30T00:26:01Z")

</div>

> [@Eric\_Penn](#):
>
> To send an email you could use the send email action (available for pro plans or higher)

To extend on this, the clearest option is to include the file URL in the body of the email. If OP wants to attach the file itself, I don’t think it’s doable within Glide.

---

<div class="post-metadata">

**Author:** ![fredodo](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@fredodo](https://community.glideapps.com/u/fredodo)\
**Post date:** [June 30, 2023, 7:36am UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/4 "2023-06-30T07:36:22Z")

</div>

Thank you for your answers. In fact, I’ve created an absence form and I’d like users to be able to send me their receipts. For the moment I receive their proof in the table but I haven’t managed to automate with “actions” the automatic sending or a notification that I have a proof that has been sent.

Thanks

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 30, 2023, 11:14pm UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/5 "2023-06-30T23:14:27Z")

</div>

If it’s a form, you can add an on-submit action to send an email to yourself. Please let us know if you have any further questions.

---

<div class="post-metadata">

**Author:** ![fredodo](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@fredodo](https://community.glideapps.com/u/fredodo)\
**Post date:** [July 3, 2023, 10:08am UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/6 "2023-07-03T10:08:21Z")

</div>

> [@ThinhDinh](#):
>
> f it’s a form, you can add an on-submit action to send an email to yourself. Please let us know if you have any further questions.

Thank you for your reply. I did add a “submit” button. I think I’ve set it up wrong because it’s giving me an error message. Unfortunately, I can’t figure out where my error is coming from, knowing that my database table is filling up fine.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 3, 2023, 4:30pm UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/7 "2023-07-03T16:30:54Z")

</div>

You added a button inside of a form that already has its own buttons?

I think @ThinhDinh meant that you should add an on-submit action on the form. Not add an additional button.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 3, 2023, 11:59pm UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/8 "2023-07-03T23:59:25Z")

</div>

Also, can you let us know what plan are you on? Is it a paid plan?

---

<div class="post-metadata">

**Author:** ![fredodo](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@fredodo](https://community.glideapps.com/u/fredodo)\
**Post date:** [July 4, 2023, 8:10am UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/9 "2023-07-04T08:10:24Z")

</div>

I have a free plan.

---

<div class="post-metadata">

**Author:** ![fredodo](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@fredodo](https://community.glideapps.com/u/fredodo)\
**Post date:** [July 4, 2023, 8:12am UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/10 "2023-07-04T08:12:05Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/3/f34318b3b2ff9001caca6d75799fd465e0d62a72.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 4, 2023, 11:01am UTC](https://community.glideapps.com/t/envoyer-un-mail-avec-une-piece-jointe/63307/11 "2023-07-04T11:01:41Z")

</div>

Then I think the send email action won’t work for you, I believe it’s a paid feature.
