We used to store files as base64 strings in Postgres, but not anymore | The Official MailPace Blog

15-Sep-2023 681
Email attachments are always encoded into base64 for sending, so our API specifically asks for that as the input format. Yes, there are a million better formats for encoding binary data/images, but hey, SMTP is older than the internet, and attachments were hacked on as MIME types in the mid-90s, so here we are.P.S. If someone at Google, Microsoft or some other big email giant is reading this and wants to add support to SMTP for e.g. brotli encoded data, please do, and we’ll add support for it.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle