Summary of the invention
It is a primary object of the present invention in view of the deficiency of the prior art, provide a kind of Email sender
Method and e-mail server.
To achieve the above object, on the one hand, the present invention provides a kind of E-mail sending methods, comprising:
The first Email that request user is sent by Mail Clients is received, first Email includes at least
Recipient mailbox's account and Mail Contents;
Recipient mailbox's account is read, and judges whether recipient mailbox's account is registered effective mailbox
Account;
If recipient mailbox's account is unregistered invalid Email Accounts, by the postal in first Email
Part content is loaded onto an effective predetermined Email Accounts and forms the second Email and send.
Preferably, further includes:
Notification information is sent to the request user, the notification information is used to characterize the Email Accounts of the first Email
For invalid Email Accounts, Mail Contents have been forwarded to predetermined Email Accounts.
It preferably, further include that second Email is encrypted;
First Email further includes the communicating number for requesting user;
It is described to send notification information to the request user specifically:
The communicating number in first Email is read, the corresponding communication terminal of Xiang Suoshu communicating number sends short message
Breath, the short message include at least the predetermined Email Accounts and the deciphering for decrypting second Email.
Preferably, the predetermined Email Accounts includes at least the first predetermined Email Accounts and the second predetermined Email Accounts;
The Mail Contents by first Email are loaded onto an effective predetermined Email Accounts and form second
Email and the step of sending includes:
Read the Mail Contents of first Email;
The type of first Email is judged according to the Mail Contents, and is classified as commercial paper or non-advertisement
Class;
When the first Email is classified as commercial paper, then the Mail Contents in first Email are loaded onto institute
The first predetermined Email Accounts is stated to form the second Email A and send;
When the first Email is classified as non-commercial paper, then the Mail Contents in first Email are loaded onto
The second predetermined Email Accounts forms the second Email B and sends.
Preferably, the type that first Email is judged according to the Mail Contents, and be classified as wide
It accuses class or non-commercial paper step includes:
Retrieve the keyword or sentence in the Mail Contents of first Email, and by the keyword or sentence with
Setting keyword or sentence in database compare;
If there are at least one keyword or sentence and the database in the Mail Contents of first Email
Setting keyword or sentence it is identical, then judge first Email for commercial paper;
If the setting in keyword or sentence and the database in the Mail Contents of first Email is crucial
Word or sentence are all different, then judge first Email for non-commercial paper.
On the other hand, the present invention provides a kind of e-mail servers, comprising:
Receiving unit, the first Email sent for receiving request user by Mail Clients, first electricity
Sub- mail includes at least recipient mailbox's account and Mail Contents;
Judging unit for reading recipient mailbox's account, and judges whether recipient mailbox's account is
Effective Email Accounts of registration;
Transmission unit, if being unregistered invalid Email Accounts for recipient mailbox's account, by described first
Mail Contents in Email are loaded onto an effective predetermined Email Accounts and form the second Email and send.
Preferably, further includes:
Notification unit, for sending notification information to the request user, the notification information is for characterizing the first electronics
The Email Accounts of mail is invalid Email Accounts, and Mail Contents have been forwarded to predetermined Email Accounts.
It preferably, further include that second Email is encrypted;
First Email further includes the communicating number for requesting user;
The notification unit is specifically used for:
The communicating number in first Email is read, the corresponding communication terminal of Xiang Suoshu communicating number sends short message
Breath, the short message include at least the predetermined Email Accounts and the deciphering for decrypting second Email.
Preferably, the predetermined Email Accounts includes at least the first predetermined Email Accounts and the second predetermined Email Accounts;
The transmission unit includes:
Read module, for reading the Mail Contents of first Email;
Judgment module for judging the type of first Email according to the Mail Contents, and is classified as
Commercial paper or non-commercial paper;
Sending module, for being classified as commercial paper when the first Email, then by the postal in first Email
Part content is loaded onto the described first predetermined Email Accounts and forms the second Email A and send;
And work as the first Email and be classified as non-commercial paper, then the Mail Contents in first Email are added
The described second predetermined Email Accounts is loaded onto form the second Email B and send.
Preferably, the judgment module includes:
Contrast module, the keyword or sentence in Mail Contents for retrieving first Email, and will be described
Keyword or sentence in database setting keyword or sentence compare;
Classifying module, if in the Mail Contents of first Email there are at least one keyword or sentence with
Setting keyword or sentence in the database is identical, then judges first Email for commercial paper;
And if the setting in the keyword in the Mail Contents of first Email or sentence and the database
Keyword or sentence are all different, then judge first Email for non-commercial paper.
The E-mail sending method and e-mail server provided according to the present invention, when recipient mailbox's account
For unregistered invalid Email Accounts, then the Mail Contents in first Email are loaded onto an effective predetermined mailbox
Account formed the second Email simultaneously send, that is to say, that if recipient mailbox's account be it is wrong, by the Mail Contents
It is forwarded in a predetermined Email Accounts, in this way, addressee, which can enter in the predetermined Email Accounts, searches one's own postal
Part improves its mail communication efficiency in this way, effective mail communication may be implemented, meanwhile, it is easy to operate, it avoids sending failure
Caused by the problem of can not checking and accepting mail.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
Shown in referring to Fig.1, Fig. 1 shows the stream of E-mail sending method one embodiment provided in an embodiment of the present invention
Cheng Tu, for ease of description, only the parts related to the embodiment of the present invention are shown.Specifically, the E-mail sending method
It can be executed, be specifically included by an e-mail server:
S101, the first Email that request user is sent by Mail Clients is received, first Email is extremely
It less include recipient mailbox's account and Mail Contents.
Specifically, request user is sender, Mail Clients can be the software for receiving and dispatching mail.Request user
After being logged in by Mail Clients, Mail Contents are edited, recipient mailbox's account is filled in, the first Email can be formed, it should
First Email is sent to e-mail server, e-server first Email ready to receive.
S102, recipient mailbox's account is read, and judges whether recipient mailbox's account is registered to have
Imitate Email Accounts.
Since recipient mailbox's account when sender edits mail, may be filled out to mistake, such as mistake writes a letter or one
A number etc., so, it also there is, the incorrect situation of recipient mailbox's account is this to fill in incorrect recipient mailbox
Account, it is more likely that for the invalid Email Accounts not being registered.As a result, in step S102, e-mail server exists
After receiving the first Email, recipient mailbox's account is read from the first Email, and to recipient mailbox's account
It number is verified, such as the related registration information that whether there is recipient mailbox's account in database will be searched, if so, then
Recipient mailbox's account is judged for effective Email Accounts, and if judging the recipient mailbox without related registration information
Account is invalid Email Accounts.
If S103, recipient mailbox's account are unregistered invalid Email Accounts, by first Email
In Mail Contents be loaded onto an effective predetermined Email Accounts and form the second Email and send.
Since when recipient mailbox's account is invalid Email Accounts, e-mail server cannot send first electronics
Mail, therefore, in step S103, e-mail server replicates the Mail Contents in the first Email, and adds one
A predetermined Email Accounts pre-set, which is registered effective Email Accounts, in this way, the postal
Part content and predetermined Email Accounts form a new Email, i.e. the second Email.Due in the second Email
Predetermined Email Accounts be effective Email Accounts, therefore, e-mail server can send second Email.
Whereby, as long as addressee can obtain the predetermined Email Accounts and password, the predetermined Email Accounts can be logged in, into
And above-mentioned second Email is found, obtain Mail Contents therein.For example, predetermined Email Accounts and password can be arranged
As a well known Email Accounts.
According to E-mail sending method provided in this embodiment, when recipient mailbox's account is unregistered invalid
Mail Contents in first Email are then loaded onto an effective predetermined Email Accounts and form the second electricity by Email Accounts
Sub- mail is simultaneously sent, that is to say, that if recipient mailbox's account be it is wrong, by the Mail Contents be forwarded to one it is predetermined
In Email Accounts, in this way, addressee, which can enter in the predetermined Email Accounts, searches one's own mail, in this way, can be real
Now effective mail communication improves its mail communication efficiency, meanwhile, it is easy to operate, it avoids not checking and accepting caused by sending failure
The problem of mail.
Referring to shown in Fig. 2, Fig. 2 shows another embodiments of E-mail sending method provided in an embodiment of the present invention
Flow chart, for ease of description, only the parts related to the embodiment of the present invention are shown.Specifically, Email sender
Method can be executed by an e-mail server, be specifically included:
S201, the first Email that request user is sent by Mail Clients is received, first Email is extremely
It less include recipient mailbox's account and Mail Contents.
S202, recipient mailbox's account is read, and judges whether recipient mailbox's account is registered to have
Imitate Email Accounts.
If S203, recipient mailbox's account are unregistered invalid Email Accounts, by first Email
In Mail Contents be loaded onto an effective predetermined Email Accounts and form the second Email and send.
Above-mentioned steps S201 is identical as step S101 to S103 in embodiment one to S203 step, referring specifically to embodiment one
In associated description, details are not described herein.
S204, notification information is sent to the request user, the notification information is used to characterize the postal of the first Email
Case account is invalid Email Accounts, and Mail Contents have been forwarded to predetermined Email Accounts.
That is, e-mail server can be upward after the second Email is sent to predetermined Email Accounts
The request user stated sends notification information, requests user after knowing above-mentioned notification information, you can learn that the first of its transmission
There are recipient mailbox's account mistakes for Email, and are forwarded in predetermined Email Accounts.
In this way, request user (that is to say sender) can inform addressee, the first Email transmitted by him fails
It is smoothly sent to the mailbox of addressee, and the first Email has been forwarded in predetermined Email Accounts.Such as request user can
The notification information is forwarded to addressee, in this way, addressee is you can learn that the notification information, and then be convenient to addressee go it is pre-
Determine to inquire above-mentioned first Email in Email Accounts.
According to E-mail sending method provided in this embodiment, when recipient mailbox's account is unregistered invalid
Mail Contents in first Email are then loaded onto an effective predetermined Email Accounts and form the second electricity by Email Accounts
Sub- mail is simultaneously sent, that is to say, that if recipient mailbox's account be it is wrong, by the Mail Contents be forwarded to one it is predetermined
In Email Accounts, in this way, addressee, which can enter in the predetermined Email Accounts, searches one's own mail, in this way, can be real
Now effective mail communication improves its mail communication efficiency, meanwhile, it is easy to operate, it avoids not checking and accepting caused by sending failure
The problem of mail.
Referring to shown in Fig. 3, Fig. 3 shows another embodiment of E-mail sending method provided in an embodiment of the present invention
Flow chart, for ease of description, only the parts related to the embodiment of the present invention are shown.Specifically, Email sender
Method can be executed by an e-mail server, be specifically included:
S301, the first Email that request user is sent by Mail Clients is received, first Email is extremely
It less include recipient mailbox's account, Mail Contents and the communicating number for requesting user.
That is, also including to request the communicating number of user, such as mobile phone in the first Email in the present embodiment
Number etc..
S302, recipient mailbox's account is read, and judges whether recipient mailbox's account is registered to have
Imitate Email Accounts.
If S303, recipient mailbox's account are unregistered invalid Email Accounts, by first Email
In Mail Contents be loaded onto an effective predetermined Email Accounts and form the second Email.
Above-mentioned steps S302 and S303 is identical, and for details, reference can be made to a kind of S102, S103 associated descriptions of embodiment, herein no longer
It repeats.
S304, it is retransmited after second Email is encrypted.
Due to being generally stored with more Email in predetermined Email Accounts, if these Emails all in not plus
Close state, then other people can check any mail in the predetermined Email Accounts, it is clear that the mail being not belonging to needed for oneself, quilt
He checks that then there may be leakage related contents.As a result, in the present embodiment, step S304, formed the second Email it
Afterwards, the second Email is encrypted, so that the second Email is in non-public, no deciphering cannot check this
Second Email.In this way, the user for logging in the predetermined Email Accounts cannot check other Emails, protection privacy is played
Effect.
Communicating number in S305, reading first Email, the corresponding communication terminal hair of Xiang Suoshu communicating number
Short message is sent, the short message includes at least the predetermined Email Accounts and the decryption for decrypting above-mentioned second Email
Code.
That is, it is short message that e-mail server, which sends notification information, specifically, due in the first Email
Carry request user communicating number, so, e-mail server can by by SMS platform to request user
Communication terminal send short message.Moreover, including above-mentioned predetermined Email Accounts and deciphering in the short message.In this way, when asking
After asking user that the short message is sent to addressee, addressee can log in the predetermined Email Accounts, and pass through deciphering
The first Email of oneself is decrypted, and then knows the Mail Contents in the first Email.
It should be noted that predetermined Email Accounts can be a known Email Accounts, well known password can be set, or
Person does not need password, and deciphering is then a string of the characters that can be e-mail server and generate at random, such as number etc..And
And the deciphering is unique corresponding with the second Email, is only used for that second Email is decrypted, and cannot
To other Emails decryption in predetermined Email Accounts.
According to E-mail sending method provided in this embodiment, when recipient mailbox's account is unregistered invalid
Mail Contents in first Email are then loaded onto an effective predetermined Email Accounts and form the second electricity by Email Accounts
Sub- mail is simultaneously sent, that is to say, that if recipient mailbox's account be it is wrong, by the Mail Contents be forwarded to one it is predetermined
In Email Accounts, in this way, addressee, which can enter in the predetermined Email Accounts, searches one's own mail, in this way, can be real
Now effective mail communication improves its mail communication efficiency, meanwhile, it is easy to operate, it avoids not checking and accepting caused by sending failure
The problem of mail.
Referring to shown in Fig. 4, Fig. 4 shows another embodiment of E-mail sending method provided in an embodiment of the present invention
Flow chart, for ease of description, only the parts related to the embodiment of the present invention are shown.Specifically, Email sender
Method can be executed by an e-mail server, be specifically included:
S401, the first Email that request user is sent by Mail Clients is received, first Email is extremely
It less include recipient mailbox's account, Mail Contents and the communicating number for requesting user.
That is, also including to request the communicating number of user, such as mobile phone in the first Email in the present embodiment
Number etc..
S402, recipient mailbox's account is read, and judges whether recipient mailbox's account is registered to have
Imitate Email Accounts.Step S402 is identical as step S102 in Fig. 1 embodiment, and details are not described herein.
S403, the Mail Contents for reading first Email.
S404, the type that first Email is judged according to the Mail Contents, and be classified as commercial paper or
Non- commercial paper.
In a preferred embodiment of the invention, step S404 may comprise steps of:
Retrieve the keyword or sentence in the Mail Contents of first Email, and by the keyword or sentence with
Setting keyword or sentence in database compare;
If there are at least one keyword or sentence and the database in the Mail Contents of first Email
Setting keyword or sentence it is identical, then judge first Email for commercial paper;
If the setting in keyword or sentence and the database in the Mail Contents of first Email is crucial
Word or sentence are all different, then judge first Email for non-commercial paper.
Due to generally having more publicity word for commercial paper Email, these publicity words can receive in advance
Record, can be by Mail Contents wherein when receiving the first Email into the database of e-mail server
Keyword retrieval comparison is carried out, can judge whether first Email is commercial paper Email according to comparing result.
S405, when the first Email is classified as commercial paper, then the Mail Contents in first Email are added
It is loaded onto the first predetermined Email Accounts and forms the second Email A;
When the first Email is classified as non-commercial paper, then the Mail Contents in first Email are loaded onto
Second predetermined Email Accounts forms the second Email B.
S406, the second Email A or the second Email B are encrypted.The step and Fig. 3 embodiment
Middle step S304 is identical, and details are not described herein.
Communicating number in S407, reading first Email, the corresponding communication terminal hair of Xiang Suoshu communicating number
Short message is sent, the short message includes at least the described first predetermined Email Accounts and for decrypting above-mentioned second Email A
Deciphering or the second predetermined Email Accounts and the deciphering for decrypting above-mentioned second Email B.
Since some request users may be that no target sends advertisement matter, that is to say, that in the present embodiment, electronics postal
Part server can carry out classification processing to the first Email that request user sends, and be divided into two class of commercial paper and non-commercial paper.
Further according to the type of the first Email, Mail Contents are sent to different predetermined Email Accounts by selection.One of them is predetermined
Email Accounts (such as first predetermined Email Accounts) for storing non-commercial paper, that is, useful Email, and another
Predetermined Email Accounts (such as second predetermined Email Accounts) is for storing commercial paper, that is, useless Email.In this way,
It can be sent to a predetermined Email Accounts to avoid all Emails, cause mail chaotic, search the problems such as cumbersome.
According to E-mail sending method provided in this embodiment, when recipient mailbox's account is unregistered invalid
Mail Contents in first Email are then loaded onto an effective predetermined Email Accounts and form the second electricity by Email Accounts
Sub- mail is simultaneously sent, that is to say, that if recipient mailbox's account be it is wrong, by the Mail Contents be forwarded to one it is predetermined
In Email Accounts, in this way, addressee, which can enter in the predetermined Email Accounts, searches one's own mail, in this way, can be real
Now effective mail communication improves its mail communication efficiency, meanwhile, it is easy to operate, it avoids not checking and accepting caused by sending failure
The problem of mail.
Referring to Figure 5, Fig. 5 shows the structural representation of e-mail server one embodiment provided by the invention
Figure, the e-mail server, comprising:
Receiving unit 501, the first Email sent for receiving request user by Mail Clients, described first
Email includes at least recipient mailbox's account and Mail Contents;
Judging unit 502, for reading recipient mailbox's account, and judge recipient mailbox's account whether be
Registered effective Email Accounts;
Transmission unit 503, if being unregistered invalid Email Accounts for recipient mailbox's account, by described the
Mail Contents in one Email are loaded onto an effective predetermined Email Accounts and form the second Email and send.
In one embodiment of the invention, further includes:
Notification unit 504, for sending notification information to the request user, the notification information is for characterizing the first electricity
The Email Accounts of sub- mail is invalid Email Accounts, and Mail Contents have been forwarded to predetermined Email Accounts.
In one embodiment of the invention, first Email further includes the communicating number for requesting user;
The notification unit 504 is specifically used for:
The communicating number in first Email is read, the corresponding communication terminal of Xiang Suoshu communicating number sends short message
Breath, the short message include at least the predetermined Email Accounts and the deciphering for decrypting above-mentioned first Email.
In one embodiment of the invention, the predetermined Email Accounts includes at least the first predetermined Email Accounts and second
Predetermined Email Accounts;
The transmission unit 503 includes:
Read module 5031, for reading the Mail Contents of first Email;
Judgment module 5032 for judging the type of first Email according to the Mail Contents, and is returned
Class is commercial paper or non-commercial paper;
Sending module 5033 then will be in first Email for being classified as commercial paper when the first Email
Mail Contents be loaded onto the described first predetermined Email Accounts and form the second Email A and send;
And work as the first Email and be classified as non-commercial paper, then the Mail Contents in first Email are added
The described second predetermined Email Accounts is loaded onto form the second Email B and send.
In one particular embodiment of the present invention, the judgment module 502 includes:
Contrast module 5021, the keyword or sentence in Mail Contents for retrieving first Email, and will
The keyword or sentence in database setting keyword or sentence compare;
Classifying module 5022, if there are at least one keyword or languages in Mail Contents for first Email
Sentence in the database setting keyword or sentence it is identical, then judge first Email for commercial paper;
And if the setting in the keyword in the Mail Contents of first Email or sentence and the database
Keyword or sentence are all different, then judge first Email for non-commercial paper.
According to e-mail server provided in this embodiment, when recipient mailbox's account is unregistered invalid postal
Mail Contents in first Email are then loaded onto an effective predetermined Email Accounts and form the second electronics by case account
Mail is simultaneously sent, that is to say, that if recipient mailbox's account be it is wrong, which is forwarded to a predetermined postal
In case account, in this way, addressee, which can enter in the predetermined Email Accounts, searches one's own mail, in this way, may be implemented
Effective mail communication improves its mail communication efficiency, meanwhile, it is easy to operate, it avoids that postal can not be checked and accepted caused by sending failure
The problem of part.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device or system class embodiment, since it is basically similar to the method embodiment, so be described relatively simple, it is related
Place illustrates referring to the part of embodiment of the method.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.