#224 Sending confirmation email fails if user display name contains "@"

Öppen
öppnade 3 år sedan av clacke · 0 kommentarer
clacke kommenterad 3 år sedan

To reproduce:

  • Set user display name to a name including a @.
  • Request e-mail confirmation.

Expected behavior:

  • Email gets sent.

Actual behavior:

  • Failed to send data [SMTP: Invalid response code received from server (code: 550, response: header syntax)]

Solution: If display name contains a non-atext character according to RFC 2822, it needs to be sent as a qtext according to RFC 2822.

To reproduce: - Set user display name to a name including a `@`. - Request e-mail confirmation. Expected behavior: - Email gets sent. Actual behavior: - `Failed to send data [SMTP: Invalid response code received from server (code: 550, response: header syntax)]` Solution: If display name contains a non-`atext` character according to RFC 2822, it needs to be sent as a `qtext` according to RFC 2822.
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.