Defect #25116

redmine:email:receive_imap "attachments is invalid" At outlook file attach

Added by Daniel Drexlmaier almost 6 years ago. Updated 12 months ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Email receiving
Target version:-
Resolution: Affected version:3.3.2



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)


Server: Exchange
Client: Outlook 2016

E-mail forward the e-mail as an attachment in the e-mail.

Bildschirmfoto 2022-02-02 um 20.02.26.png (42.4 KB) Daniel Drexlmaier, 2022-02-02 20:02


#1 Updated by Toshi MARUYAMA almost 6 years ago

  • Status changed from New to Needs feedback

#2 Updated by Daniel Drexlmaier almost 4 years ago

Problem... U+1F642Slightly Smiling Face Unicode-Zeichen

#3 Updated by Daniel Drexlmaier 12 months ago

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`

#4 Updated by Daniel Drexlmaier 12 months ago

Solution: Convert table to utf8mb and set in file database.yml "encoding: utf8mb4"

Also available in: Atom PDF