On our website a user can upload a file. That file is saved to our database (SQL) and then an email sent with the uploaded file as an attachment.
When we test on the dev server everything works fine (so there is no problem with the code).
When we test on the prod server the email comes with attachment that is 64b and blank. Both servers have same configuration. The only difference is that prod server has SSL.
Please, help. We keep receiving blank attachment.