Summary of the invention
In order to solve the problems of the technologies described above, the embodiment of the present invention provides through authorizing the offspring to login method and the device of mailbox, generation transmission and pickup receiving emails, so that the Mail Clients by the first email accounts is processed the mail under the second email accounts in time for the Mail Clients of the second email accounts, for the user who uses the second email accounts provides the facility in application.
The embodiment of the invention discloses following technical scheme:
A kind of through authorizing the offspring to login the method for email accounts, comprising:
The Mail Clients of Mail Clients generation second email accounts of account server mandate the first email accounts signs in on the second email accounts, and wherein, the first email accounts and the second email accounts belong to same account server;
When described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts.
Preferably, the Mail Clients of the Mail Clients of described account server mandate the first email accounts generation the second email accounts signs in on the second email accounts, comprising:
Described account server receives the mandate login request message of the Mail Clients transmission of the second email accounts, carries the first email accounts information in described mandate login request message;
Described account server is the client push mandate login mail to described the first email accounts according to described the first email accounts information, and described mandate login mail accepts for the Mail Clients of pointing out described the first email accounts or the refusal login is authorized;
Described account server receives authorizes login response message;
When described mandate login response message indicates the Mail Clients of described the first email accounts accept to authorize login, between the Mail Clients that described account server records described the first email accounts and the Mail Clients of described the second email accounts, there is the mandate of login relation;
Described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts to be specially:
Described account server query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts.
Further preferred, after described account server receives the mandate login response message that the Mail Clients of described the first email accounts sends, also comprise:
Described account server notifies the client login of described the second email accounts to authorize successfully or failure.
Preferably, also comprise:
The Mail Clients of Mail Clients generation first email accounts of account server mandate the 3rd email accounts signs in on the second email accounts, and wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account server;
When described the second email accounts is logined in the Mail Clients request that has signed in to described the 3rd email accounts of the 3rd email accounts by the 3rd email accounts information, described account server allows the Mail Clients of described the 3rd email accounts to sign in on described the second email accounts.
A kind of through authorizing the offspring to send the method for mail, comprising:
The Mail Clients of account server mandate the first email accounts signs in on the second email accounts on behalf of the Mail Clients of the second email accounts, and use the second email accounts to send mail, wherein, the first mail account and the second email accounts belong to same account server;
When described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts;
When the Mail Clients request of described the first email accounts that signs in to described the second email accounts is used the second email accounts to send mail, described account server allows the Mail Clients of described the first email accounts to use the second email accounts to send mail.
Preferably, the Mail Clients of described account server mandate the first email accounts signs in on the second email accounts on behalf of the Mail Clients of the second email accounts, and uses the second email accounts to send mail, comprising:
The mandate that described account server receives the Mail Clients transmission of described the first email accounts sends a request message, and carries the first email accounts information during described mandate sends a request message;
Described account server is the client push mandate transmission mail to described the first email accounts according to described the first email accounts information, and described mandate sends mail and accepts or break off relations the transmission mandate for the Mail Clients of pointing out described the first email accounts;
Described account server receives to authorize and sends response message;
When described mandate sends response message and indicates the Mail Clients of described the first email accounts to accept to send to authorize, between the Mail Clients that described account server records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and transmission mandate relation;
Described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts to be specially:
Described account server query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Described account server allows the Mail Clients of described the first email accounts to use the second email accounts transmission mail to be specially:
Described account server query note, and, according to the transmission mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to use the second email accounts to send mail.
Further preferred, in described account server, receive after mandate that the Mail Clients of described the first email accounts sends sends response message, also comprise:
Described account server is notified the Mail Clients of described the second email accounts to send and is authorized successfully or failure.
Preferably, also comprise:
The Mail Clients of account server mandate the 3rd email accounts signs in on the second email accounts on behalf of the Mail Clients of the first email accounts, and use the second email accounts to send mail, wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account server;
When the Mail Clients request that has signed in to described the 3rd email accounts of the 3rd email accounts by the 3rd email accounts information signs in to described the second email accounts, described account server allows the Mail Clients of described the 3rd email accounts to sign in on described the second email accounts;
When the Mail Clients request of described the 3rd email accounts that signs in to described the second email accounts is used the second email accounts to send mail, described account server allows the Mail Clients of described the 3rd email accounts to use the second email accounts to send mail.
A kind of through authorizing the offspring to receive the method for mail, comprising:
The Mail Clients of Mail Clients generation second email accounts of account server mandate the first email accounts signs in on the second email accounts, and use the second email accounts to receive mail, wherein, the first email accounts and the second email accounts belong to same account server;
When described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts;
When the Mail Clients request of described the first email accounts that signs in to described the second email accounts is used the second email accounts to receive mail, described account server allows the Mail Clients of the first email accounts to use the second email accounts to receive mail.
Preferably, the Mail Clients that described account server is accepted Mail Clients generation second email accounts of the first email accounts signs in on the second email accounts, and uses the second email accounts to send mail, comprising:
The mandate that described account server receives the Mail Clients transmission of described the first email accounts receives request message, and described mandate receives in request message and carries the first email accounts information;
Described account server is the client push mandate reception mail to described the first email accounts according to described the first email accounts information, and described mandate receives mail and accepts or break off relations the reception mandate for the Mail Clients of pointing out described the first email accounts;
Described account server receives to authorize and receives response message;
When described mandate receives response message and indicates the Mail Clients of described the first email accounts to accept to receive to authorize, between the Mail Clients that described account server records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and reception mandate relation;
Described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts to be specially:
Described account server query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Described account server allows the Mail Clients of described the first email accounts to use the second email accounts reception mail to be specially:
Described account server query note, and, according to the reception mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to use the second email accounts to receive mail.
Further preferred, in described account server, receive after mandate that the Mail Clients of described the first email accounts sends receives response message, also comprise:
Described account server is notified the Mail Clients of described the second email accounts to receive and is authorized successfully or failure.
Preferably, also comprise:
The Mail Clients of account server mandate the 3rd email accounts signs in on the second email accounts on behalf of the Mail Clients of the first email accounts, and use the second email accounts to receive mail, wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account server;
When the Mail Clients request that has signed in to described the 3rd email accounts of the 3rd email accounts by the 3rd email accounts information signs in to described the second email accounts, described account server allows the Mail Clients of described the 3rd email accounts to sign in on described the second email accounts;
When the Mail Clients request of described the 3rd email accounts that signs in to described the second email accounts is used the second email accounts to receive mail, described account server allows the Mail Clients of described the 3rd email accounts to use the second email accounts to receive mail.
A kind of through authorizing the offspring to login the device of email accounts, comprising:
The login granted unit, for authorize the first email accounts Mail Clients generation the second email accounts Mail Clients sign in to the second email accounts, wherein, the first email accounts and the second email accounts belong to same account server;
Allow the login unit, for when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts.
Preferably, described login granted unit comprises:
Authorize login request message to receive subelement, the mandate login request message sent for the Mail Clients that receives the second email accounts, carry the first email accounts information in described mandate login request message;
Authorize login mail push subelement, for the client push mandate login mail to described the first email accounts according to described the first email accounts information, described mandate login mail accepts for the Mail Clients of pointing out described the first email accounts or the refusal login is authorized;
Authorize login response message sink subelement, the mandate login response message sent for the Mail Clients that receives described the first email accounts;
The relation record subelement is authorized in login, when for the Mail Clients of indicating described the first email accounts when described mandate login response message, accepting login and authorize, record between the Mail Clients of the Mail Clients of described the first email accounts and described the second email accounts and there is the mandate of login relation;
Unit is logined in described permission, specifically for query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts.
Further preferred, also comprise:
Login authorization notification unit, after the mandate login response message sent for the Mail Clients that receives described the first email accounts at described mandate login response message sink subelement, notify the client login of described the second email accounts to authorize successfully or failure.
A kind of through authorizing the offspring to send the device of mail, comprising:
Send granted unit, sign in to the second email accounts for the Mail Clients of authorizing the first email accounts on behalf of the Mail Clients of the second email accounts, and use the second email accounts to send mail, wherein, the first mail account and the second email accounts belong to same account server;
Allow the login unit, for when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Allow transmitting element, while for the Mail Clients request of described the first email accounts when signing in to described the second email accounts, using the second email accounts to send mail, allow the Mail Clients of the first email accounts to use the second email accounts to send mail.
Preferably, described transmission granted unit comprises:
The mandate reception subelement that sends a request message, the mandate sent for the Mail Clients that receives described the first email accounts sends a request message, and carries the first email accounts information during described mandate sends a request message;
Authorize and send the mail push subelement, be used for the client push mandate transmission mail to described the first email accounts according to described the first email accounts information, described mandate sends mail and accepts or break off relations the transmission mandate for the Mail Clients of pointing out described the first email accounts;
Authorize and send response message reception subelement, for receiving to authorize, send response message;
Send and authorize the relation record subelement, while indicating the Mail Clients of described the first email accounts to accept to send to authorize for send response message when described mandate, between the Mail Clients that records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and transmission mandate relation;
Unit is logined in described permission, specifically for query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Described permission transmitting element, specifically for query note, and, according to the transmission mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to use the second email accounts to send mail.
Preferably, also comprise:
Mandate sends notification unit, after the mandate sent for the Mail Clients receiving described the first email accounts sends response message, notifies the Mail Clients transmission of described the second email accounts to authorize successfully or failure.
A kind of through authorizing the offspring to receive the device of mail, comprising:
Receive granted unit, for authorize the first email accounts Mail Clients generation the second email accounts Mail Clients sign in to the second email accounts, and use the second email accounts to receive mail, wherein, the first email accounts and the second email accounts belong to same account server;
Allow the login unit, for when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Allow receiving element, while for the Mail Clients request of described the first email accounts when signing in to described the second email accounts, using the second email accounts to receive mail, allow the Mail Clients of the first email accounts to use the second email accounts to receive mail.
Preferably, described reception granted unit comprises:
Authorize and receive request message reception subelement, the mandate sent for the Mail Clients that receives described the first email accounts receives request message, and described mandate receives in request message and carries the first email accounts information;
Authorize and receive the mail push subelement, be used for the client push mandate reception mail to described the first email accounts according to described the first email accounts information, described mandate receives mail and accepts or break off relations the reception mandate for the Mail Clients of pointing out described the first email accounts;
Authorize and receive response message reception subelement, the reception authorization response message sent for the Mail Clients that receives described the first email accounts;
Receive and authorize the relation record subelement, while indicating the Mail Clients of described the first email accounts to accept to receive to authorize for receive response message when described mandate, between the Mail Clients that records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and reception mandate relation;
Unit is logined in described permission, specifically for query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Described permission receiving element, specifically for query note, and, according to the reception mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to use the second email accounts to receive mail.
Further preferred, also comprise:
Authorize the reception notification unit, after the mandate sent for the Mail Clients receiving described the first email accounts receives response message, notify the Mail Clients reception of described the second email accounts to authorize successfully or failure.
As can be seen from the above-described embodiment, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, after login, also further can use the second email accounts to send or receive mail, therefore, can process in time the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Embodiment mono-
Refer to Fig. 2, it is a kind of flow chart of logining the method for email accounts through the mandate offspring that the embodiment of the present invention one discloses, and the method comprises the following steps:
Step 201: the Mail Clients of Mail Clients generation second email accounts of account server mandate the first email accounts signs in on the second email accounts, and wherein, the first email accounts and the second email accounts belong to same account server;
For example, two email accounts are arranged, be respectively:
[email protected] and
[email protected], Mail Clients can sign in to respectively by the accounts information of two email accounts on corresponding email accounts, wherein, the Mail Clients signed in on email accounts
[email protected] is Mail Clients A, and the Mail Clients signed in on email accounts
[email protected] is Mail Clients B, two email accounts all belong to same account server C, account server C can the authorized mail customer end A sign in on
[email protected] for Mail Clients B, account server C also can the authorized mail customer end B sign in on
[email protected] for Mail Clients A.
A kind of preferred mandate login mode is: described account server receives the mandate login request message of the Mail Clients transmission of the second email accounts, carries the second email accounts information in described mandate login request message; Described account server is the client push mandate login mail to described the first email accounts according to described the first email accounts information, and described mandate login mail accepts for the Mail Clients of pointing out described the first email accounts or the refusal login is authorized; Described account server receives authorizes login response message; When described mandate login response message indicates the Mail Clients of described the first email accounts to accept login to authorize, between the Mail Clients that described account server records described the first email accounts and the Mail Clients of described the second email accounts, there is the mandate of login relation.
For example, as shown in Figure 3, Mail Clients A sends a mandate login request message to the account server C of its ownership, carry the accounts information of email accounts
[email protected] in this mandate login request message, after account server C receives this mandate login request message, know that according to the accounts information that carries email accounts
[email protected] in this mandate login request message this mandate logging request is aimed at Mail Clients B's, push and authorize the login mail to Mail Clients B, this mandate login mail is for pointing out Mail Clients B to accept or refuse the login mandate of Mail Clients A, as, comprise one and confirm authorisation links and a refusal authorisation links in this mandate login mail.When the user clicks confirmation authorisation links wherein, browser is opened this link and is sent the mandate login response message with HTTP message body form to account server C, and this mandate login response message indication Mail Clients B accepts the login mandate of Mail Clients A; When the user clicks refusal authorisation links wherein, browser is opened this link and is sent the mandate login response message with HTTP message body form to account server C, and this authorizes the login mandate of login response message indication Mail Clients B refusal Mail Clients A.After the mandate login response message that account server C receives indicates Mail Clients B to accept the login mandate of Mail Clients A, record between Mail Clients B and Mail Clients A and there is login mandate relation, that is, recording Mail Clients A allows Mail Clients B to sign in on email accounts
[email protected] for Mail Clients A.
In another kind is preferably authorized login mode, can further include: account server notifies the Mail Clients login of described the second email accounts to authorize successfully or failure.
As shown in Figure 3, the login of account server C circular mail customer end A is authorized successfully.
It should be noted that, above-mentioned " account server " is the mail transport agent in the e-mail system shown in Fig. 1.
Step 202: when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts.
For example, after the accounts information of Mail Clients B by email accounts
[email protected] signs in on email accounts
[email protected], to account server C request, sign in on email accounts
[email protected], account server C query note, there is the login mandate while concerning when inquiring to record between Mail Clients B and Mail Clients A, , inquiry knows that Mail Clients A allows Mail Clients B to sign in on email accounts
[email protected] for Mail Clients A, account server C allows Mail Clients B to sign in on email accounts
[email protected].
It should be noted that, the Mail Clients of the first email accounts can adopt the mode of Mail Clients login email accounts in existing e-mail system to sign in on the second email accounts, therefore, the concrete login process that the present invention signs in to the second email accounts to the Mail Clients of the first email accounts no longer is elaborated.
In the concrete application to technical solution of the present invention, account server can authorize the Mail Clients of the Mail Clients same account of generation of a plurality of different accounts to sign in on its account.For example, at the Mail Clients of authorizing the B account, the Mail Clients for the A account signs in on the A account account server, also can authorize the Mail Clients of C account also to sign in on the A account for the Mail Clients of A account again.
In addition, after the Mail Clients of B account has the authority that signs in to the A account after authorizing, if the Mail Clients of B account is upper because a variety of causes also can't sign in to account A, the Mail Clients that account server can also further be authorized the D account signs in on account A for the Mail Clients of B account.
By the embodiment of the present invention, can be found out, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, therefore, can process in time the mail under the second email accounts, particularly manage the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
Embodiment bis-
Refer to Fig. 4, it is a kind of flow chart that sends the method for mail through the mandate offspring that the embodiment of the present invention two discloses, and the method comprises the following steps:
Step 401: the Mail Clients of account server mandate the first email accounts signs in on the second email accounts on behalf of the Mail Clients of the second email accounts, and use the second email accounts to send mail, wherein, the first email accounts and the second email accounts belong to same account server;
For example, two email accounts are arranged, be respectively:
[email protected] and
[email protected], Mail Clients can sign in to respectively by the accounts information of two email accounts on corresponding email accounts, wherein, the Mail Clients signed in on email accounts
[email protected] is Mail Clients A, and the Mail Clients signed in on email accounts
[email protected] is Mail Clients B, two email accounts all belong to same account server C, account server C can the authorized mail customer end A sign in on
[email protected] for Mail Clients B, and the authorized mail customer end A is used email accounts
[email protected] to send mail, account server C also can the authorized mail customer end B sign in on
[email protected] for Mail Clients A, and the authorized mail customer end B is used email accounts
[email protected] to send mail.
A kind of preferred mandate send mode is: the mandate that described account server receives the Mail Clients transmission of described the first email accounts sends a request message, and carries the first email accounts information during described mandate sends a request message; Described account server is the client push mandate transmission mail to described the first email accounts according to described the first email accounts information, and described mandate sends mail and accepts or break off relations the transmission mandate for the Mail Clients of pointing out described the first email accounts; Described account server receives to authorize and sends response message; When described mandate sends response message and indicates the Mail Clients of described the first email accounts to accept to send to authorize, between the Mail Clients that described account server records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and transmission mandate relation.
For example, as shown in Figure 5, Mail Clients A sends a request message to a mandate of account server C transmission of its ownership, in sending a request message, this mandate carries the accounts information of email accounts
[email protected], after account server C receives this mandate and sends a request message, know according to the accounts information that carries email accounts
[email protected] in this mandate sends a request message that this mandate sends request and be aimed at Mail Clients B's, push to authorize to Mail Clients B and send mail, this mandate sends mail for pointing out Mail Clients B to accept or refuse the transmission mandate of Mail Clients A, as, send in mail and comprise a confirmation authorisation links and a refusal authorisation links in this mandate.When the user clicks confirmation authorisation links wherein, browser is opened this link and is sent a mandate with HTTP message body form to account server C and sends response message, and this mandate sends the transmission mandate that response message indication Mail Clients B accepts Mail Clients A; When the user clicks refusal authorisation links wherein, browser is opened this link and is sent a mandate with HTTP message body form to account server C and sends response message, and this authorizes the transmission mandate that sends response message indication Mail Clients B refusal Mail Clients A.After the mandate transmission response message that account server C receives indicates Mail Clients B to accept the transmission mandate of Mail Clients A, record between Mail Clients B and Mail Clients A and there is login mandate relation and send the mandate relation,, record Mail Clients A and allow Mail Clients B to sign in on email accounts
[email protected] for Mail Clients A, and allow Mail Clients B to use email accounts
[email protected] to send mail.
In another kind is preferably authorized send mode, can further include: account server is notified the Mail Clients of described the second email accounts to send and is authorized successfully or failure.
As shown in Figure 5, account server C circular mail customer end A sends and authorizes successfully.
It should be noted that, above-mentioned " account server " is the mail transport agent in the e-mail system shown in Fig. 1.
Step 402: when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts;
The detailed implementation of this step can, referring to the step 202 in embodiment mono-, not repeat them here.
Step 403: when the Mail Clients request of described the first email accounts that signs in to described the second email accounts is used the second email accounts to send mail, described account server allows the Mail Clients of described the first email accounts to use the second email accounts to send mail.
For example, when allowing Mail Clients B, account server C signs in on
[email protected], and after Mail Clients B has also signed in on email accounts
[email protected], to account server C request, use email accounts
[email protected] to send mail, account server C query note, when inquiring to record between Mail Clients B and Mail Clients A, have when sending mandate and concerning, , inquiry knows that Mail Clients A allows Mail Clients B to use email accounts
[email protected] to send mail, account server C allows Mail Clients B to use email accounts
[email protected] to send mail.
It should be noted that, the Mail Clients of the first email accounts can adopt the mode of Mail Clients transmission mail in existing e-mail system to use the second email accounts to send mail, therefore, the present invention uses the concrete process of transmitting of the second email accounts transmission mail no longer to be elaborated to the Mail Clients of the first email accounts.
In the concrete application to technical solution of the present invention, account server can authorize the Mail Clients of the Mail Clients same account of generation of a plurality of different accounts to sign in on its account, and uses the account to send mail.For example, at the Mail Clients of authorizing the B account, the Mail Clients for the A account signs in on the A account account server, and the A transmission mail that accesses to your account, also can authorize again the Mail Clients of C account also to sign in on the A account for the Mail Clients of A account, and the A that also accesses to your account send mail.
In addition, Mail Clients in the B account has on the A of signing in to account after authorizing, and after using the A account to send the authority of mail, if the Mail Clients of B account also can't sign in to account A above because of a variety of causes or can't use the A account to send mail after login, it is upper that the Mail Clients that account server can also further be authorized the D account signs in to account A for the Mail Clients of B account, and use the A account to send mail.
By the embodiment of the present invention, can be found out, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, after login, also further can use the second email accounts to send mail, therefore, can process in time the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
Embodiment tri-
Consult Fig. 6, it is a kind of flow chart that receives the method for mail through the mandate offspring that the embodiment of the present invention three discloses, and the method comprises the following steps:
Step 601: the Mail Clients of Mail Clients generation second email accounts of account server mandate the first email accounts signs in on the second email accounts, and use the second email accounts to receive mail, wherein, the first email accounts and the second email accounts belong to same account server;
For example, two email accounts are arranged, be respectively:
[email protected] and
[email protected], Mail Clients can sign in to respectively by the accounts information of two email accounts on corresponding email accounts, wherein, the Mail Clients signed in on email accounts
[email protected] is Mail Clients A, and the Mail Clients signed in on email accounts
[email protected] is Mail Clients B, two email accounts all belong to same account server C, account server C can the authorized mail customer end A sign in on
[email protected] for Mail Clients B, and the authorized mail customer end A is used email accounts
[email protected] to receive mail, account server C also can the authorized mail customer end B sign in on
[email protected] for Mail Clients A, and the authorized mail customer end B is used email accounts
[email protected] to receive mail.
A kind of preferred mandate receive mode is: the mandate that described account server receives the Mail Clients transmission of described the first email accounts receives request message, and described mandate receives in request message and carries the first email accounts information; Described account server is the client push mandate reception mail to described the first email accounts according to described the first email accounts information, and described mandate receives mail and accepts or break off relations the reception mandate for the Mail Clients of pointing out described the first email accounts; Described account server receives to authorize and receives response message; When described mandate receives response message and indicates the Mail Clients of described the first email accounts to accept to receive to authorize, between the Mail Clients that described account server records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and reception mandate relation.
For example, as shown in Figure 7, Mail Clients A sends a mandate reception request message to the account server C of its ownership, receive in this mandate the accounts information that carries email accounts
[email protected] in request message, after account server C receives this mandate reception request message, know that according to receive the accounts information that carries email accounts
[email protected] in request message in this mandate this mandate receives request and is aimed at Mail Clients B's, push to authorize to Mail Clients B and receive mail, this mandate receives mail for pointing out Mail Clients B to accept or refuse the transmission mandate of Mail Clients A, as, receive in mail and comprise a confirmation authorisation links and a refusal authorisation links in this mandate.When the user clicks confirmation authorisation links wherein, browser is opened this link and is sent a mandate with HTTP message body form to account server C and receives response message, and this mandate receives the reception mandate that response message indication Mail Clients B accepts Mail Clients A; When the user clicks refusal authorisation links wherein, browser is opened this link and is sent a mandate with HTTP message body form to account server C and receives response message, and this authorizes the reception mandate that receives response message indication Mail Clients B refusal Mail Clients A.After the mandate reception response message that account server C receives indicates Mail Clients B to accept the reception mandate of Mail Clients A, record between Mail Clients B and Mail Clients A and there is login mandate relation and receive the mandate relation,, record Mail Clients A and allow Mail Clients B to sign in on email accounts
[email protected] for Mail Clients A, and allow the mailbox customer end B to use email accounts
[email protected] to receive mail.
In another kind is preferably authorized receive mode, can further include: account server is notified the Mail Clients of described the second email accounts to receive and is authorized successfully or failure.
As shown in Figure 7, account server C circular mail customer end A receives and authorizes successfully.
It should be noted that, above-mentioned " account server " is the mail transport agent in the e-mail system shown in Fig. 1.
Step 602: when described the first email accounts client-requested that has signed in to the first email accounts by the first email accounts information is logined described the second email accounts, described account server allows the Mail Clients of described the first email accounts to sign in on described the second email accounts;
The detailed implementation of this step can, referring to the step 202 in embodiment mono-, not repeat them here.
Step 603: when the Mail Clients of described the first email accounts that signs in to described the second email accounts is used the second email accounts to receive mail, described account server allows the Mail Clients of the first email accounts to use the second email accounts to receive mail.
For example, when allowing Mail Clients B, account server C signs in on
[email protected], and after Mail Clients B has also signed in on email accounts
[email protected], to account server C request, use email accounts
[email protected] to send mail, account server C query note, when inquiring to record between Mail Clients B and Mail Clients A, have when receiving mandate and concerning, , inquiry knows that Mail Clients A allows Mail Clients B to use email accounts
[email protected] to receive mail, account server C allows Mail Clients B to use email accounts
[email protected] to receive mail.
It should be noted that, the Mail Clients of the first email accounts can adopt the mode of Mail Clients reception mail in existing e-mail system to use the second email accounts to receive mail, therefore, the present invention uses the concrete receiving course of the second email accounts reception mail no longer to be elaborated to the Mail Clients of the first email accounts.
In the concrete application to technical solution of the present invention, account server can authorize the Mail Clients of the Mail Clients same account of generation of a plurality of different accounts to sign in on its account, and uses the account to receive mail.For example, at the Mail Clients of authorizing the B account, the Mail Clients for the A account signs in on the A account account server, and the A reception mail that accesses to your account, also can authorize again the Mail Clients of C account also to sign in on the A account for the Mail Clients of A account, and the A that also accesses to your account receive mail.
In addition, Mail Clients in the B account has on the A of signing in to account after authorizing, and after using the A account to receive the authority of mail, if the Mail Clients of B account also can't sign in to account A above because of a variety of causes or can't use the A account to receive mail after login, it is upper that the Mail Clients that account server can also further be authorized the D account signs in to account A for the Mail Clients of B account, and use the A account to receive mail.
By the embodiment of the present invention, can be found out, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, after login, also further can use the second email accounts to receive mail, therefore, can process in time the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
Embodiment tetra-
With above-mentioned a kind of corresponding through authorizing the offspring to login the method for email accounts, it is a kind of through authorizing the offspring to login the device of email accounts that the embodiment of the present invention also provides.Refer to Fig. 8, it is a kind of structure chart of logining the device of email accounts through the mandate offspring that the embodiment of the present invention four discloses, and this device comprises: login granted unit 801 and allow login unit 802.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Login granted unit 801, for authorize the first email accounts Mail Clients generation the second email accounts Mail Clients sign in to the second email accounts, wherein, the first email accounts and the second email accounts belong to same account server;
Allow login unit 802, for when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts.
As shown in Figure 9, login granted unit 801 further comprises:
Authorize login request message to receive subelement 8011, the mandate login request message sent for the Mail Clients that receives the second email accounts, carry the first email accounts information in described mandate login request message;
Authorize login mail push subelement 8012, for the client push mandate login mail to described the first email accounts according to described the first email accounts information, described mandate login mail accepts for the Mail Clients of pointing out described the first email accounts or the refusal login is authorized;
Authorize login response message sink subelement 8013, the mandate login response message sent for the Mail Clients that receives described the first email accounts;
Relation record subelement 8014 is authorized in login, when for the Mail Clients of indicating described the first email accounts when described mandate login response message, accepting login and authorize, record between the Mail Clients of the Mail Clients of described the first email accounts and described the second email accounts and there is the mandate of login relation;
Allow login unit 802, specifically for query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts.
Preferably, this device also comprises: login authorization notification unit, after the mandate login response message sent for the Mail Clients that receives described the first email accounts at described mandate login response message sink subelement, notify the client login of described the second email accounts to authorize successfully or failure.
Further preferred, login granted unit 801 also for authorize the 3rd email accounts Mail Clients generation the first email accounts Mail Clients sign in to the second email accounts, wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account server;
Allow login unit 802, while also for the Mail Clients request when signed in to described the 3rd email accounts of the 3rd email accounts by the 3rd email accounts information, logining described the second email accounts, allow the Mail Clients of described the 3rd email accounts to sign in on described the second email accounts.
As can be seen from the above-described embodiment, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, therefore, can process in time the mail under the second email accounts, particularly manage the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
Embodiment five
With above-mentioned a kind of corresponding through authorizing the offspring to send the method for mail, it is a kind of through authorizing the offspring to send the device of mail that the embodiment of the present invention also provides.Refer to Figure 10, it is a kind of structure chart that sends the device of mail through the mandate offspring that the embodiment of the present invention five discloses, and this device comprises: send granted unit 1001, allow login unit 1002 and allow transmitting element 1003.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Send granted unit 1001, sign in to the second email accounts for the Mail Clients of authorizing the first email accounts on behalf of the Mail Clients of the second email accounts, and use the second email accounts to send mail, wherein, the first mail account and the second email accounts belong to same account server;
Allow login unit 1002, for when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Allow transmitting element 1003, be used for when the Mail Clients request of described the first email accounts that signs in to described the second email accounts is used the second email accounts to send mail, allow the Mail Clients of the first email accounts to use the second email accounts to send mail.
As shown in figure 11, sending granted unit 1001 further comprises:
Mandate sends a request message and receives subelement 10011, and the mandate sent for the Mail Clients that receives described the first email accounts sends a request message, and carries the first email accounts information during described mandate sends a request message;
Authorize and send mail push subelement 10012, be used for the client push mandate transmission mail to described the first email accounts according to described the first email accounts information, described mandate sends mail and accepts or break off relations the transmission mandate for the Mail Clients of pointing out described the first email accounts;
Authorize and send response message reception subelement 10013, for receiving to authorize, send response message;
Send and authorize relation record subelement 10014, while indicating the Mail Clients of described the first email accounts to accept to send to authorize for send response message when described mandate, between the Mail Clients that records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and transmission mandate relation.
Allow login unit 1002, specifically for query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Allow transmitting element 1003, for query note, and, according to the transmission mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to use the second email accounts to send mail.
Preferably, this device also comprises: mandate sends notification unit, after the mandate sent for the Mail Clients receiving described the first email accounts sends response message, notifies the Mail Clients transmission of described the second email accounts to authorize successfully or failure.
Further preferred, send granted unit 1001, also for the Mail Clients of authorizing the 3rd email accounts, on behalf of the Mail Clients of the first email accounts, sign in to the second email accounts, and use the second email accounts to send mail, wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account server;
Allow login unit 1002, while also for the Mail Clients request when signed in to described the 3rd email accounts of the 3rd email accounts by the 3rd email accounts information, signing in to described the second email accounts, allow the Mail Clients of described the 3rd email accounts to sign in on described the second email accounts;
Allow transmitting element 1003, while also for the Mail Clients request of described the 3rd email accounts when signing in to described the second email accounts, using the second email accounts to send mail, allow the Mail Clients of described the 3rd email accounts to use the second email accounts to send mail.
As can be seen from the above-described embodiment, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, after login, also further can use the second email accounts to send mail, therefore, can process in time the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
Embodiment six
With above-mentioned a kind of corresponding through authorizing the offspring to receive the method for mail, it is a kind of through authorizing the offspring to receive the device of mail that the embodiment of the present invention also provides.Refer to Figure 12, it is a kind of structure chart that receives the device of mail through the mandate offspring that the embodiment of the present invention six discloses, and this device comprises: receive granted unit 1201, allow login unit 1202 and allow receiving element 1203.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Receive granted unit 1201, for authorize the first email accounts Mail Clients generation the second email accounts Mail Clients sign in to the second email accounts, and use the second email accounts to receive mail, wherein, the first email accounts and the second email accounts belong to same account server;
Allow login unit 1202, for when described the second email accounts is logined in the Mail Clients request that has signed in to described first email accounts of the first email accounts by the first email accounts information, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Allow receiving element 1203, be used for when the Mail Clients request of described the first email accounts that signs in to described the second email accounts is used the second email accounts to receive mail, allow the Mail Clients of the first email accounts to use the second email accounts to receive mail.
As shown in figure 13, receiving granted unit 1201 further comprises:
Authorize and receive request message reception subelement 12011, the mandate sent for the Mail Clients that receives described the first email accounts receives request message, and described mandate receives in request message and carries the first email accounts information;
Authorize and receive mail push subelement 12012, be used for the client push mandate reception mail to described the first email accounts according to described the first email accounts information, described mandate receives mail and accepts or break off relations the reception mandate for the Mail Clients of pointing out described the first email accounts;
Authorize and receive response message reception subelement 12013, the reception authorization response message sent for the Mail Clients that receives described the first email accounts;
Receive and authorize relation record subelement 12014, while indicating the Mail Clients of described the first email accounts to accept to receive to authorize for receive response message when described mandate, between the Mail Clients that records described the first email accounts and the Mail Clients of described the second email accounts, there is login mandate relation and reception mandate relation.
Allow login unit 1202, specifically for query note, and, according to the login mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to sign in on described the second email accounts;
Allow receiving element 1203, specifically for query note, and, according to the reception mandate relation between the Mail Clients of the Mail Clients of described the first email accounts inquired and described the second email accounts, allow the Mail Clients of described the first email accounts to use the second email accounts to receive mail.
Preferably, this device also comprises: authorize the reception notification unit, after the mandate sent for the Mail Clients receiving described the first email accounts receives response message, notify the Mail Clients reception of described the second email accounts to authorize successfully or failure.
Further preferred, receive granted unit 1201, also for the Mail Clients of authorizing the 3rd email accounts, on behalf of the Mail Clients of the first email accounts, sign in to the second email accounts, and use the second email accounts to receive mail, wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account server;
Allow login unit 1202, while also for the Mail Clients request when signed in to described the 3rd email accounts of the 3rd email accounts by the 3rd email accounts information, signing in to described the second email accounts, allow the Mail Clients of described the 3rd email accounts to sign in on described the second email accounts;
Allow receiving element 1203, while also for the Mail Clients request of described the 3rd email accounts when signing in to described the second email accounts, using the second email accounts to receive mail, allow the Mail Clients of described the 3rd email accounts to use the second email accounts to receive mail.
As can be seen from the above-described embodiment, compared with prior art, the present invention has following advantage:
For two email accounts that belong to same account server (the first email accounts and the second email accounts), can login the second email accounts for the Mail Clients of the second email accounts by the Mail Clients of the first email accounts, after login, also further can use the second email accounts to receive mail, therefore, can process in time the mail under the second email accounts, for the user who uses the second email accounts provides the facility in application.
It should be noted that, one of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above to provided by the present invention through authorizing offspring's logon account, generation to send and the method and apparatus of pickup receiving emails is described in detail, applied specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention simultaneously.