pdf or jpg not readable when received as an attachment

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
sphere
Posts: 899
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

pdf or jpg not readable when received as an attachment

Post by sphere » Fri Oct 10, 2014 3:57 pm

Hi,

i'm sure someone knows and i also read somethings about attachments send with email in windows.
So i build an application around the Sarah Reichelts email library. With lots of help of friendly people here i could solve several issues.
Now emailing an pdf or jpg goes ok, but even with the used library the attachments are not readable because their not coded correct, allthough thats the message outlook/adobe reader gives me.

any solutions on this? or directions to point me at?

thanks a lot !
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5138
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: pdf or jpg not readable when received as an attachment

Post by Mark » Fri Oct 10, 2014 4:14 pm

Please, post your script and attach one of those corrupt attachments to your post.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

sphere
Posts: 899
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: pdf or jpg not readable when received as an attachment

Post by sphere » Sat Oct 11, 2014 8:19 am

boy oh boy oh boy

was i asleep or something????? :shock:

of course it did'nt work.......man i must have been overworked or something.......i did send my fake pdf file, an empty txt file renamed as blabla.pdf. :oops: ..no matter it don't work...
i woke up in the middle of the night last night, and thought about this....pffffffffffffffffffff :twisted:

ok i'm going to take some extra sleep :|
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5138
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: pdf or jpg not readable when received as an attachment

Post by Mark » Sat Oct 11, 2014 3:58 pm

I was going to analyse your script, but I'm glad you found the problem already :-) Enjoy your rest!

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

sphere
Posts: 899
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: pdf or jpg not readable when received as an attachment

Post by sphere » Sat Oct 11, 2014 9:31 pm

Hi Mark,

much appreciated !

I will check monday with a normal "real" pdf file and see what it does.

If it still don't work i will repost the script again.

Thanks and enjoy the weekend !
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

sphere
Posts: 899
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: pdf or jpg not readable when received as an attachment

Post by sphere » Tue Oct 14, 2014 6:54 pm

Hi,

Sarah Reichelts attachement works perfect.
So going to try to get my script working too. Allready had it once, but then i changed a few times and don't rember exactly what.
But i figure it out.

Thanks!
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

Post Reply

Return to “Talking LiveCode”