summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-12 22:54:36 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-13 00:14:31 +0100
commitd752cc0e0534f868011de63873ccbc32ae74a2dc (patch)
treeb48674d27f4e60539a4ddf48b57b8748a6944151 /src
parent810d16ad4b7f172163ed4bb8adc45a3d7183659a (diff)
non-smtp input
Diffstat (limited to 'src')
-rw-r--r--src/src/queue.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/src/queue.c b/src/src/queue.c
index ca6c47f44..5f7781c8e 100644
--- a/src/src/queue.c
+++ b/src/src/queue.c
@@ -1274,6 +1274,9 @@ switch(action)
{
if (action == MSG_ADD_RECIPIENT)
{
+#ifdef EXPERIMENTAL_INTERNATIONAL
+ if (string_is_utf8(recipient)) allow_utf8_domains = message_smtputf8 = TRUE;
+#endif
receive_add_recipient(recipient, -1);
log_write(0, LOG_MAIN, "recipient <%s> added by %s",
recipient, username);
@@ -1297,6 +1300,9 @@ switch(action)
}
else /* MSG_EDIT_SENDER */
{
+#ifdef EXPERIMENTAL_INTERNATIONAL
+ if (string_is_utf8(recipient)) allow_utf8_domains = message_smtputf8 = TRUE;
+#endif
sender_address = recipient;
log_write(0, LOG_MAIN, "sender address changed to <%s> by %s",
recipient, username);