Page 1 of 1

pdf or jpg not readable when received as an attachment

Posted: Fri Oct 10, 2014 3:57 pm
by sphere
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 !

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

Posted: Fri Oct 10, 2014 4:14 pm
by Mark
Please, post your script and attach one of those corrupt attachments to your post.

Mark

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

Posted: Sat Oct 11, 2014 8:19 am
by sphere
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 :|

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

Posted: Sat Oct 11, 2014 3:58 pm
by Mark
I was going to analyse your script, but I'm glad you found the problem already :-) Enjoy your rest!

Mark

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

Posted: Sat Oct 11, 2014 9:31 pm
by sphere
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 !

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

Posted: Tue Oct 14, 2014 6:54 pm
by sphere
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!