CN103384219B - E-mail sending method and system - Google Patents
E-mail sending method and system Download PDFInfo
- Publication number
- CN103384219B CN103384219B CN201310303764.3A CN201310303764A CN103384219B CN 103384219 B CN103384219 B CN 103384219B CN 201310303764 A CN201310303764 A CN 201310303764A CN 103384219 B CN103384219 B CN 103384219B
- Authority
- CN
- China
- Prior art keywords
- receipt
- unit interval
- addresser
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of E-mail sending method and system, described method includes: the mail distribution module of E-mail sending system is every setting the time period, obtain Email to be sent from queue to be sent successively to process: for currently processed Email, determine the transmit queue of the receipt mail server corresponding to this Email less than in the case of, and find in cache module and send the mail number of times to the receipt mail server of this Email in the unit interval that the addresser for this Email is added up less than after for the number of times higher limit set by this addresser and this receipt mail server, this Email is deposited in the transmit queue of corresponding described receipt mail server;The mail sending module of E-mail sending system, every setting the time period, obtains Email from each transmit queue and is transmitted to corresponding receipt mail server.Thus, decrease bounce quantity, improve the transmission success rate of Email.
Description
Technical field
The present invention relates to internet arena, particularly relate to a kind of E-mail sending method and system.
Background technology
Email (electronic mail) is a kind of communication mode electronically providing information exchange,
It is Internet(the Internet) most widely used service;By the E-mail sending system of network, user
Can contact with other network users in the way of quick, cheap.
Email sends process usually: mail server receives the postal that addresser is sent by client
After part information, the e-mail messages received is checked, if checking and not meeting mail standards, back page
Information alert user rewrites;If checking and meeting mail standards, then the e-mail messages formatting received is processed
Become Email.For ease of describing, e-mail messages will be received and generate the mail of Email herein
Server is referred to as sender mail server.
The sender mail server mail server to the place, address of the addresser of this Email sends should
Email;For ease of describing, herein by the mail service at the place, address of the addresser of Email
Device is referred to as receipt mail server.
Receipt mail server is in order to avoid by e-mail attack, or receives too much garbage files and lead
The collapse of cause system, the most all can arrange the upper limit of a unit interval reception mail number of times;If received
Mail server receives the mail number of times of certain addresser within the unit interval and has reached this upper limit, then receive
Mail server will reject the mail of the follow-up transmission of this addresser.
But, in actual applications, often have the list that Email is arranged because of receipt mail server
Bit time receives the upper limit of mail number of times and is rejected, returns to sender mail server;Thus cause sending out
Sending mail server mail to send success rate to reduce, bounce quantity is higher, so that increasing the weight of to send mail service
The processing load of device, and reduce the efficiency of sender mail server transmission Email.
And, the Email of rejection would generally be put into the tail of the queue etc. of transmit queue by sender mail server
Treat transmission next time;When carrying out sending next time, it is possible to receipt mail server is still in rejecting this electronics
The state of mail, and trigger limiting of higher level the addresser of this Email is extended the rejection time.
So may result in this Email to be iteratively transmitted on by sender mail server, by receipt mail server
Repeatedly reject;More waste the resource of sender mail server so that sender mail server sends electronics
The efficiency of mail is low.
Therefore, it is necessary to provide that a kind of bounce quantity is few, the Email with higher transmission success rate is sent out
Delivery method.
Summary of the invention
The defect existed for above-mentioned prior art, the invention provides a kind of E-mail sending method and is
System, in order to improve the transmission success rate of Email.
According to an aspect of the invention, it is provided a kind of E-mail sending method, including:
The mail distribution module of E-mail sending system is every setting the time period, successively from queue to be sent
Obtain Email to be sent to process:
For currently processed Email, described mail distribution module is determining corresponding to this Email
Receipt mail server transmit queue less than in the case of, find in cache module for this electricity
The mail reception mail service to this Email is sent in the unit interval that the addresser of sub-mail is added up
The number of times of device;If the number of times found is less than for set by this addresser and this receipt mail server
Number of times higher limit, then be deposited into this Email in the transmit queue of corresponding described receipt mail server;
And
The mail sending module of described E-mail sending system is every setting the time period, from each transmit queue
Middle acquisition Email is transmitted to corresponding receipt mail server;Wherein, an Email is sent
Process include:
After a described mail sending module transmit queue from which obtains an Email, by described
Send in unit interval of being added up of addresser for this Email of storage in cache module mail to
After the number of times of the receipt mail server of this Email adds 1, send this Email.
Further, described mail sending module from which a transmit queue obtain an Email
After, also include:
If described mail sending module determines does not stores sending out for this Email in described cache module
The mail number of times to the receipt mail server of this Email is sent in the unit interval that letter people is added up,
Mail is sent to this Email in then generating the unit interval that the addresser for this Email is added up
The variable of number of times of receipt mail server, and after the value initializing this variable is 0, be stored to
In described cache module.
It is preferred that send postal in unit interval of being added up for the addresser of this Email of described generation
Part, to the variable of the number of times of the receipt mail server of this Email, specifically includes:
Described mail sending module generates a variable, and the title of this variable is by the addresser of this Email
Information, the information of receipt mail server of this Email, and the information of described unit interval depends on
Formed according to setting rule;And
Described find in cache module in the unit interval that the addresser for this Email is added up
Transmission mail, to the number of times of the receipt mail server of this Email, specifically includes:
Described mail distribution module, for described currently processed Email, is determined described currently processed
The sender information of Email, the information of receipt mail server, by the sender information determined,
The information of receipt mail server, and the information of described unit interval is according to setting rule one change of composition
After amount title, described cache module is searched the value of variable corresponding to this name variable;And
After a described mail sending module transmit queue from which obtains an Email, by described
Send in unit interval of being added up of addresser for this Email of storage in cache module mail to
The number of times of the receipt mail server of this Email adds 1, specifically includes:
Described mail sending module, for the current Email obtained, determines the electricity of described current acquisition
The sender information of sub-mail, the information of receipt mail server, by the sender information determined, connect
The information of receiving emails server, and the information of described unit interval is according to setting rule one variable of composition
After title, the value of the variable corresponding to this name variable in described cache module is added 1.
Or, described in cache module, find the unit that the addresser for this Email is added up
In time, transmission mail is to the number of times of the receipt mail server of this Email, specifically includes:
Described mail distribution module, for described currently processed Email, is determined should electronics postal
After the unit interval of the receipt mail server of part, find in described cache module for this electronics postal
That the addresser of part is added up, within the unit interval determined, send mail to the reception of this Email
The number of times of mail server;And
Mail is sent to this electricity in the unit interval that described generation is added up for the addresser of this Email
The variable of the number of times of the receipt mail server of sub-mail, specifically includes: described mail sending module determines
Go out to should Email receipt mail server unit interval after, generate for this Email
That addresser is added up, within the unit interval determined, send mail to the reception mail of this Email
The variable of the number of times of server;And
After a described mail sending module transmit queue from which obtains an Email, by described
Send in unit interval of being added up of addresser for this Email of storage in cache module mail to
The number of times of the receipt mail server of this Email adds 1, specifically includes:
Described mail sending module, for the current Email obtained, determines corresponding described current acquisition
Email receipt mail server unit interval after, by described cache module storage for
That the addresser of this Email is added up, within the unit interval determined send mail to this electronics postal
The number of times of the receipt mail server of part adds 1.
It is preferred that send within the unit interval that described generation is added up for the addresser of this Email
Mail, to after the variable of the number of times of the receipt mail server of this Email, also includes:
Described cache module is for the variable generated by described mail sending module, according to the variable of this variable
Unit interval in title, safeguard the life cycle of this variable;And when the end of life of this variable,
Delete this variable.
It is preferred that after this Email of described transmission, also include:
If this Email sends unsuccessfully, described mail sending module gets this Email and sends unsuccessfully
Addresser's unit interval that reason is this Email in send mail number of times and exceed restriction, then will be for
The addresser of this Email and the number of times higher limit set by receipt mail server, be revised as described slow
Mail is sent in the unit interval that the addresser for this Email currently stored in storing module is added up
Number of times to the receipt mail server of this Email.
According to another aspect of the present invention, additionally provide a kind of E-mail sending system, including:
Mail distribution module and cache module, described mail distribution module is for every setting the time period, depending on
Secondary from queue to be sent obtain Email to be sent process: for currently processed Email,
Described mail distribution module determine the transmit queue of corresponding receipt mail server less than in the case of,
Postal is sent in described cache module finds the unit interval that the addresser for this Email is added up
Part is to the number of times of the receipt mail server of this Email;If the number of times found is less than transmitting for this
People and the number of times higher limit set by this receipt mail server, then be deposited into corresponding institute by this Email
State in the transmit queue of receipt mail server;
Mail sending module, for obtaining Email to right every the setting time period from each transmit queue
Receipt mail server is answered to be transmitted;Wherein, the process sending an Email includes: described postal
After a part sending module transmit queue from which obtains an Email, by described cache module
Mail is sent to this Email in the unit interval that the addresser for this Email of storage is added up
The number of times of receipt mail server add 1 after, send this Email.
It is preferred that described mail sending module is additionally operable in the transmission from which of described mail sending module
After queue obtains an Email, however, it is determined that described cache module does not store for this electronics postal
Send the mail receipt mail server to this Email in the unit interval that the addresser of part is added up
Number of times, then send mail to this electricity in generating the unit interval that the addresser for this Email is added up
The variable of the number of times of the receipt mail server of sub-mail, and after the value initializing this variable is 0, by it
Store in described cache module.
It is preferred that after described cache module is additionally operable to receive the variable that described mail sending module generates,
According to the unit interval in the name variable of this variable, safeguard the life cycle of this variable;And at this variable
End of life time, delete this variable.
It is preferred that described mail sending module is additionally operable to after this Email of described transmission, if this electronics
Mail sends unsuccessfully, and described mail sending module gets this Email and sends failed reason is this electricity
Send mail number of times in addresser's unit interval of sub-mail and exceed restriction, then by for this Email
Addresser and the number of times higher limit set by receipt mail server, be revised as in described cache module current
Mail is sent to this Email in the unit interval that the addresser for this Email of storage is added up
The number of times of receipt mail server.
In technical scheme, E-mail sending system have employed queue to be sent and transmit queue
The mode of deque, is stored in queue to be sent by the Email received from client, is judging pin
Was sent in the unit interval that the addresser of this Email is added up the mail reception postal to this Email
After the number of times of part server receives the upper limit of mail number of times less than the unit interval of receipt mail server,
This Email is transmitted, is otherwise newly stored in queue to be sent, wait that next time sends;This
Sample, avoids the upper limit of the reception of the unit interval because exceeding receipt mail server mail number of times as far as possible and leads
Cause bounce, so that E-mail sending system has higher transmission success rate.
Further, in technical scheme, it is also possible to determining addresser's unit of Email
After the time interior number of times sending mail exceedes restriction and causes Email to send unsuccessfully, automatically will be for this
The addresser of Email modifies with the number of times higher limit set by receipt mail server, improves
The adaptive ability of E-mail sending system.
Accompanying drawing explanation
Fig. 1 is the internal structure block diagram of the E-mail sending system of the embodiment of the present invention;
Fig. 2 is that the mail distribution module of the embodiment of the present invention obtains electronics postal to be sent to from queue to be sent
Part carries out the flow chart of the concrete mistake processed;
Fig. 3 is that the mail sending module of the embodiment of the present invention obtains Email to correspondence from transmit queue
The flow chart of the detailed process that receipt mail server is transmitted.
Detailed description of the invention
Below with reference to accompanying drawing, technical scheme is carried out clear, complete description, it is clear that
Described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art are not making the premise of creative work
All other embodiments obtained by lower, broadly fall into the scope that the present invention is protected.
The term such as " module " used in this application, " system " is intended to include the entity relevant to computer, example
Such as, but not limited to, hardware, firmware, combination thereof, software or executory software.Such as, module can
To be, it is not limited to: on processor run process, processor, object, executable program, hold
Thread, program and/or the computer of row.For example, application program calculating equipment run and this calculating
Equipment can be module.One or more modules may be located in an executory process and/or thread,
One module can also be on a computer and/or be distributed between two or more multiple stage computer.
The present inventor is it is considered that arrange one at sender mail server and can take according to receiving mail
The unit interval of business device receives the upper limit of mail number of times, and the mail automatically controlling book server sends situation, from
And avoid the unit interval because exceeding receipt mail server to receive the upper limit of mail number of times and cause moving back as far as possible
Letter, thus reduce bounce quantity, improve the transmission success rate of Email.
Describe technical scheme below in conjunction with the accompanying drawings in detail.What the present invention provided is arranged at transmission mail
E-mail sending system in server, its internal structure block diagram, as it is shown in figure 1, include: mail is raw
Become module 101, mail distribution module 102, mail sending module 103, and cache module 104.
After addresser logs in E-mail sending system by client, fill in e-mail messages;Client is by postal
After part information is sent to E-mail sending system, the mail generation module 101 of E-mail sending system is sentenced
Whether the e-mail messages that disconnecting is received meets mail standards;If not meeting, then to client back page information,
Prompting addresser rewrites;If meeting, after generating Email according to the e-mail messages received, will
This Email is stored in queue to be sent as Email to be sent.
Mail distribution module 102 is for every setting the time period, obtaining to be sent from queue to be sent successively
Email process, and satisfactory Email to be sent be deposited into corresponding receive postal
In the transmit queue of part server;I.e. after setting cycle arrives, mail distribution module 102 is to be sent
Queue obtains Email to be sent successively and processes, by satisfactory to be sent in processing procedure
Email be deposited in the transmit queue of corresponding receipt mail server.Mail distribution module 102 from
The concrete grammar that queue to be sent acquisition Email to be sent carries out processing will be introduced follow-up.
Mail sending module 103 for every set the time period obtain from each transmit queue Email to
Corresponding receipt mail server is transmitted;I.e. setting cycle arrive after, mail sending module 103 from
Each transmit queue obtains Email be transmitted to corresponding receipt mail server;Mail sending module
The concrete grammar that 103 acquisition Emails are transmitted to corresponding receipt mail server will be carried out follow-up
Introduce.
Cache module 104 sends in storing the unit interval that the addresser for Email is added up
Mail is to the number of times of the receipt mail server of this Email.
Specifically, mail distribution module 102 is carried out from queue to be sent acquisition Email to be sent
The detailed process processed, flow chart is as in figure 2 it is shown, comprise the steps:
S201: mail distribution module 102 obtains Email to be sent from queue to be sent.
Specifically, mail distribution module 102, every setting the time period, obtains from queue to be sent successively and treats
The Email sent carries out the process as described in subsequent step;I.e. when setting cycle arrives, mail divides
Send out module 102 to carry out as described in subsequent step from queue to be sent acquisition Email to be sent successively
Process.Described setting time period, setting cycle can be arranged according to practical situation by technical staff, such as
Can arrange and set time period, setting cycle as 1 minute, i.e. mail distribution module 102 can be every 1
Minute, obtain Email to be sent from queue to be sent successively and process.
S202: for currently processed Email, mail distribution module 102 determines corresponding to this electronics
The transmit queue of the receipt mail server of mail whether less than;If less than, then perform step S203;No
Then, S206 is jumped to.
Specifically, mail distribution module 102 is obtaining an Email to be sent from queue to be sent
After, using the Email that currently obtains as currently processed Email, and determine corresponding to this electronics
The transmit queue of the receipt mail server of mail whether less than;It is true that at E-mail sending system
In, for each receipt mail server, it is provided with the transmission team corresponding to this receipt mail server
Row;Each transmit queue is both provided with to the upper limit of an email storage quantity.When transmit queue is deposited
The quantity of the Email of storage reaches the upper limit of the email storage quantity arranged, it is determined that this transmit queue is
Full;If the quantity of the Email of storage is less than the upper limit of the email storage quantity arranged in transmit queue,
Then determine this transmit queue less than.For example, it is possible to the upper limit arranging email storage quantity is 10000.
Mail distribution module 102 is determining the receipt mail server corresponding to currently processed Email
Transmit queue less than, then perform step S203;Otherwise, S206 is jumped to.
S203: mail distribution module 102 finds sending out for this Email in cache module 104
The mail number of times to the receipt mail server of this Email is sent in the unit interval that letter people is added up.
Specifically, mail distribution module 102 for currently processed Email, determine to should electricity
After the unit interval of the receipt mail server of sub-mail, find for this electricity in cache module 104
That the addresser of sub-mail is added up, within the unit interval determined send mail to this Email
The number of times of receipt mail server;Wherein, the unit interval can specifically be set as 1 minute, 5 minutes.
It is true that the different receipt mail servers possible corresponding different unit interval, such as, qq connects
The receiving emails server possible corresponding unit interval is 5 minutes;Sina's receipt mail server may be corresponding
Unit interval be 6 minutes.It is to say, be likely to be of between receipt mail server and unit interval
Corresponding relation;Unit interval corresponding to receipt mail server specifically can be according to this reception mail service
The parameter that the operator of device is provided determines.
Cache module 104 sends mail in storing the unit interval that the addresser for Email is added up
The mode of number of times to receipt mail server specifically can be being to store with the form of variable;I.e. for
The mail reception mail to this Email is sent in the unit interval that the addresser of this Email is added up
The number of times of server is to be stored in cache module 104 with the form of variable, and the title of variable is by this electronics
The information of the addresser of mail, the information of receipt mail server of this Email, and described unit
The information of time is formed according to setting rule, and the value (value) of variable is for this Email
Send mail receipt mail server secondary to this Email in the unit interval that addresser is added up
Number.Such as, this Email transmit artificial a a.com, collect mail artificial b b.com, corresponding receives
The unit interval of mail server b.com is 5 minutes, set rule be " addresser of Email _
Receipt mail server _ the unit interval of this Email ", then 5 added up for this@a.com
Mail variable entitled to the number of times of b.com is sent: a@a.com_b.com_5min, change in minute
The value of amount is that a@a.com sent the mail number of times to b.com in 5 minutes.
So, mail distribution module 102 finds sending out for this Email in cache module 104
The mail number of times to the receipt mail server of this Email is sent in letter unit interval of being added up of people
Concrete grammar, it may be that mail distribution module 102 is for currently processed Email, is determined current
Process the sender information of Email, receipt mail server information after, by transmitting of determining
People's information, the information of receipt mail server, and the information of described unit interval is according to setting rule sets
Become a name variable, cache module 104 is searched the value of variable corresponding to this name variable, from
And send mail in finding the unit interval that the addresser for this Email is added up to this electronics postal
The number of times of the receipt mail server of part.
S204: mail distribution module 102 judges whether the number of times found is less than for this addresser and is somebody's turn to do
Number of times higher limit set by receipt mail server;The most then perform step S205;Otherwise, redirect
To step S206.
Specifically, specifically may be used with the number of times higher limit set by this receipt mail server for this addresser
Be configured according to the relevant parameter of this reception server by technical staff;Such as, relevant parameter can
Think that this unit interval set by reception server receives the parameter of the upper limit of mail number of times.
This Email is deposited into sending out of corresponding receipt mail server by S205: mail distribution module 102
Step S201 is continued executing with after sending in queue.
It is follow-up that this Email obtained is newly stored into queue to be sent by S206: mail distribution module 102
Continuous execution step S201.
Above-mentioned mail sending module 103 obtains Email from transmit queue and receives mail clothes to correspondence
The detailed process that business device is transmitted, flow chart is as it is shown on figure 3, comprise the steps:
S301: mail sending module 103 transmit queue from which obtains an Email.
S302: mail sending module 103 determines whether stored in cache module 104 for this electronics postal
Send the mail receipt mail server to this Email in the unit interval that the addresser of part is added up
Number of times;If having, then perform step S303;Otherwise, step S313 is performed.
S303: mail sending module 103 is by the sending out for this Email of storage in cache module 104
In the unit interval that letter people is added up, transmission mail adds to the number of times of the receipt mail server of this Email
1。
Specifically, mail sending module 103, for the current Email obtained, is determined corresponding current
After the unit interval of the receipt mail server of the Email obtained, by storage in cache module 104
That added up for the addresser of this Email, within the unit interval determined, send mail to this electricity
The number of times of the receipt mail server of sub-mail adds 1.
It is, mail sending module 103 is for the current Email obtained, determine current acquisition
The sender information of Email, the information of receipt mail server, by the sender information determined,
The information of receipt mail server, and the information of described unit interval is according to setting rule one change of composition
After amount title, the value of the variable corresponding to this name variable in cache module 104 is added 1.
S304: mail sending module 103 sends this Email.
When S313: mail sending module 103 generates the unit that the addresser for this Email is added up
Interior transmission mail is to the variable of the number of times of the receipt mail server of this Email.
Specifically, mail sending module 103 is determined should the receipt mail server of Email
After unit interval, generate that the addresser for this Email is added up, in the unit interval determined
Interior transmission mail is to the variable of the number of times of the receipt mail server of this Email.
It is, mail sending module 103 generates a variable, the title of this variable is by this Email
The information of addresser, the information of receipt mail server of this Email, and described unit interval
Information according to set rule formed.
And, cache module 104 is for the variable generated by mail sending module 103, according to this variable
Name variable in unit interval, safeguard the life cycle of this variable;And at the life cycle of this variable
During termination, delete this variable.
Such as, if this Email transmit artificial a a.com, collect mail artificial b b.com, described list
Bit time is 5 minutes, and with " receipt mail server of the addresser of Email _ this Email _
Unit interval " as setting rule, then the variable generated entitled: a@a.com_b.com_5min,
The value of variable is that a@a.com sent the mail number of times to b.com, and the life of this variable in 5 minutes
Cycle is 5 minutes, after i.e. this variable generates 5 minutes, and the end of life of this variable, cache module
104 delete this variable.
It is 0 that S314: mail sending module 103 initializes the value of this variable, and by this variable storage to slow
In storing module 104.
Additionally, for the adaptive ability improving system, mail sending module 103 can be adjusted with self adaptation
The whole addresser for Email and the number of times higher limit set by receipt mail server, in order to connect
After the relevant parameter (upper limit of unit interval reception mail number of times) of receiving emails server changes, permissible
The situation self-adaptative adjustment changed therewith is for set by addresser and the receipt mail server of Email
Number of times higher limit after, continue certified mail send success rate:
Specifically, after mail sending module 103 sends an Email, if this Email sends unsuccessfully,
Mail sending module 103 gets this Email and sends the failed addresser that reason is this Email
Send mail number of times in unit interval and exceed restriction, then by for this Email addresser with receive postal
Number of times higher limit set by part server, is revised as in cache module 104 currently stored for this electricity
The mail reception mail service to this Email is sent in the unit interval that the addresser of sub-mail is added up
The number of times of device, thus realize a kind of adaptive mechanism.
In technical scheme, E-mail sending system have employed queue to be sent and transmit queue
The mode of deque, is stored in queue to be sent by the Email received from client, is judging pin
Was sent in the unit interval that the addresser of this Email is added up the mail reception postal to this Email
After the number of times of part server receives the upper limit of mail number of times less than the unit interval of receipt mail server,
This Email is transmitted, is otherwise newly stored in queue to be sent, wait that next time sends;This
Sample, avoids the upper limit of the reception of the unit interval because exceeding receipt mail server mail number of times as far as possible and leads
Cause bounce, so that E-mail sending system has higher transmission success rate.
Further, in technical scheme, it is also possible to determining addresser's unit of Email
After the time interior number of times sending mail exceedes restriction and causes Email to send unsuccessfully, automatically will be for this
The addresser of Email modifies with the number of times higher limit set by receipt mail server, improves
The adaptive ability of E-mail sending system.
The above is only the preferred embodiment of the present invention, it is noted that general for the art
For logical technical staff, under the premise without departing from the principles of the invention, it is also possible to make some improvement and profit
Decorations, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. an E-mail sending method, it is characterised in that including:
The mail distribution module of E-mail sending system is every setting the time period, successively from queue to be sent
Obtain Email to be sent to process:
For currently processed Email, described mail distribution module is determining corresponding to this Email
Receipt mail server transmit queue less than in the case of, find in cache module for this electricity
The mail reception mail service to this Email is sent in the unit interval that the addresser of sub-mail is added up
The number of times of device;If the number of times found is less than for set by this addresser and this receipt mail server
Number of times higher limit, then be deposited into this Email in the transmit queue of corresponding described receipt mail server;
And
The mail sending module of described E-mail sending system is every setting the time period, from each transmit queue
Middle acquisition Email is transmitted to the receipt mail server corresponding to this Email;Wherein, send out
The process sending an Email includes:
After a described mail sending module transmit queue from which obtains an Email, by described
Send in unit interval of being added up of addresser for this Email of storage in cache module mail to
After the number of times of the receipt mail server of this Email adds 1, send this Email.
2. the method for claim 1, it is characterised in that in described mail sending module from which
After individual transmit queue obtains an Email, also include:
If described mail sending module determines does not stores sending out for this Email in described cache module
The mail number of times to the receipt mail server of this Email is sent in the unit interval that letter people is added up,
Mail is sent to this Email in then generating the unit interval that the addresser for this Email is added up
The variable of number of times of receipt mail server, and after the value initializing this variable is 0, be stored to
In described cache module.
3. method as claimed in claim 2, it is characterised in that described generation is for this Email
The mail number of times to the receipt mail server of this Email is sent in the unit interval that addresser is added up
Variable, specifically include:
Described mail sending module generates a variable, and the title of this variable is by the addresser of this Email
Information, the information of receipt mail server of this Email, and the information of described unit interval depends on
Formed according to setting rule;And
Described find in cache module in the unit interval that the addresser for this Email is added up
Transmission mail, to the number of times of the receipt mail server of this Email, specifically includes:
Described mail distribution module, for described currently processed Email, is determined described currently processed
The sender information of Email, the information of receipt mail server, by the sender information determined,
The information of receipt mail server, and the information of described unit interval is according to setting rule one change of composition
After amount title, described cache module is searched the value of variable corresponding to this name variable;And
After a described mail sending module transmit queue from which obtains an Email, by described
Send in unit interval of being added up of addresser for this Email of storage in cache module mail to
The number of times of the receipt mail server of this Email adds 1, specifically includes:
Described mail sending module, for the current Email obtained, determines the electricity of described current acquisition
The sender information of sub-mail, the information of receipt mail server, by the sender information determined, connect
The information of receiving emails server, and the information of described unit interval is according to setting rule one variable of composition
After title, the value of the variable corresponding to this name variable in described cache module is added 1.
4. method as claimed in claim 3, it is characterised in that described find pin in cache module
Was sent in the unit interval that the addresser of this Email is added up the mail reception postal to this Email
The number of times of part server, specifically includes:
Described mail distribution module, for described currently processed Email, is determined should electronics postal
After the unit interval of the receipt mail server of part, find in described cache module for this electronics postal
That the addresser of part is added up, within the unit interval determined, send mail to the reception of this Email
The number of times of mail server;And
Mail is sent to this electricity in the unit interval that described generation is added up for the addresser of this Email
The variable of the number of times of the receipt mail server of sub-mail, specifically includes: described mail sending module determines
Go out to should Email receipt mail server unit interval after, generate for this Email
That addresser is added up, within the unit interval determined, send mail to the reception mail of this Email
The variable of the number of times of server;And
After a described mail sending module transmit queue from which obtains an Email, by described
Send in unit interval of being added up of addresser for this Email of storage in cache module mail to
The number of times of the receipt mail server of this Email adds 1, specifically includes:
Described mail sending module, for the current Email obtained, determines corresponding described current acquisition
Email receipt mail server unit interval after, by described cache module storage for
That the addresser of this Email is added up, within the unit interval determined send mail to this electronics postal
The number of times of the receipt mail server of part adds 1.
5. the method as described in claim 2-4 is arbitrary, it is characterised in that in described generation for this electronics
The mail receipt mail server to this Email is sent in the unit interval that the addresser of mail is added up
Number of times variable after, also include:
Described cache module is for the variable generated by described mail sending module, according to the variable of this variable
Unit interval in title, safeguard the life cycle of this variable;And when the end of life of this variable,
Delete this variable.
6. the method as described in claim 1-4 is arbitrary, it is characterised in that at this Email of described transmission
After, also include:
If this Email sends unsuccessfully, described mail sending module gets this Email and sends unsuccessfully
Addresser's unit interval that reason is this Email in send mail number of times and exceed restriction, then will be for
The addresser of this Email and the number of times higher limit set by receipt mail server, be revised as described slow
Mail is sent in the unit interval that the addresser for this Email currently stored in storing module is added up
Number of times to the receipt mail server of this Email.
7. an E-mail sending system, it is characterised in that including:
Mail distribution module and cache module, described mail distribution module is for every setting the time period, depending on
Secondary from queue to be sent obtain Email to be sent process: for currently processed Email,
Described mail distribution module is determining the transmit queue of the receipt mail server corresponding to this Email not
In the case of Man, described cache module finds the list that the addresser for this Email is added up
The mail number of times to the receipt mail server of this Email is sent in bit time;If the number of times found
Less than for this addresser and the number of times higher limit set by this receipt mail server, then by this electronics postal
Part is deposited in the transmit queue of corresponding described receipt mail server;
Mail sending module, for obtaining Email to right every the setting time period from each transmit queue
Should be transmitted in the receipt mail server of this Email;Wherein, the mistake of an Email is sent
Journey includes: after obtaining an Email in a described mail sending module transmit queue from which, will
Postal is sent in the unit interval that in described cache module, the addresser for this Email of storage is added up
After part adds 1 to the number of times of the receipt mail server of this Email, send this Email.
8. system as claimed in claim 7, it is characterised in that
Described mail sending module is additionally operable to obtain in described mail sending module from which a transmit queue
After taking an Email, however, it is determined that described cache module does not store transmitting for this Email
The mail number of times to the receipt mail server of this Email is sent, then in the unit interval that people is added up
Mail is sent to this Email in generating the unit interval that the addresser for this Email is added up
The variable of the number of times of receipt mail server, and after the value initializing this variable is 0, it is stored to institute
State in cache module.
9. system as claimed in claim 8, it is characterised in that
After described cache module is additionally operable to receive the variable that described mail sending module generates, according to this change
Unit interval in the name variable of amount, safeguard the life cycle of this variable;And at the Life Cycle of this variable
Final only time, delete this variable.
10. the system as described in claim 7-9 is arbitrary, it is characterised in that
Described mail sending module is additionally operable to after this Email of described transmission, if this Email sends
Failure, described mail sending module gets this Email and sends failed reason is this Email
Send mail number of times in addresser's unit interval and exceed restriction, then by for this Email addresser with
Number of times higher limit set by receipt mail server, is revised as pin currently stored in described cache module
Was sent in the unit interval that the addresser of this Email is added up the mail reception postal to this Email
The number of times of part server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310303764.3A CN103384219B (en) | 2013-07-18 | 2013-07-18 | E-mail sending method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310303764.3A CN103384219B (en) | 2013-07-18 | 2013-07-18 | E-mail sending method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103384219A CN103384219A (en) | 2013-11-06 |
CN103384219B true CN103384219B (en) | 2016-12-28 |
Family
ID=49491918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310303764.3A Active CN103384219B (en) | 2013-07-18 | 2013-07-18 | E-mail sending method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103384219B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601454B (en) * | 2015-02-13 | 2018-04-10 | 北京京东尚科信息技术有限公司 | Handle the method and system of mail |
CN109842547A (en) * | 2019-03-07 | 2019-06-04 | 上海腾道信息技术有限公司 | A kind of method and optimization system that optimization mail is sent |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1354437A (en) * | 2000-11-22 | 2002-06-19 | 英华达股份有限公司 | Method for timing automatic transmission of electronic mail |
CN101442498A (en) * | 2007-11-19 | 2009-05-27 | 上海新纳广告传媒有限公司 | Method for self-timing transmission of e-mail |
CN102123109A (en) * | 2011-02-25 | 2011-07-13 | 朱才倍 | Method and system email |
CN102769580A (en) * | 2011-05-05 | 2012-11-07 | 阿里巴巴集团控股有限公司 | Method and system for sending e-mails |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8271681B2 (en) * | 2004-02-25 | 2012-09-18 | Teamon Systems, Inc. | Communications system using hierarchical queue structure for email message delivery and related methods |
-
2013
- 2013-07-18 CN CN201310303764.3A patent/CN103384219B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1354437A (en) * | 2000-11-22 | 2002-06-19 | 英华达股份有限公司 | Method for timing automatic transmission of electronic mail |
CN101442498A (en) * | 2007-11-19 | 2009-05-27 | 上海新纳广告传媒有限公司 | Method for self-timing transmission of e-mail |
CN102123109A (en) * | 2011-02-25 | 2011-07-13 | 朱才倍 | Method and system email |
CN102769580A (en) * | 2011-05-05 | 2012-11-07 | 阿里巴巴集团控股有限公司 | Method and system for sending e-mails |
Also Published As
Publication number | Publication date |
---|---|
CN103384219A (en) | 2013-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109447472B (en) | Performance task data processing method and device, computer equipment and storage medium | |
CN112527530B (en) | Message processing method, device, apparatus, storage medium and computer program product | |
CN103491170B (en) | Email reaches the method and system of prompting message | |
CN112737926B (en) | Mail sending method and device, electronic equipment and storage medium | |
CN110417647B (en) | Mail processing method, device, computer equipment and storage medium | |
CN103297317B (en) | A kind of send mail method, a kind of electronic equipment | |
CN108737255B (en) | Load balancing method, load balancing device and server | |
US20120158867A1 (en) | Cloud message transfer apparatus to reduce non-delivery reports | |
CN103942282A (en) | Sample data obtaining method, device and system | |
CN103384219B (en) | E-mail sending method and system | |
CN101009666B (en) | Email sending control system and method | |
CN104579922A (en) | Mail sending method and device | |
US9055018B2 (en) | Related message detection and indication | |
CN104954227B (en) | A kind of cross-platform information push method of preemptive type and server | |
CN105610697A (en) | Mail management method and system and mail synchronization device | |
US20090157833A1 (en) | System and method for sending emails | |
CN104283763A (en) | Service system for transmitting electronic mail with large-information-amount attachment and method for sending and receiving electronic mail | |
CN103841006A (en) | Method and device for intercepting junk mails in cloud computing system | |
US8874646B2 (en) | Message managing system, message managing method and recording medium storing program for that method execution | |
CN109120510A (en) | E-mail sending method, apparatus and system based on permission control | |
US20170142053A1 (en) | Identification to a recipient of an electronic communication of another user who has accessed the electronic communication | |
CN111401819B (en) | Intersystem data pushing method and system | |
CN107835124B (en) | Mail sending method, device and system | |
CN104104589B (en) | A kind of E-mail sending method and system | |
JP6059559B2 (en) | Apparatus and method for automatically sorting received mail according to priority |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230417 Address after: Room 501-502, 5/F, Sina Headquarters Scientific Research Building, Block N-1 and N-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193 Patentee after: Sina Technology (China) Co.,Ltd. Address before: 100080, International Building, No. 58 West Fourth Ring Road, Haidian District, Beijing, 20 floor Patentee before: Sina.com Technology (China) Co.,Ltd. |
|
TR01 | Transfer of patent right |