Send PDF from app via email

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Send PDF from app via email

Post by maxs »

Is it possible to send a PDF file stored in an app to someone via email?

Or can a pdf file be printed from an ios app?

Thanks , Max
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Send PDF from app via email

Post by Simon »

Check out mobileComposeMail in the dictionary.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Re: Send PDF from app via email

Post by maxs »

Thank you , Simon

Max
James Little
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 47
Joined: Thu Apr 27, 2006 11:19 pm

Re: Send PDF from app via email

Post by James Little »

I made a beginner mistake with this. I tried to include the file path using "file://" that didn't work. :D Just give the regular path with specialFolderPath.
Also, the standard MIME type for PDF is "application/pdf" not "text/pdf."
Post Reply