element-hq / element-hq/synapse

Wrong e-mail address in `From` field with non-ascii characters

Open
#10,173 0 comments 0 reactions 0 assignees View on GitHub
A-Email-Push P3 S-Minor T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#10173](https://github.com/matrix-org/synapse/issues/10173).

---

### Description

I set the
`
notif_from: "%(app)s üzenet "
`
and I end up with:
`From: "Matrix üzenet "@maildomain.example.com`

The weird thing is that the:
`Return-Path: `
is correct.

### Steps to reproduce

- set the `notif_from:` to something like in the documentation
- restart synapse
- post message and wait for the e-mail notification

I expect to see `Matrix üzenet ` in the **From** field of the incoming mail.

### Version information

- **Homeserver**: Synapse 1.35.1

If not matrix.org:

- **Version**:

- **Install method**:

- **Platform**:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.