shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

SMTP Issue when Reporting Issues and sending zero sized attachments

Open danielloader opened this issue 10 months ago • 1 comments

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.

danielloader avatar Mar 02 '25 17:03 danielloader

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

LEDfan avatar Mar 07 '25 14:03 LEDfan

Hi

We just released ShinyProxy 3.2.0 which fixes this!

See the blog or release notes

Thank you for the suggestion!

LEDfan avatar Jul 08 '25 07:07 LEDfan