Internationalized emails
Intrexx can also process email addresses that contain non-ASCII characters. These email addresses, called IEA in the following, can contain non-ASCII characters in both the local part (mailbox name) and the domain name that can be encoded in UTF-8.
Processing means:
-
Recording email addresses in Intrexx
-
Displaying email addresses in Intrexx
-
Displaying "mailto:" URIs in Intrexx
-
Creating emails in Intrexx
-
Sending emails in Intrexx
-
Accessing emails in processes via IMAP
There is limited support for this as of Intrexx Silent Track with Online Update 02. Limited means that so far there are no reference values for all system components regarding the conditions for processing IEA without errors.
Requirements
As of Intrexx Silent Track with Online Update 02, Intrexx provides support for internationalized emails. This should allow all purely internal processing steps such as recording, displaying and generating IE to work.
To be able to send emails with IEAs, the mail server configured in Intrexx must support the SMTP extension SMTPUTF8. For the email to reach its recipient, this requirement must also be met for all mail transfer agents along the way.
Whether an SMTP server supports SMTPUTF8 can normally be determined via telnet.
# telnet smtp.example.org 25
Trying 10.1.2.3...
Connected to smtp.example.org.
Escape character is '^]'.
220 smtp.example.org ESMTP Postfix (Debian/GNU)
EHLO me
250-smtp.example.org
250-PIPELINING
250-SIZE 819200000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
250-SMTPUTF8 in the response to the EHLO message indicates that the mail server supports the SMTPUTF8 extension. Alternatively, looking at the documentation of the corresponding product will also help.
For JavaMail to support SMTPUTF8, the property "mail.mime.allowutf8" must be set to "true" in the configuration of the email service in Expert settings.
In order for IEAs to be entered via email edit controls, a suitable regular expression for the pattern attribute must be specified in expert mode.
Suggestion for Intrexx 10.0:
[a-zA-Z0-9!#$%&'*+-/=?^_`\{|\}~\u0080-\uFFFF]+(\.[a-zA-Z0-9!#$%&'*+-/=?^_`\{|\}~\u0080-\uFFFF]+)*@[a-zA-Z0-9-_\u0080-\uFFFF]+(\.[a-zA-Z0-9-_\u0080-\uFFFF]+)*\.[a-zA-Z0-9\u0080-\uFFFF]{2,24}
Ref.: https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#SMTPUTF8