Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong behavior when submitting file attachment. #50

Closed
eriksimonic opened this issue Aug 2, 2016 · 4 comments
Closed

Wrong behavior when submitting file attachment. #50

eriksimonic opened this issue Aug 2, 2016 · 4 comments

Comments

@eriksimonic
Copy link

When submitting a form with an attachment field, and it is configured to send attachments by email, the attachment is empty.
See the screen shot.

image

@kjac
Copy link
Owner

kjac commented Aug 2, 2016

@eriksimonic Strange... that used to work 😄

I'll test and get back to you.

@kjac
Copy link
Owner

kjac commented Aug 2, 2016

Hi @eriksimonic,

I just tested attaching uploaded images to the notification email and it works fine when sending the mail to Mailtrap. Are you sure it's not your mail server that's giving you a hard time?

image upload

@eriksimonic
Copy link
Author

eriksimonic commented Aug 2, 2016

@kjac I will try to run it trough a debugger.

Definitly it is capturing all the attachments regardles of content lenght.

I would add an filter if attachment is 0kb in length
image

image

@kjac
Copy link
Owner

kjac commented Aug 3, 2016

@eriksimonic Fair point - I'll add that to the next release 👍

@kjac kjac closed this as completed in 9bc6e43 Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants