PDF Attachments

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

PDF Attachments

Postby yumveg » Thu May 10, 2018 10:06 am

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.
yumveg
 
Posts: 7
Joined: Thu Apr 12, 2018 11:16 am

Re: PDF Attachments

Postby ROCLASI » Thu May 10, 2018 12:45 pm

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 which supports POP3 and IMAP.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 8 guests