CN104579922A - Mail sending method and device - Google Patents

Mail sending method and device Download PDF

Info

Publication number
CN104579922A
CN104579922A CN201410831989.0A CN201410831989A CN104579922A CN 104579922 A CN104579922 A CN 104579922A CN 201410831989 A CN201410831989 A CN 201410831989A CN 104579922 A CN104579922 A CN 104579922A
Authority
CN
China
Prior art keywords
mail
sending
request
account
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410831989.0A
Other languages
Chinese (zh)
Inventor
孙文扬
薛伟
孙德彪
牛现鲁
胡二彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201410831989.0A priority Critical patent/CN104579922A/en
Publication of CN104579922A publication Critical patent/CN104579922A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a mail sending method and device. The method comprises the steps of adding a received mail sending request in a mail sending queue, acquiring a mail sending request to be sent currently in the mail sending queue, determining a sending account for sending the mail sending request to be sent currently from a plurality of mail sending accounts, and sending the mail sending request to a mail server corresponding to a receiving mailbox account via the sending account to request the mail server to send a mail to the receiving mailbox account according to the mail sending request. With the adoption of the method and the device, the received mail sending request is added into the mail sending queue, the mail sending requests to be sent currently can be taken out from the queue sequentially during sending, and a concurrent sending behavior is avoided. The optimal sending account for sending the mail sending request to be sent currently is determined from the preset mail sending accounts, and the limitation of a mailbox server to a multi-frequency sending behavior of the same account is avoided.

Description

A kind of e-mail sending method and device
Technical field
The application relates to field of internet communication, particularly relates to a kind of e-mail sending method and device.
Background technology
At present, when carrying out various registration checking, usually can come to be whether the checking of associated user by sending Email or SMS to user, in most mailing systems, capital utilizes Bayes's refuse classification algorithm to carry out anti-spam detection to mail, if send mail to same account frequently with same transmission mailbox, the mail that this mailbox sends can be classified as spam or directly tackle by mailing system, in this case, user just cannot receive in inbox the mail carrying out verifying, very large inconvenience is caused by user, on the other hand, mailbox operator is in order to safety, the frequency of mailbox server can be mail to and number of times limits to same account, for the enterprise customer of mailbox, if use same account to send mail continually, then may be shielded by mailbox operator, cause the abnormal use of mail transmission system.
Therefore, for the above-mentioned technical problem existed in prior art, need the mail sending scheme proposing to improve.
Summary of the invention
The main purpose of the application is to provide a kind of e-mail sending method and device, the same transmission mailbox existed to solve prior art frequently sends mail to same account, sent mail is caused to be classified as spam, and use same account to send mail continually, the problem that may be shielded by mailbox server.
For solving the problem, the embodiment of the present application provides a kind of e-mail sending method, comprising: the request for sending E-mail received is added mail sending queue; Obtain current request for sending E-mail to be sent in described mail sending queue; The transmission account sending current request for sending E-mail to be sent is determined from multiple mail sending account; By described transmission account, described request for sending E-mail is sent to and receives mail server corresponding to Email Accounts, send mail according to described request for sending E-mail to described reception Email Accounts to ask described mail server.
Wherein, comprise in described request for sending E-mail: mail header, reception Email Accounts, message body, annex and mail coded format.
Further, the transmission account sending current request for sending E-mail to be sent is determined from multiple mail sending account, comprise: according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent.
Further, according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent, comprise further: by described multiple mail sending account, the mail sending account that the weight of corresponding server is minimum with the ratio of the request for sending E-mail number sent, is defined as the transmission account for sending current request for sending E-mail to be sent.
Further, by described transmission account, described request for sending E-mail is sent to and receives mail server corresponding to Email Accounts, comprise: obtain the mailbox configurations that described transmission account is corresponding, described transmission account is logged according to described mailbox configurations, described request for sending E-mail be sent to and receive mail server corresponding to Email Accounts, described mailbox configurations comprises: account, server address, port, password.
The embodiment of the present application also provides a kind of mail sending device, comprising: add module, for the request for sending E-mail received is added mail sending queue; Acquisition module, for obtaining current request for sending E-mail to be sent in described mail sending queue; Determination module, for determining the transmission account sending current request for sending E-mail to be sent from multiple mail sending account; Sending module, for by described transmission account, is sent to described request for sending E-mail and receives mail server corresponding to Email Accounts, send mail to ask described mail server according to described request for sending E-mail to described reception Email Accounts.
Wherein, comprise in described request for sending E-mail: mail header, reception Email Accounts, message body, annex and mail coded format.
Further, described determination module, is further used for: according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent.
Further, described determination module, be further used for: the mail sending account minimum with the ratio of the request for sending E-mail number sent by the weight of server corresponding in described multiple mail sending account, is defined as the transmission account for sending current request for sending E-mail to be sent.
Further, described sending module comprises: obtain submodule, for obtaining mailbox configurations corresponding to described transmission account; Send submodule, for logging in described transmission account according to described mailbox configurations, described request for sending E-mail be sent to and receive mail server corresponding to Email Accounts, described mailbox configurations comprises: account, server address, port, password.
Compared with prior art, the application can obtain and comprise following technique effect:
(1) adopt the mode of mail sending queue, the request for sending E-mail received is added mail sending queue, current request for sending E-mail to be sent can be taken out successively from mail sending queue when sending, avoiding concurrent transmission behavior.
(2) by determining that in the multiple mail sending accounts pre-set the best to current request for sending E-mail to be sent sends sends account, prevent mailbox operator from sending the restriction of behavior to the multifrequency degree of same account.
(3) according to weights and the current request for sending E-mail number sent of server, determine that the best to current request for sending E-mail to be sent sends sends server, and then determine to send account to the best that current request for sending E-mail to be sent sends in multiple mail sending accounts of pre-setting, dynamic account can be realized and switch.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the flow chart of the e-mail sending method that the embodiment of the present application one provides;
Fig. 2 is the flow chart of the e-mail sending method that the embodiment of the present application two provides;
Fig. 3 is the structured flowchart of the mail sending device that the embodiment of the present application three provides; And
Fig. 4 is the structured flowchart of the mail sending device that the embodiment of the present application four provides.
Embodiment
The main thought of the application is, multiple mail sending account is set, by determining in multiple mail sending account the transmission account that current request for sending E-mail to be sent sends, to prevent mailbox operator, the restriction of behavior is sent to the multifrequency degree of same account, and adopt mail sending queue buffer memory request for sending E-mail, to reduce concurrent transmission behavior.
Drawings and Examples will be coordinated below to describe the execution mode of the application in detail, by this to the application how application technology means solve technical problem and the implementation procedure reaching technology effect can fully understand and implement according to this.
As employed some vocabulary to censure specific components in the middle of specification and claim.Those skilled in the art should understand, and hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " as mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in receivable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition, " couple " word and comprise directly any and indirectly electric property coupling means at this.Therefore, if describe a first device in literary composition to be coupled to one second device, then represent described first device and directly can be electrically coupled to described second device, or be indirectly electrically coupled to described second device by other devices or the means that couple.Specification subsequent descriptions is implement the better embodiment of the application, and right described description is for the purpose of the rule that the application is described, and is not used to the scope limiting the application.The protection range of the application is when being as the criterion depending on the claims person of defining.Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the commodity of a series of key element or system not only comprises those key elements, but also comprise other key elements clearly do not listed, or also comprise by this commodity or the intrinsic key element of system.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within the commodity or system comprising described key element and also there is other identical element.
embodiment one
Fig. 1 is the flow chart of the e-mail sending method according to the embodiment of the present application one, and as shown in Figure 1, the method at least can comprise:
Step S101, adds mail sending queue by the request for sending E-mail received.
The request for sending E-mail received is added mail sending queue, request for sending E-mail to be sent can be taken out successively from mail sending queue when sending, avoiding concurrent transmission behavior.Such as, the request for sending E-mail received can be added the queue of Redis mail sending.
Wherein, this request for sending E-mail can for the sending request of transmission mail from external server, and such as, when user registers a certain application account, the server of this application sends the request for sending E-mail of checking mail to the mailbox of the user of request registration.Can comprise in described request for sending E-mail: mail header, reception Email Accounts, message body, annex and mail coded format etc.
According to the application, after the request for sending E-mail received is added mail sending queue, the mail adding queue can also be ranked, such as, the appointment transmitting time that can add in the order of mail sending queue and/or request for sending E-mail according to request for sending E-mail is ranked to the request for sending E-mail adding mail sending queue.
Step S102, obtains current request for sending E-mail to be sent in described mail sending queue.
Specifically, the request for sending E-mail added in mail sending queue can be ranked in a certain order, namely, the sending order of request for sending E-mail to be sent, therefore, current request for sending E-mail to be sent in mail sending queue can be obtained according to sending order the Queue sequence of request for sending E-mail (in the queue), namely obtain sending order successively and come the most front request for sending E-mail.
Step S103, determines the transmission account sending current request for sending E-mail to be sent from multiple mail sending account.
Wherein, multiple mail sending account can for the multiple different mail sending account pre-set, and multiple mail sending account can form many mail sending account cluster.The plurality of mail sending account can be the mail sending account under multiple different mail sends server.
Particularly, can according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number sent, determine the transmission account sending current request for sending E-mail to be sent, that is, according to the weight of each self-corresponding server of described multiple mail sending account and the request for sending E-mail number that sent, determine that the best sent current request for sending E-mail to be sent sends server, then obtain this best and to send under server mail sending account accordingly.Wherein, the weight of the server that described multiple mail sending account is corresponding can pre-set according to the different disposal ability of this server such as performance, traffic volume, link condition etc., such as, the server weights that performance is better, traffic volume is larger arrange higher; The request for sending E-mail number sent, that is, by request for sending E-mail number that this server has sent.
After determining the transmission account of current request for sending E-mail to be sent, then next step S104 can be performed.
Step S104, by described transmission account, is sent to described request for sending E-mail and receives mail server corresponding to Email Accounts, send mail to ask described mail server according to described request for sending E-mail to described reception Email Accounts.
Specifically, after current request for sending E-mail to be sent is sent to and receives mail server corresponding to Email Accounts by the transmission account determined by this, the mail server of this correspondence receives this request for sending E-mail, then the mail header comprised according to this request for sending E-mail, receive Email Accounts, message body, annex and mail coded format etc. and send mail to described reception Email Accounts.
embodiment two
Fig. 2 is the flow chart of the e-mail sending method according to the embodiment of the present application two, and as shown in Figure 2, the method at least can comprise:
Step S201, adds mail sending queue by the request for sending E-mail received.
Specifically, the request for sending E-mail received can be added the queue of Redis mail sending, Redis is a key-value storage system of increasing income, support numerous types of data, list is wherein ordered list structure, utilizes its characteristic the list structure of Redis can be used as queue, because the operation in Redis is all atomic operation, therefore, the queue of Redis mail sending is used can to avoid concurrent transmission behavior.
Step S202, obtains current request for sending E-mail to be sent in described mail sending queue.
Specifically, the request for sending E-mail added in mail sending queue can be ranked in a certain order, namely, the sending order of request for sending E-mail to be sent, therefore, current request for sending E-mail to be sent in mail sending queue can be obtained according to sending order the Queue sequence of request for sending E-mail (in the queue), namely the most front request for sending E-mail is come according to sending order, in the queue of Redis mail sending, when request for sending E-mail to be sent is added queue, queue can be pushed from right side, the request for sending E-mail sent at first comes queue tail end, therefore, current request for sending E-mail to be sent can be taken out from queue tail end in the queue of Redis mail sending.
Step S203, determines the transmission account sending current request for sending E-mail to be sent from multiple mail sending account.
Specifically, can according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number sent, determine the transmission account sending current request for sending E-mail to be sent, that is, according to the weight of each self-corresponding server of described multiple mail sending account and the request for sending E-mail number that sent, determine that the best to current request for sending E-mail to be sent sends sends server, then obtain mail sending account corresponding to this best transmission server.
More specifically, can according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number sent, WLC algorithm (Weighted Least Connection, the minimum join algorithm of weight) is utilized to determine the transmission server sent current request for sending E-mail to be sent.
Utilize WLC algorithm, can determine in the following way one group of server S=S0, S1 ..., in Sn-1}, the best sent current request for sending E-mail sends server S m:
W (Si) represents the weights of server S i, and C (Si) represents the request for sending E-mail number sent of server S i.The summation of the current request for sending E-mail number sent of Servers-all be CSUM=Σ C (Si) (i=0,1 ..., n-1).
And if only if when meeting the following conditions, and server S m can be defined as the transmission server of current request for sending E-mail to be sent:
(C(Sm)/CSUM)/W(Sm)=min{(C(Si)/CSUM)/W(Si)}(i=0,1,…,n-1)
(1)
Wherein, W (Si) is non-vanishing;
Because CSUM can think constant, so above-mentioned Rule of judgment can be reduced to:
C(Sm)/W(Sm)=min{C(Si)/W(Si)}(i=0,1,…,n-1) (2)
According to above formula (2), weights and the minimum server of request for sending E-mail number ground ratio sent send server for best, mail sending account under this server can be defined as the transmission account of current request for sending E-mail to be sent, therefore, according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent, may further include: by described multiple mail sending account, the mail sending account that the weight of corresponding server is minimum with the ratio of the request for sending E-mail number sent, be defined as the transmission account of current request for sending E-mail to be sent.
Further, because W (Si) is non-vanishing, then can obtain server S m and send as the best the Rule of judgment met needed for server and be:
C(Sm)/W(Sm)<C(Si)/W(Si) (3)
Because the weights of server are all greater than zero, so above-mentioned Rule of judgment can be expressed as further:
C(Sm)*W(Si)<C(Si)*W(Sm)) (4)
Sm and Si is S={S0, S1, ..., server in Sn-1}, therefore, the implementation of the transmission server of current request for sending E-mail to be sent is actually the flow process of a double circulation to utilize above-mentioned Rule of judgment (4) to determine, finally obtain a best transmission server S m, the transmission account of its correspondence can be confirmed as the transmission account of current request for sending E-mail to be sent.
By the minimum join algorithm of above-mentioned weight, can ground according to the weights of server and the current request for sending E-mail number sent, determine to send server to the best of current request for sending E-mail to be sent and then determine the transmission account of current request for sending E-mail to be sent in multiple transmission account, dynamic account can be realized switch, prevent mailbox server from sending the restriction of behavior to the multifrequency degree of same account.
Step S204, by described transmission account, is sent to described request for sending E-mail and receives mail server corresponding to Email Accounts, send mail to ask described mail server according to described request for sending E-mail to described reception Email Accounts.
That is, current request for sending E-mail to be sent is sent to and receives mail server corresponding to Email Accounts by the transmission account determined by this, after the mail server of this correspondence receives this request for sending E-mail, according to the mail header comprised in this request for sending E-mail, receive Email Accounts, message body, annex and mail coded format etc. and send mail to described reception Email Accounts.
When reality performs, first can obtain the mailbox configurations of the transmission account that this is determined, described transmission account is logged according to described mailbox configurations, again described request for sending E-mail is sent to and receives mail server corresponding to Email Accounts, send mail according to this request for sending E-mail to this reception Email Accounts to ask this mail server.Wherein, described mailbox configurations comprises: account, server address, port, password.Such as, this mailbox configurations can comprise: send account, send the SMTP address of account, the password of the account of SMTP, the port of SMTP and SMTP, can, according to above-mentioned mailbox configurations information registration mailbox, this mailbox be used to send current request for sending E-mail to be sent.
Step S205, receives the transmission result that described mail server returns.
Mail server by sending conditional code, can return transmission result after sending mail according to this current request for sending E-mail to be sent to reception Email Accounts.Concrete transmission result can with reference to state code table as shown in table 1:
Sequence number Order Describe
1 220 Territory service is ready to
2 221 System mode or system help response
3 250 The order of request is successfully completed
4 354 Mail Contents can be sent
5 500 Syntax error, order can not identify
6 502 Order unrealized
7 550 Mailbox is unavailable
Table 1
As can be seen from Table 1, if mail server return state code 250, then represent mail sending success, then can delete this current request for sending E-mail to be sent in mail sending queue, and return step S202, continue the next request for sending E-mail obtained in mail sending queue and process, that is, continue to obtain current request for sending E-mail to be sent in described mail sending queue, and perform step S203 ~ S205.If send unsuccessfully, then perform step S206.
Step S206, if send unsuccessfully, the transmission failure cause according to determining carries out respective handling.
Described process comprises: if it is unavailable for receiving mailbox to send failed reason, then can stop sending.That is, if the conditional code that mail server returns is 550, then represent that sending failed reason is that reception mailbox is unavailable, then can stop sending.If receiving conditional code that mail server returns is the error codes such as 502, majority represents network reason, if cause sending unsuccessfully due to network reason, from described multiple mail sending account, then in other mail sending account, redefine the transmission account for sending current request for sending E-mail to be sent, and utilize the transmission account redefined, described current request for sending E-mail to be sent is sent.
Further, if all send failure after sending pre-determined number to this request for sending E-mail, then the transmission of this request can be stopped.Such as, if send 3 times unsuccessful, just stop the transmission of this request.
Above step is by adopting the mode of the minimum join algorithm of weight to multiple transmission account, determine the transmission account sending current request for sending E-mail to be sent, dynamic account can be realized switch, can prevent mailbox operator from sending the restriction of behavior to the multifrequency degree of same enterprise Email Accounts in actual applications.
embodiment three
Fig. 3 is the structured flowchart of the mail sending device according to the embodiment of the present application three, and as shown in Figure 3, this device can comprise: add module 301, acquisition module 302, determination module 303 and sending module 304.
Add module 301, for the request for sending E-mail received is added transmit queue;
Acquisition module 302, for obtaining current request for sending E-mail to be sent in described transmit queue;
Determination module 303, for determining the transmission account sending current request for sending E-mail to be sent from multiple mail sending account;
Sending module 304, for by described transmission account, is sent to described request for sending E-mail and receives mail server corresponding to Email Accounts, send mail to ask described mail server according to described request for sending E-mail to described reception Email Accounts.
Wherein, can comprise in described request for sending E-mail: mail header, reception Email Accounts, message body and mail coded format.
Further, determination module 303 can be further used for: according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent.
Further, determination module 303 can be further used for: the mail sending account minimum with the ratio of the request for sending E-mail number sent by the weight of server corresponding in described multiple mail sending account, is defined as the transmission account for sending current request for sending E-mail to be sent.
Sending module 304 can comprise: obtain submodule and send submodule.
Wherein, obtain submodule, may be used for obtaining mailbox configurations corresponding to described transmission account;
Send submodule, may be used for logging in described transmission account according to described mailbox configurations, described request for sending E-mail be sent to and receive mail server corresponding to Email Accounts, described mailbox configurations comprises: account, server address, port, password.
embodiment four
Fig. 4 is the structured flowchart of the mail sending device of the embodiment of the present application four, and according to the embodiment of the present application four, on the basis of embodiment three, mail sending device can also comprise:
Receiver module 305, for receiving the transmission result that described mail server returns;
Further, acquisition module 302 can be further used for: if the transmission result that the described mail server that receiver module receives returns is for send successfully, then obtain the next request for sending E-mail in described transmit queue.
Further, this mail sending device can also comprise: processing module 306, if for sending unsuccessfully, the transmission failure cause according to determining carries out respective handling, described process comprises: if it is unavailable for receiving mailbox to send failed reason, then can stop sending; If cause sending unsuccessfully due to network reason, from described multiple mail sending account, then in other mail sending account, redefine the transmission account for sending current request for sending E-mail to be sent, and utilize the transmission account redefined, described current request for sending E-mail to be sent is sent.
The architectural feature of the device described in the embodiment of the present application three, four is corresponding with the operating procedure of preceding method, and weak point with reference to the aforementioned description to method flow, can repeat no longer one by one.
In sum, according to the technical scheme of the application, the request for sending E-mail received is added mail sending queue, current request for sending E-mail to be sent can be taken out successively from mail sending queue when sending, avoiding concurrent transmission behavior.
According to weights and the current request for sending E-mail number sent of server, determine to send server to the best of current request for sending E-mail to be sent, and then determine the transmission account of current request for sending E-mail to be sent in multiple transmission account, dynamic account can be realized switch, prevent mailbox server from sending the restriction of behavior to the multifrequency degree of same account.
Above-mentioned explanation illustrate and describes some preferred embodiments of the application, but as previously mentioned, be to be understood that the application is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the application, then all should in the protection range of the application's claims.

Claims (10)

1. an e-mail sending method, is characterized in that, comprising:
The request for sending E-mail received is added mail sending queue;
Obtain current request for sending E-mail to be sent in described mail sending queue;
The transmission account sending current request for sending E-mail to be sent is determined from multiple mail sending account;
By described transmission account, described request for sending E-mail is sent to and receives mail server corresponding to Email Accounts, send mail according to described request for sending E-mail to described reception Email Accounts to ask described mail server.
2. method according to claim 1, is characterized in that, comprises in described request for sending E-mail: mail header, reception Email Accounts, message body, annex and mail coded format.
3. method according to claim 1, is characterized in that, determines the transmission account sending current request for sending E-mail to be sent, comprising from multiple mail sending account:
According to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent.
4. method according to claim 3, it is characterized in that, according to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent, comprise further:
By in described multiple mail sending account, the mail sending account that the weight of corresponding server is minimum with the ratio of the request for sending E-mail number sent, is defined as the transmission account for sending current request for sending E-mail to be sent.
5. method according to claim 1, is characterized in that, by described transmission account, described request for sending E-mail is sent to and receives mail server corresponding to Email Accounts, comprising:
Obtain the mailbox configurations that described transmission account is corresponding, described transmission account is logged according to described mailbox configurations, described request for sending E-mail be sent to and receive mail server corresponding to Email Accounts, described mailbox configurations comprises: account, server address, port, password.
6. a mail sending device, is characterized in that, comprising:
Add module, for the request for sending E-mail received is added mail sending queue;
Acquisition module, for obtaining current request for sending E-mail to be sent in described mail sending queue;
Determination module, for determining the transmission account sending current request for sending E-mail to be sent from multiple mail sending account;
Sending module, for by described transmission account, is sent to described request for sending E-mail and receives mail server corresponding to Email Accounts, send mail to ask described mail server according to described request for sending E-mail to described reception Email Accounts.
7. device according to claim 6, is characterized in that, comprises in described request for sending E-mail: mail header, reception Email Accounts, message body, annex and mail coded format.
8. device according to claim 6, is characterized in that, described determination module, is further used for:
According to the weight of server corresponding to described multiple mail sending account and the request for sending E-mail number that sent, determine the transmission account sending current request for sending E-mail to be sent.
9. device according to claim 8, is characterized in that, described determination module, is further used for:
The mail sending account minimum with the ratio of the request for sending E-mail number sent by the weight of server corresponding in described multiple mail sending account, is defined as the transmission account for sending current request for sending E-mail to be sent.
10. device according to claim 6, is characterized in that, described sending module, comprising:
Obtain submodule, for obtaining mailbox configurations corresponding to described transmission account;
Send submodule, for logging in described transmission account according to described mailbox configurations, described request for sending E-mail be sent to and receive mail server corresponding to Email Accounts, described mailbox configurations comprises: account, server address, port, password.
CN201410831989.0A 2014-12-26 2014-12-26 Mail sending method and device Pending CN104579922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410831989.0A CN104579922A (en) 2014-12-26 2014-12-26 Mail sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410831989.0A CN104579922A (en) 2014-12-26 2014-12-26 Mail sending method and device

Publications (1)

Publication Number Publication Date
CN104579922A true CN104579922A (en) 2015-04-29

Family

ID=53095165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410831989.0A Pending CN104579922A (en) 2014-12-26 2014-12-26 Mail sending method and device

Country Status (1)

Country Link
CN (1) CN104579922A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571995A (en) * 2015-10-13 2017-04-19 北京国双科技有限公司 Mail sending method and device
CN106656731A (en) * 2015-11-04 2017-05-10 广东华邦云计算股份有限公司 EDM (Email Direct Marketing) mail sending method and device
CN107666430A (en) * 2016-07-27 2018-02-06 中兴通讯股份有限公司 A kind of E-mail sending method, device and terminal
CN110417645A (en) * 2019-08-01 2019-11-05 浪潮软件股份有限公司 A method of mail is improved based on redis and is sent
CN113301104A (en) * 2021-02-09 2021-08-24 阿里巴巴集团控股有限公司 Data processing system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044109A1 (en) * 2003-08-21 2005-02-24 Fujitsu Limited Mail system, mail processing method, computer-readable recording medium that records mail processing program, electronic mail storage device, electronic mail storage method and computer-readable recording medium that records electronic mail storage program
CN102025647A (en) * 2009-09-17 2011-04-20 中国长城工业总公司 System and method for mail sending and receiving
CN102067534A (en) * 2009-05-25 2011-05-18 赵克锋 Mail system, junk mail processor and method for marking junk mails
CN102123109A (en) * 2011-02-25 2011-07-13 朱才倍 Method and system email
CN102984051A (en) * 2012-12-20 2013-03-20 广州市西美信息科技有限公司 Mail sending method, mail receiving method and mail management system
CN103401764A (en) * 2013-08-05 2013-11-20 浪潮(北京)电子信息产业有限公司 Method and device for sending mails
CN103607339A (en) * 2013-09-11 2014-02-26 北京京东尚科信息技术有限公司 Method and system based on content automatic adjustment mail sending strategy
CN103973549A (en) * 2014-05-16 2014-08-06 浪潮电子信息产业股份有限公司 Method for sending lots of mails in observer mode

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044109A1 (en) * 2003-08-21 2005-02-24 Fujitsu Limited Mail system, mail processing method, computer-readable recording medium that records mail processing program, electronic mail storage device, electronic mail storage method and computer-readable recording medium that records electronic mail storage program
CN102067534A (en) * 2009-05-25 2011-05-18 赵克锋 Mail system, junk mail processor and method for marking junk mails
CN102025647A (en) * 2009-09-17 2011-04-20 中国长城工业总公司 System and method for mail sending and receiving
CN102123109A (en) * 2011-02-25 2011-07-13 朱才倍 Method and system email
CN102984051A (en) * 2012-12-20 2013-03-20 广州市西美信息科技有限公司 Mail sending method, mail receiving method and mail management system
CN103401764A (en) * 2013-08-05 2013-11-20 浪潮(北京)电子信息产业有限公司 Method and device for sending mails
CN103607339A (en) * 2013-09-11 2014-02-26 北京京东尚科信息技术有限公司 Method and system based on content automatic adjustment mail sending strategy
CN103973549A (en) * 2014-05-16 2014-08-06 浪潮电子信息产业股份有限公司 Method for sending lots of mails in observer mode

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571995A (en) * 2015-10-13 2017-04-19 北京国双科技有限公司 Mail sending method and device
CN106571995B (en) * 2015-10-13 2019-11-12 北京国双科技有限公司 E-mail sending method and device
CN106656731A (en) * 2015-11-04 2017-05-10 广东华邦云计算股份有限公司 EDM (Email Direct Marketing) mail sending method and device
CN107666430A (en) * 2016-07-27 2018-02-06 中兴通讯股份有限公司 A kind of E-mail sending method, device and terminal
CN110417645A (en) * 2019-08-01 2019-11-05 浪潮软件股份有限公司 A method of mail is improved based on redis and is sent
CN113301104A (en) * 2021-02-09 2021-08-24 阿里巴巴集团控股有限公司 Data processing system and method
CN113301104B (en) * 2021-02-09 2024-04-12 阿里巴巴集团控股有限公司 Data processing system and method

Similar Documents

Publication Publication Date Title
CN104579922A (en) Mail sending method and device
US20060026242A1 (en) Messaging spam detection
MX2007004745A (en) System and method for disaster recovery and management of an email system.
US9060253B2 (en) Identifying and blocking mobile messaging service spam
CN102413073A (en) Method and device for sending instant message
US8111819B2 (en) Message server and method for notification of a user about the delivery of an electronic message
US11080107B2 (en) Event notification method, server device, event notification apparatus, and medium
US9252974B2 (en) Mail gateway, mail delivery method, and program
EP1689138A1 (en) Method and interface for filtering SMS and MMS messages
CN103067465A (en) File sharing method and system
CN100562147C (en) A kind of message forwarding method
CN104468862A (en) IP address binding method, device and system
CN115118631B (en) Link exception handling method and device, electronic equipment and storage medium
KR100715645B1 (en) Electronic mail charging system and electronic mail charging method
US20090157833A1 (en) System and method for sending emails
CN102118383A (en) Method for identifying email and method for identifying email servers
CN101753561A (en) Business cluster processing method and cluster system
CN103384219B (en) E-mail sending method and system
CN103096273A (en) Uplink short message service (SMS) sending method, equipment and system
CN105227428A (en) The processing method of unread message, Apparatus and system
CN101753358B (en) Alarming information notification method and system
CN104933059A (en) File reputation acquisition method, gateway equipment and file reputation server
CN109218162A (en) Mail distribution method and device
CN104850932A (en) Delivering method and system based on automatic cell phone number matching
CN102868592A (en) Mail automatic replying method and mail server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429