# PDF Attachments

**URL:** <https://forum.servoy.com/t/pdf-attachments/19684>\
**Category:** Classic Servoy\
**Created:** [May 10, 2018, 8:06am UTC](https://forum.servoy.com/t/pdf-attachments/19684 "2018-05-10T08:06:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yumveg](https://avatars.discourse-cdn.com/v4/letter/y/ec9cab/32.png) [@yumveg](https://forum.servoy.com/u/yumveg)\
**Post date:** [May 10, 2018, 8:06am UTC](https://forum.servoy.com/t/pdf-attachments/19684/1 "2018-05-10T08:06:31Z")

</div>

I’m wondering if this is possible with Servoy?

Can I add a button on a form for the user to click which behinds the scenes, checks for emails and if it finds an email with PDF attachments it saves the attachment to a folder. I’d then save the PDF file’s name and saved location to the database and later on the user could select a PDF to display from a list.

I assume it is, tips on how to save the attachment from the email?

Thanks.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [May 10, 2018, 10:45am UTC](https://forum.servoy.com/t/pdf-attachments/19684/2 "2018-05-10T10:45:24Z")

</div>

Hi,

Did you take a look at the bundled mail plugin? It can handle attachments.  
It uses the POP3 protocol which, by default, removes the fetched emails from your server. But you can add the _leaveMsgsOnServer_ (boolean) property to disable that function.

Else you might want to look a the third party [MailPro plugin](http://servoy-plugins.de/plugins/mailpro/mailpro-plugin.html) which supports POP3 and IMAP.

Hope this helps.
