Vote #78251
未完了redmine:email:receive_imap "attachments is invalid" At outlook file attach
0%
説明
Error:
MailHandler: Validation failed: attachments is invalid Rendered mailer/_issue.text.erb (4.4ms) Rendered mailer/issue_add.text.erb within layouts/mailer (9.1ms) Rendered mailer/_issue.html.erb (4.9ms) Rendered mailer/issue_add.html.erb within layouts/mailer (6.4ms)
Reproduce:
Server: Exchange
Client: Outlook 2016
Reproduce:
E-mail forward the e-mail as an attachment in the e-mail.
journals
See [[submissions]].
--------------------------------------------------------------------------------
Problem... U+1F642Slightly Smiling Face Unicode-Zeichen
--------------------------------------------------------------------------------
problem persists.
Problem Unicode-Symbols
ERROR -- : MailHandler: an unexpected error occurred when receiving email: Mysql2::Error: Incorrect string value: '\xF0\x9F\x94\xA5 S...' for column `xx`.`issues`.`description` at row 1: INSERT INTO `issues`
--------------------------------------------------------------------------------
Solution: Convert table to utf8mb and set in file database.yml "encoding: utf8mb4"
--------------------------------------------------------------------------------