This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new ecab7a3 place-o
ecab7a3 is described below
commit ecab7a3cf141274b2f29126307d1f02eb94a256d
Author: Daniel Gruno <[email protected]>
AuthorDate: Sat Nov 13 15:54:27 2021 +0100
place-o
---
server/endpoints/compose.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/endpoints/compose.py b/server/endpoints/compose.py
index 25b7736..3e601ec 100644
--- a/server/endpoints/compose.py
+++ b/server/endpoints/compose.py
@@ -75,7 +75,7 @@ async def process(
msg["To"] = to
msg["Subject"] = str(email.header.Header(subject, "utf-8"))
msg["Date"] = email.utils.formatdate()
- msg["Message-ID"] = f"<{pony-str(uuid.uuid4())}-{to}>"
+ msg["Message-ID"] = f"<pony-{str(uuid.uuid4())}-{to}>"
msg["User-Agent"] = "Apache Pony Mail Foal Composer v/%s" %
COMPOSER_VERSION
msg.set_charset("utf-8")
msg.set_content(body)