Summary of the invention
Main purpose of the present invention is, for above-mentioned deficiency of the prior art, provides a kind of e-mail sending method and device.
For achieving the above object, on the one hand, e-mail sending method provided by the invention, comprising:
Receive the e-mail messages that request user is sent by the first communication terminal, described e-mail messages at least comprises Email Accounts undetermined and the Mail Contents that is intended registration, and described Email Accounts undetermined is made up of communicating number and mailbox suffix;
Set up the association between described Email Accounts undetermined and Mail Contents, and generate related information table and store;
Judge whether described Email Accounts undetermined is registered effective Email Accounts;
If described Email Accounts undetermined is registered effective Email Accounts, then by after the described related information table of inquiry, the mailbox contents be associated with described Email Accounts undetermined is sent to described Email Accounts undetermined.
Preferably, described by after the described related information table of inquiry, before the mailbox contents be associated with described Email Accounts undetermined is sent to described Email Accounts undetermined, also comprise:
Authorization information is sent to described communicating number;
Receiving target user, by the return information of second communication terminal feedback, if described return information mates with described authorization information, then continues subsequent step.
Preferably, also comprise:
If described Email Accounts undetermined is unregistered invalid Email Accounts, then after the scheduled time of interval, re-execute and judge that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
Preferably, describedly judge whether described Email Accounts undetermined is registered effective Email Accounts, specifically comprises:
Send inquiry request to mailbox registrar, inquire about described Email Accounts undetermined to make mailbox registrar and whether be present in register list and whether for effective status;
Receive the confirmation of mailbox registrar feedback, to be present in register list if confirmation determines described Email Accounts undetermined and to be effective status, be then judged as that described Email Accounts undetermined is registered effective Email Accounts; Otherwise be judged as that Email Accounts undetermined is unregistered invalid Email Accounts.
Preferably, described communicating number is cell-phone number.
On the other hand, mail sending device provided by the invention, comprising:
Receiver module, for receiving the e-mail messages that request user is sent by the first communication terminal, described e-mail messages at least comprises Email Accounts undetermined and the Mail Contents that is intended registration, and described Email Accounts undetermined is made up of communicating number and mailbox suffix;
Relating module, for setting up the association between described Email Accounts undetermined and Mail Contents, and generates related information table and stores;
Judge module, for judging whether described Email Accounts undetermined is registered effective Email Accounts;
Forwarding module, if be registered effective Email Accounts for described Email Accounts undetermined, then by after the described related information table of inquiry, is sent to described Email Accounts undetermined by the mailbox contents be associated with described Email Accounts undetermined.
Preferably, also comprise:
First sending module, for sending authorization information to described communicating number;
Authentication module, for the return information of receiving target user by second communication terminal feedback, if described return information mates with described authorization information, then continues subsequent step.
Preferably, also comprise:
Redirect module, if be unregistered invalid Email Accounts for described Email Accounts undetermined, then after the scheduled time of interval, re-executes and judges that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
Preferably, described judge module specifically comprises:
Whether whether the second sending module, for sending inquiry request to mailbox registrar, inquiring about described Email Accounts undetermined to make mailbox registrar and being present in register list and for effective status;
Confirm module, for receiving the confirmation of mailbox registrar feedback, to be present in register list if confirmation determines described Email Accounts undetermined and to be effective status, being then judged as that described Email Accounts undetermined is registered effective Email Accounts; Otherwise be judged as that Email Accounts undetermined is unregistered invalid Email Accounts.
Preferably, described communicating number is cell-phone number.
According to e-mail sending method of the present invention and device, can form after Email Accounts undetermined associates with Mail Contents with mailbox suffix and be stored in intermediate server by communicating number, after this Email Accounts undetermined is registered, after forming registered effective Email Accounts, Mail Contents can be sent in this Email Accounts by intermediate server, so, for request user, only need the communicating number knowing targeted customer, in subsequent process, as long as targeted customer is with this communicating number registration mailbox, then can receive the mail that intermediate server forwards, by this, achieve when there is no the effective electron Email Accounts of targeted customer, carry out the transmission of mail, mail sending under special circumstances between user can be convenient to.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
With reference to shown in Fig. 1, Fig. 1 shows the flow chart of the e-mail sending method embodiment that the embodiment of the present invention provides, and for convenience of description, illustrate only the part relevant to the embodiment of the present invention.Concrete, this e-mail sending method can be performed by an intermediate server, specifically comprises:
The e-mail messages that S101, reception request user are sent by the first communication terminal, described e-mail messages at least comprises the Email Accounts undetermined and Mail Contents intending registering, and described Email Accounts undetermined is made up of communicating number and mailbox suffix.
Request user is the sender of mail, first communication terminal can be the communication equipment such as mobile phone, computer, when request user is not when knowing the E-mail address account of targeted customer, or when targeted customer does not have an E-mail address account, need to send mail to targeted customer, then request user can with the communicating number of targeted customer for name, add mailbox suffix and form Email Accounts undetermined, such as 137XXX163.com, wherein, 137XXX is the communicating number of targeted customer, and 163.com is mailbox suffix.After determining Email Accounts undetermined, send the e-mail messages comprising this Email Accounts undetermined and Mail Contents to intermediate server.
S102, set up association between described Email Accounts undetermined and Mail Contents, and generate related information table and store.
The Mail Contents sent due to request user is the targeted customer for this Email Accounts undetermined, so, after intermediate server receives the e-mail messages of request user transmission, intermediate server needs Email Accounts undetermined to the Mail Contents in this e-mail messages and this to associate, form relation one to one, and generate related information table.
S103, judge whether described Email Accounts undetermined is registered effective Email Accounts.
Owing to asking user not knowing the Email Accounts of targeted customer during Email Accounts undetermined, or under the prerequisite of targeted customer not by communicating number registration mailbox itself, oneself is according to the self-defining Email Accounts of the communicating number of targeted customer.So this Email Accounts is probably do not have registered, if this Email Accounts undetermined is not registered, then mail cannot send.So, in this step, need to judge whether this Email Accounts undetermined is registered effective Email Accounts.
If the described Email Accounts undetermined of S104 is registered effective Email Accounts, then by after the described related information table of inquiry, the mailbox contents be associated with described Email Accounts undetermined is sent to described Email Accounts undetermined.
That is, as long as this Email Accounts undetermined is registered effective Email Accounts, then this mailbox contents be associated with described Email Accounts undetermined is sent to this Email Accounts undetermined by intermediate server, and now, targeted customer can receive this mail.
It should be noted that, although Email Accounts undetermined asks user oneself according to the self-defining Email Accounts of the communicating number of targeted customer, be not probably registered, temporarily cannot send this mail to targeted customer.But, as long as targeted customer registers this E-mail address in the later stage with this communicating number, then Email Accounts undetermined can become registered effective Email Accounts, now, associated mail content then can be sent to above-mentioned Email Accounts undetermined by intermediate server, completes the transmission of mail.
E-mail sending method is provided according to the present embodiment, can form after Email Accounts undetermined associates with Mail Contents with mailbox suffix and be stored in intermediate server by communicating number, after this Email Accounts undetermined is registered, after forming registered effective Email Accounts, Mail Contents can be sent in this Email Accounts by intermediate server, so, for request user, only need the communicating number knowing targeted customer, in subsequent process, as long as targeted customer is with this communicating number registration mailbox, then can receive the mail that intermediate server forwards, by this, achieve when there is no the effective electron Email Accounts of targeted customer, carry out the transmission of mail, mail sending under special circumstances between user can be convenient to.
With reference to shown in Fig. 2, Fig. 2 shows the flow chart of another embodiment of e-mail sending method that the embodiment of the present invention provides, and for convenience of description, illustrate only the part relevant to the embodiment of the present invention.Concrete, this e-mail sending method can be performed by an intermediate server, specifically comprises:
The e-mail messages that S201, reception request user are sent by the first communication terminal, described e-mail messages at least comprises the Email Accounts undetermined and Mail Contents intending registering, and described Email Accounts undetermined is made up of communicating number and mailbox suffix.
S202, set up association between described Email Accounts undetermined and Mail Contents, and generate related information table and store.
S203, judge whether described Email Accounts undetermined is registered effective Email Accounts.
If the described Email Accounts undetermined of S204 is registered effective Email Accounts, send authorization information to described communicating number.
Because the Email Accounts undetermined of communicating number and suffix composition may by other people registration beyond targeted customer, so, in order to avoid other people receive this mail by this Email Accounts undetermined.In this step, intermediate server to use this communicating number second communication terminal send authorization information (such as identifying code), second communication terminal after receiving authorization information, by feeding back to complex information to intermediate server.
S205, receiving target user, by the return information of second communication terminal feedback, if described return information mates with described authorization information, then continue subsequent step S206.
That is, after intermediate server receives return information, return information and described authorization information contrast by intermediate server, if described return information mates with described authorization information, such as, identifying code in return information is identical with the identifying code in authorization information, then illustrate that targeted customer is exactly the user using this communicating number, therefore, continue subsequent step S206.
S206, by inquiry described related information table after, the mailbox contents be associated with described Email Accounts undetermined is sent to described Email Accounts undetermined.
That is, the fire be verified, this mailbox contents be associated with described Email Accounts undetermined can be sent to this Email Accounts undetermined by intermediate server, and now, targeted customer can receive this mail.
In the present embodiment, step S204,205 can realize verifying the identity of targeted customer, to avoid when not verifying, by mail sending to non-targeted customer problem.
It should be noted that, in the present embodiment, step S201, S202, S203, S206 are identical with the corresponding step in above-described embodiment, and therefore not to repeat here.
E-mail sending method is provided according to the present embodiment, can form after Email Accounts undetermined associates with Mail Contents with mailbox suffix and be stored in intermediate server by communicating number, after this Email Accounts undetermined is registered, after forming registered effective Email Accounts, Mail Contents can be sent in this Email Accounts by intermediate server, so, for request user, only need the communicating number knowing targeted customer, in subsequent process, as long as targeted customer is with this communicating number registration mailbox, then can receive the mail that intermediate server forwards, by this, achieve when there is no the effective electron Email Accounts of targeted customer, carry out the transmission of mail, mail sending under special circumstances between user can be convenient to.
With reference to shown in Fig. 3, Fig. 3 shows the flow chart of another embodiment of e-mail sending method that the embodiment of the present invention provides, and for convenience of description, illustrate only the part relevant to the embodiment of the present invention.Concrete, this e-mail sending method can be performed by an intermediate server, specifically comprises:
The e-mail messages that S301, reception request user are sent by the first communication terminal, described e-mail messages at least comprises the Email Accounts undetermined and Mail Contents intending registering, and described Email Accounts undetermined is made up of communicating number and mailbox suffix.
S302, set up association between described Email Accounts undetermined and Mail Contents, and generate related information table and store.
S303, judge whether described Email Accounts undetermined is registered effective Email Accounts.
If the described Email Accounts undetermined of S304 is registered effective Email Accounts, then by after the described related information table of inquiry, the mailbox contents be associated with described Email Accounts undetermined is sent to described Email Accounts undetermined.
That is, as long as this Email Accounts undetermined is registered effective Email Accounts, then this mailbox contents be associated with described Email Accounts undetermined is sent to this Email Accounts undetermined by intermediate server, and now, targeted customer can receive this mail.
If the described Email Accounts undetermined of S305 is unregistered invalid Email Accounts, then after the scheduled time of interval, re-execute and judge that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
Because targeted customer is in follow-up time, can register this Email Accounts by this communicating number, then namely Email Accounts undetermined becomes registered effective Email Accounts.So, in this step, if this Email Accounts undetermined is unregistered invalid Email Accounts, then intermediate server can after the interval scheduled time (such as one day, one week etc.), re-executes and judges that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
So, once targeted customer registers this Email Accounts undetermined by this communicating number, then Mail Contents one mail he associated with this Email Accounts undetermined is sent in the described second communication terminal of targeted customer by intermediate server at once.
It should be noted that, in the present embodiment, step S301, S302, S303, S304 are identical with the corresponding step in above-described embodiment, and therefore not to repeat here.
E-mail sending method is provided according to the present embodiment, can form after Email Accounts undetermined associates with Mail Contents with mailbox suffix and be stored in intermediate server by communicating number, after this Email Accounts undetermined is registered, after forming registered effective Email Accounts, Mail Contents can be sent in this Email Accounts by intermediate server, so, for request user, only need the communicating number knowing targeted customer, in subsequent process, as long as targeted customer is with this communicating number registration mailbox, then can receive the mail that intermediate server forwards, by this, achieve when there is no the effective electron Email Accounts of targeted customer, carry out the transmission of mail, mail sending under special circumstances between user can be convenient to.
In one embodiment of the invention, judge whether described Email Accounts undetermined is registered effective Email Accounts, specifically comprises:
Send inquiry request to mailbox registrar, inquire about described Email Accounts undetermined to make mailbox registrar and whether be present in register list and whether for effective status.That is, mailbox registrar (such as 163 mailbox registrar) generally all stores the log-on message of each Email Accounts, such as register list, by the Email Accounts in inquiry register list, the state (whether effective) that whether above-mentioned Email Accounts undetermined has been registered and it is current can be known.Concrete, if search the account that in register list, existence is identical with Email Accounts undetermined, then illustrate that this Email Accounts undetermined is registered.
Receive the confirmation of mailbox registrar feedback, to be present in register list if confirmation determines described Email Accounts undetermined and to be effective status, be then judged as that described Email Accounts undetermined is registered effective Email Accounts; Otherwise be judged as that Email Accounts undetermined is unregistered invalid Email Accounts.
That is, Query Result can be fed back to intermediate server by mailbox registrar, by the result of feedback, intermediate server can know whether this Email Accounts undetermined is registered and current state.So, the judgement whether Email Accounts undetermined is registered effective Email Accounts can be realized.
With reference to shown in Fig. 4, Fig. 4 shows the flow chart of another embodiment of e-mail sending method that the embodiment of the present invention provides, and be with difference embodiment illustrated in fig. 2 in the present embodiment, the present embodiment also comprises step S207:
If described Email Accounts undetermined is unregistered invalid Email Accounts, then after the scheduled time of interval, re-execute and judge that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
Because targeted customer is in follow-up time, can register this Email Accounts by this communicating number, then namely Email Accounts undetermined becomes registered effective Email Accounts.So, in this step, if this Email Accounts undetermined is unregistered invalid Email Accounts, then intermediate server can after the interval scheduled time (such as one day, one week etc.), re-executes and judges that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
So, once targeted customer registers this Email Accounts undetermined by this communicating number, then Mail Contents one mail he associated with this Email Accounts undetermined is sent in the described second communication terminal of targeted customer by intermediate server at once.
It should be noted that, in the above-described embodiments, communicating number can be the cell-phone number of targeted customer, so, cell-phone number has uniqueness, is convenient to user by the above-mentioned Email Accounts undetermined of this cell-phone number registration, in addition, user is also convenient to by mobile phone verification step S204, S205.
With reference to shown in Fig. 5, Fig. 5 shows the structural representation of mail sending device provided by the invention 500 1 embodiments, and this mail sending device 500 comprises receiver module 501, relating module 502, judge module 503 and forwarding module 504.
The e-mail messages that receiver module 501 is sent by the first communication terminal for receiving request user, described e-mail messages at least comprises Email Accounts undetermined and the Mail Contents that is intended registration, and described Email Accounts undetermined is made up of communicating number and mailbox suffix.
Relating module 502 for setting up the association between described Email Accounts undetermined and Mail Contents, and generates related information table and stores.
Judge module 503 is for judging whether described Email Accounts undetermined is registered effective Email Accounts.
If forwarding module 504 is registered effective Email Accounts for described Email Accounts undetermined, then by after the described related information table of inquiry, the mailbox contents be associated with described Email Accounts undetermined is sent to described Email Accounts undetermined.
In one embodiment of the invention, the first sending module 505 and authentication module 506 is also comprised.
First sending module 505 is for sending authorization information to described communicating number;
Authentication module 506, for the return information of receiving target user by second communication terminal feedback, if described return information mates with described authorization information, then continues subsequent step.
In one embodiment of the invention, also comprise redirect module 507, if this redirect module 507 is unregistered invalid Email Accounts for described Email Accounts undetermined, then after the scheduled time of interval, re-execute and judge that whether described Email Accounts undetermined is step and the subsequent step of registered effective Email Accounts.
More specifically, in one particular embodiment of the present invention, judge module 503 specifically comprises the second sending module 5031 and confirms module 5032.
Whether whether the second sending module 5031, for sending inquiry request to mailbox registrar, inquired about described Email Accounts undetermined to make mailbox registrar and be present in register list and for effective status;
Confirming that module 5032 is for receiving the confirmation of mailbox registrar feedback, to be present in register list if confirmation determines described Email Accounts undetermined and to be effective status, being then judged as that described Email Accounts undetermined is registered effective Email Accounts; Otherwise be judged as that Email Accounts undetermined is unregistered invalid Email Accounts.
As preferably, above-mentioned communicating number can be the cell-phone number of targeted customer.
It should be noted that, the mail sending device 500 of the embodiment of the present invention, may be used for the whole technical schemes realized in said method embodiment, the function of its each functional unit can according to the method specific implementation in said method embodiment, its specific implementation process can refer to the associated description in said method embodiment, in addition, the typical feature etc. that this mail sending device has said method specifically see the associated description of said method embodiment, can repeat no more herein.
According to the mail sending device 500 that the embodiment of the present invention provides, can form after Email Accounts undetermined associates with Mail Contents with mailbox suffix and be stored in intermediate server by communicating number, after this Email Accounts undetermined is registered, after forming registered effective Email Accounts, Mail Contents can be sent in this Email Accounts by intermediate server, so, for request user, only need the communicating number knowing targeted customer, in subsequent process, as long as targeted customer is with this communicating number registration mailbox, then can receive the mail that intermediate server forwards, by this, achieve when there is no the effective electron Email Accounts of targeted customer, carry out the transmission of mail, mail sending under special circumstances between user can be convenient to.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device or system class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.