Net::SMTPFatalError: 550 Could not send 开发者_StackOverflow中文版e-mail, max size of 20480000 bytes exceeded
1). Firstly i do not understand why it fails as, 16Mb < 20480000 bytes(+/-19 Mb)
2). How can i mail files larger than 19MbI am using heroku's sendgrid addon, and rails 3 with amazon s3
Normally when you attach a binary file to a mail message it gets translated to an ASCII format, and the size grows with about 30% - in your situation that means the maximum file attachment can have somewhere between 15 and 16M.
精彩评论