Requirements:
If you need to preset parameters of some Email service accounts to the Email Client, such
The email domain names are mail.ru, list.ru, inbox.ru, bk.ru, and corp.mail.ru. The following parameters are adaptive:
Incoming Server: imap.mail.ru
Incoming Server Port: 993
Ssl on the incoming server: enabled
Username: full email user
Outgoing Server: smtp.mail.ru
Outgoing server port: 465
Ssl on the outgoing server: enabled
Protocol: IMAP4
Solution:
Custom preset mailbox Configuration:
First, you may need to configure the incoming and outgoing URIs in Email/res/xml/providers. xml.
The URI consists of the following parts:
Protocol type + Security type +: // server address.
Server port does not need to be configured, because it is determined by the protocol type and whether SSL is used.
If you need to use SSL, you do not need to add the trustallcerts part during configuration. You should configure it to imap + ssl +: // imap.163.com
The configuration of Protocol is the Protocol type mentioned above, and the server address section should correspond to the Protocol type.
Modify path:
Packages/apps/Email/res/xml/providers. xml
PS: the solution is as follows:
Add at the end of the provider. xml file