CN113852537A - Method for App to adapt to multi-protocol mailboxes - Google Patents

Method for App to adapt to multi-protocol mailboxes Download PDF

Info

Publication number
CN113852537A
CN113852537A CN202111010670.8A CN202111010670A CN113852537A CN 113852537 A CN113852537 A CN 113852537A CN 202111010670 A CN202111010670 A CN 202111010670A CN 113852537 A CN113852537 A CN 113852537A
Authority
CN
China
Prior art keywords
mailbox
app
configuration
user
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111010670.8A
Other languages
Chinese (zh)
Inventor
杨守志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unicloud Nanjing Digital Technology Co Ltd
Original Assignee
Unicloud Nanjing Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unicloud Nanjing Digital Technology Co Ltd filed Critical Unicloud Nanjing Digital Technology Co Ltd
Priority to CN202111010670.8A priority Critical patent/CN113852537A/en
Publication of CN113852537A publication Critical patent/CN113852537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4555Directories for electronic mail or instant messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/59Network arrangements, protocols or services for addressing or naming using proxies for addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/355Types of network names containing special suffixes

Abstract

The invention relates to the technical field of mailbox service, in particular to a method for adapting an App to mailboxes with multiple protocols, which comprises the following steps: adding the configuration of the mailbox needing to be supported at a management end; the App acquires the configuration of the supported mailbox through a server interface; according to the mailbox input by the user, screening out the configuration suitable for the mailbox protocol by the App; the App configures mailbox parameters and logs in a mailbox account; the mailbox configuration is automatically completed by putting the related configuration of the mailbox into the server and acquiring the mailbox configuration through the App, so that the mailbox configuration operation is realized, the simple login of the mailbox is realized, mailbox users, particularly enterprise mailbox users, are helped, the trouble of manually configuring a mailbox protocol by the users is avoided, the users can conveniently use the mailbox to the maximum extent, and the mailbox configuration becomes more convenient.

Description

Method for App to adapt to multi-protocol mailboxes
Technical Field
The invention relates to the technical field of mailbox service, in particular to a method for adapting an App to mailboxes with multiple protocols.
Background
The mature mailbox clients of products on the internet at present are many, such as internet email boxes, QQ email boxes and the like, but at present, the products need to configure the email boxes by themselves when using the email boxes, and for most users without related technologies, configuring the email boxes by themselves is a difficult operation, and particularly for enterprises, the configuration of enterprise email boxes is the same, and it is not necessary for each user of the enterprises to configure once according to the operation description.
Disclosure of Invention
The invention aims to provide a method for adapting an App to mailboxes with various protocols, which can acquire mailbox configuration through the App, automatically complete the operation of mailbox configuration and realize the simplified login of the mailboxes.
In order to achieve the above object, the present invention provides a method for an App to adapt to mailboxes with multiple protocols, which comprises: adding the configuration of the mailbox needing to be supported at a management end;
the App acquires the configuration of the supported mailbox through a server interface;
according to the mailbox input by the user, screening out the configuration suitable for the mailbox protocol by the App;
and the App configures mailbox parameters and logs in a mailbox account.
The configuration of adding the mailbox to be supported at the management end specifically includes: and adding a suffix field of the mailbox to be supported, a transceiving service address of the mailbox, a port and an encryption mode at a management end.
The specific steps of screening out the configuration suitable for the mailbox protocol by the App according to the mailbox input by the user are as follows:
acquiring a suffix field of a user input mailbox;
and matching the configuration suitable for the user mailbox according to the suffix field of the input mailbox.
The specific steps of matching the configuration suitable for the user mailbox according to the suffix field of the input mailbox are as follows:
traversing mailbox configuration data acquired from a server interface through a suffix field of a mailbox input by a user;
when the server mailbox configuration data contains a suffix field of a user input mailbox, screening out relevant configuration suitable for the user mailbox by the App;
when the server mailbox configuration data does not contain a suffix field of a mailbox input by a user, the server mailbox configuration data is rematched after mailbox configuration is added at a management end.
When the server mailbox configuration data does not contain a suffix field of a user input mailbox, the specific steps of rematching after mailbox configuration is added at a management terminal are as follows:
adding a postfix field of a mailbox, a receiving and sending service address, a port and an encryption mode of the mailbox to be supported at a management end of a mailbox protocol;
and starting the App again, synchronously acquiring all the configurations, and repeating the matching operation.
According to the method for adapting the App to the mailboxes with the multiple protocols, the mailbox configuration is acquired through the App, the mailbox configuration operation is automatically completed, the simplified login of the mailbox is realized, mailbox users, particularly enterprise mailbox users, are helped, the trouble that users manually configure mailbox protocols is eliminated, the mailboxes are convenient to use by the users to the maximum extent, and the mailbox configuration is more convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for adapting a multi-protocol mailbox by an App according to the invention;
FIG. 2 is a flow chart of the present invention for screening out the configuration suitable for the mailbox protocol by App according to the mailbox input by the user;
FIG. 3 is a flow chart of the present invention for matching a configuration applicable to a user mailbox based on a suffix field of an input mailbox;
fig. 4 is a flowchart of the rematching after adding mailbox configuration at the management side when the postfix field of the mailbox input by the user is not included in the server mailbox configuration data of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention. Further, in the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Referring to fig. 1 to 4, the present invention provides a method for adapting an App to mailboxes with multiple protocols, including:
s1, adding the configuration of mailbox to be supported at the management end;
and adding a suffix field of the mailbox to be supported, a transceiving service address of the mailbox, a port and an encryption mode at a management end.
S2, the App acquires the configuration of the supported mailbox through a server interface;
when entering App and initializing data, an application requests to access a server mailbox configuration interface through https, the App acquires all mailbox protocol configuration data through the server interface, and after acquiring mailbox configuration, caches a receiving mail server, a sending mail server, a server port number and encryption mode data of mailbox protocols of POP3, SMTP and IMAP.
S3, screening out the configuration suitable for the mailbox protocol by the App according to the mailbox input by the user;
the method comprises the following specific steps:
s31, acquiring a suffix field of the mailbox input by the user;
and the App acquires a suffix field of the mailbox through the mailbox account input by the user.
S32, matching the configuration suitable for the user mailbox according to the suffix field of the input mailbox;
the method comprises the following specific steps:
s321, traversing mailbox configuration data acquired from a server interface through a suffix field of a mailbox input by a user;
and traversing the mailbox configuration acquired from the server interface to perform matching retrieval according to the mailbox suffix name input by the user.
S322, when the mailbox configuration data of the server comprises a suffix field of a user input mailbox, screening out relevant configuration suitable for the user mailbox by the App;
when the server mailbox configuration data contains a suffix field of a user input mailbox, the configuration corresponding to the user input mailbox is matched, and after the matching is successful, the configuration of relevant configurations such as a mailbox receiving and sending service address of the mailbox account, a port number for receiving and sending mails, an encryption mode and the like is started.
When the mailbox configuration data of the S323 server does not contain a suffix field of a user input mailbox, the mailbox configuration is added at the management end and then the matching is carried out again;
the method comprises the following specific steps:
s3231, adding postfix field of mailbox, receiving and sending service address, port and encryption mode of mailbox to be supported at management end of mailbox protocol;
when the server mailbox configuration data does not contain the suffix field of the mailbox input by the user, the corresponding configuration suitable for the mailbox input by the user cannot be matched, and after the matching fails, the suffix field of the mailbox, the receiving and sending service address, the port and the encryption mode of the mailbox are added at the management end.
S3232 starts App again, synchronously acquires all configurations, and repeats matching operation;
and after the corresponding configuration addition of the user mailbox is completed, restarting the App, acquiring newly added mailbox configuration data from the server interface, and performing matching operation again.
S4, configuring mailbox parameters by the App and logging in a mailbox account;
after matching the configuration corresponding to the mailbox input by the user, the App sets a mailbox account through the acquired related parameters, and then logs in the mailbox through an account password to realize the receiving and sending operation of the mailbox;
it is worth mentioning that an e-mail system has three main components, namely, a user agent, a mail server and a mail protocol, and the mail from a client to the server needs to use the protocols of SMTP, POP3 or IMTP (the transport layer protocols of the three application layer protocols are all TCP protocols); the user agents are integrated with SMTP and POP3 (or IMAP), only use SMTP protocol when executing sending task, and each agent directly connected with the user agent must also have SMTP and POP3 protocols, only receive the mail sent by client, or the mail between servers, the application layer process uses SMTP protocol, only send the mail to the receiving agent, the server uses POP3 protocol; according to the mail receiving and sending mechanism, as long as the App is correctly adapted to the configuration information of the account of the mailbox, the server configuration for receiving and sending the mails of the mailbox is configured, and the receiving and sending functions of the mailbox can be realized by normally accessing the receiving and sending server.
S5, according to the difference of different mailboxes, App differentially acquires an inbox and a sent mailbox folder of the mailbox.
After the mailbox successfully logs in, the App differentially acquires the inbox and the sent mailbox folder of the mailbox according to the difference of different mailboxes input by a user so as to adapt to different mailboxes, and all the mailboxes can realize the receiving and sending operation of the mailboxes.
According to the method for adapting the App to the mailboxes with the multiple protocols, the mailbox configuration is acquired through the App, the mailbox configuration operation is automatically completed, the simplified login of the mailbox is realized, mailbox users, particularly enterprise mailbox users, are helped, the trouble that users manually configure mailbox protocols is eliminated, the mailboxes are convenient to use by the users to the maximum extent, and the mailbox configuration is more convenient.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (5)

1. A method for App to adapt to a mailbox with multiple protocols is characterized in that,
the method comprises the following steps: adding the configuration of the mailbox needing to be supported at a management end;
the App acquires the configuration of the supported mailbox through a server interface;
according to the mailbox input by the user, screening out the configuration suitable for the mailbox protocol by the App;
and the App configures mailbox parameters and logs in a mailbox account.
2. The method for App to adapt to multi-protocol mailboxes according to claim 1,
the configuration of adding the mailbox required to be supported at the management end specifically comprises the following steps: and adding a suffix field of the mailbox to be supported, a transceiving service address of the mailbox, a port and an encryption mode at a management end.
3. The method for App to adapt to multi-protocol mailboxes according to claim 1,
the specific steps of screening out the configuration suitable for the mailbox protocol by the App according to the mailbox input by the user are as follows:
acquiring a suffix field of a user input mailbox;
and matching the configuration suitable for the user mailbox according to the suffix field of the input mailbox.
4. The method for App to adapt to multi-protocol mailboxes according to claim 3,
the concrete steps of matching the configuration suitable for the user mailbox according to the suffix field of the input mailbox are as follows:
traversing mailbox configuration data acquired from a server interface through a suffix field of a mailbox input by a user;
when the server mailbox configuration data contains a suffix field of a user input mailbox, screening out relevant configuration suitable for the user mailbox by the App;
when the server mailbox configuration data does not contain a suffix field of a mailbox input by a user, the server mailbox configuration data is rematched after mailbox configuration is added at a management end.
5. The method for App to adapt to multi-protocol mailboxes according to claim 4,
when the server mailbox configuration data does not contain a suffix field of a user input mailbox, the specific steps of rematching after mailbox configuration is added at a management terminal are as follows:
adding a postfix field of a mailbox, a receiving and sending service address, a port and an encryption mode of the mailbox to be supported at a management end of a mailbox protocol;
and starting the App again, synchronously acquiring all the configurations, and repeating the matching operation.
CN202111010670.8A 2021-08-31 2021-08-31 Method for App to adapt to multi-protocol mailboxes Pending CN113852537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111010670.8A CN113852537A (en) 2021-08-31 2021-08-31 Method for App to adapt to multi-protocol mailboxes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111010670.8A CN113852537A (en) 2021-08-31 2021-08-31 Method for App to adapt to multi-protocol mailboxes

Publications (1)

Publication Number Publication Date
CN113852537A true CN113852537A (en) 2021-12-28

Family

ID=78976675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111010670.8A Pending CN113852537A (en) 2021-08-31 2021-08-31 Method for App to adapt to multi-protocol mailboxes

Country Status (1)

Country Link
CN (1) CN113852537A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038859A1 (en) * 2003-08-11 2005-02-17 Teamon Systems, Inc. System and method for configuring access to electronic mailboxes
US20050038858A1 (en) * 2003-08-11 2005-02-17 Teamon Systems, Inc. System and method for automatically learning mailbox configuration conventions
CN102164098A (en) * 2011-04-15 2011-08-24 北京百纳威尔科技有限公司 Mailbox configuration method, mobile terminal and mail system
CN103684984A (en) * 2012-09-21 2014-03-26 金蝶软件(中国)有限公司 Configuration method and system for mailbox
CN104348916A (en) * 2014-10-31 2015-02-11 北京奇虎科技有限公司 Automatic login method for mail client and device
CN104639669A (en) * 2015-02-04 2015-05-20 九玉(北京)科技有限公司 Method and device for configuring electronic mail box
CN106059896A (en) * 2016-05-27 2016-10-26 乐视控股(北京)有限公司 Method and device for automatically configuring mailbox
CN106209765A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method and device of integrated mailbox configurations information
CN107689908A (en) * 2016-08-03 2018-02-13 中兴通讯股份有限公司 The acquisition methods and device of a kind of configuration information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038859A1 (en) * 2003-08-11 2005-02-17 Teamon Systems, Inc. System and method for configuring access to electronic mailboxes
US20050038858A1 (en) * 2003-08-11 2005-02-17 Teamon Systems, Inc. System and method for automatically learning mailbox configuration conventions
CN102164098A (en) * 2011-04-15 2011-08-24 北京百纳威尔科技有限公司 Mailbox configuration method, mobile terminal and mail system
CN103684984A (en) * 2012-09-21 2014-03-26 金蝶软件(中国)有限公司 Configuration method and system for mailbox
CN104348916A (en) * 2014-10-31 2015-02-11 北京奇虎科技有限公司 Automatic login method for mail client and device
CN104639669A (en) * 2015-02-04 2015-05-20 九玉(北京)科技有限公司 Method and device for configuring electronic mail box
CN106059896A (en) * 2016-05-27 2016-10-26 乐视控股(北京)有限公司 Method and device for automatically configuring mailbox
CN106209765A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method and device of integrated mailbox configurations information
CN107689908A (en) * 2016-08-03 2018-02-13 中兴通讯股份有限公司 The acquisition methods and device of a kind of configuration information

Similar Documents

Publication Publication Date Title
US8301711B2 (en) Electronic mail communications system with client email internet service provider (ISP) polling application and related methods
US20090241180A1 (en) System and Method for Data Transport
US8078681B2 (en) System and method for provisioning an email account using mail exchange records
US9048428B2 (en) Enabling communication between source and target mail transfer agents
US8117267B2 (en) System and method for provisioning an email account using mail exchange and address records
US8799368B2 (en) Email server for processing a threshold number of email jobs for a given user and related methods
US8365270B2 (en) Proxy server
CA2496283C (en) Method and apparatus for pushing e-mail to wireless communication devices
US20050039048A1 (en) Efficient new e-mail discovery
CN104601454A (en) Method and system for mail processing
US20080256197A1 (en) Email system including email aggregation server providing security parameter determination features and related methods
CN102291328B (en) Support that multi-protocols are based on third party's mail account receiving/transmission method of webpage and system
EP2055059B1 (en) Electronic mail communications system with client email internet service provider (isp) polling application and related methods
CN113852537A (en) Method for App to adapt to multi-protocol mailboxes
US20070078934A1 (en) System and method for provisioning an email account hosted on an assured email service provider
WO2015196658A1 (en) Method and device for acquiring delivery state of e-mail, and computer storage medium
JP3315369B2 (en) Method and apparatus for automatically cleaning a list of e-mail addresses sent and received on the Internet
CN103546360B (en) A kind of information acquisition method, system and IMAP clients
Howser et al. Simple mail transfer protocol: email
EP2112794B1 (en) Method and apparatus for pushing e-mail to wireless communication devices
EP1540903B1 (en) Method and apparatus for pushing e-mail to wireless communication devices
JP4616859B2 (en) Method and apparatus for pushing electronic mail to a wireless communication device
CN109347645A (en) File updating method and client in a kind of local area network based on multicast
JP2012039579A (en) Network communication device
JP2004048492A (en) Method of filtering electronic mail

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211228