Defect #25116

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

Added by Daniel Drexlmaier over 5 years ago. Updated 5 months ago.

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

0%

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

Description

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.

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

History

#1 Updated by Toshi MARUYAMA over 5 years ago

  • Status changed from New to Needs feedback

#2 Updated by Daniel Drexlmaier about 3 years ago

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

#3 Updated by Daniel Drexlmaier 5 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 5 months ago

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

Also available in: Atom PDF