SMTP Issue when Reporting Issues and sending zero sized attachments
Hey, we've recently swapped from AWS SES SMTP servers to Postmark SMTP and now running into an issue.
AWS SES seems to tolerate sending zero byte attachments (and just doesn't attach them) but postmark rejects them with an SMTP Error code 300 - Zero-sized attachments not allowed.
I am assuming this is because the stderr file is zero bytes (though I want to include the stderr and stdout files where possible on emails).
- Can shinyproxy check if the file size is zero bytes before attaching the email and omit if it's zero?
- Or can shinyproxy emit some sort of commented header into the start of each file so they're never zero bytes?
We've had to roll this change back for now but would be good to get SMTP compliant emails out.
Hi, this seems like a bug that we can easily fix. I created an internal ticket and we will fix it in the next release. I
Hi
We just released ShinyProxy 3.2.0 which fixes this!
See the blog or release notes
Thank you for the suggestion!