Some images not accepted as attachment #3157
Replies: 1 comment 5 replies
-
|
No, PHPMailer does not make any distinction between images. The error you're seeing looks like a permissions problem more than anything else. Try a script that does something simple like |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I encountered an issue where some files where not accepted as attachment. Server response is "Could not access file". It started with one JPG of a hotel bill. I tried converting it to PNG - no luck. I tried saving it in Photoshop with lesser quality (same pixel size) - voilá, it got attached!
I tried editing it, removing certain parts of the image i Photoshop. Sometimes it was aceepted, sometimes it was not.
I suspected it has to do with some regulation about not being allowed to copy currency images (printers refuse to print currency images), so I tried using PHPMailer to send an image of a $100 bill - and it refused.
So, can you confirm this is the case? Does the project actively refuse to handla attachment images of what it believes to be currency bills? Note though, the first image was in fact a simple hotel invoice. Or is this maybe a windows settings? All the images can flawlessly be e-mailed through an e-mail client like Thunderbird.
Thanks,
Thomas
Beta Was this translation helpful? Give feedback.
All reactions