CN107733789A - E-mail sending method and device - Google Patents
E-mail sending method and device Download PDFInfo
- Publication number
- CN107733789A CN107733789A CN201711251003.2A CN201711251003A CN107733789A CN 107733789 A CN107733789 A CN 107733789A CN 201711251003 A CN201711251003 A CN 201711251003A CN 107733789 A CN107733789 A CN 107733789A
- Authority
- CN
- China
- Prior art keywords
- sent
- information
- contents
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/063—Content adaptation, e.g. replacement of unsuitable content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/42—Mailbox-related aspects, e.g. synchronisation of mailboxes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of e-mail sending method and device.The above method includes step:Receive and send the request for sending E-mail that client is sent, the request for sending E-mail includes the purpose client account information of mail to be sent and Mail Contents to be sent;Analyze Mail Contents to be sent and obtain corresponding email template numbering;Numbered according to the purpose client account information and the email template, generate the mail piece identifiers information of the mail to be sent;The mail piece identifiers information is preserved, and a new mail prompt message related to the mail piece identifiers information is sent to the purpose client.The present invention only preserves the mail piece identifiers information of generation when mail is sent in mailing system service, and data transfers are small, can save substantial amounts of network transmission consumption.
Description
Technical field
The present invention relates to areas of information technology, more particularly to a kind of e-mail sending method, device, computer-readable storage
Medium and computer equipment.
Background technology
With the development of big data, the E-mail address of many users often receives substantial amounts of Email, for example seeks
Sell mail and bill mail.
During above-mentioned Email is sent, email storage server first stores the Email editted,
When user clicks on and sent, whole Email is just passed through into network transmission to targeted customer.But market mail and bill
Not only delivery amount is very big for mail, and requires high actual effect, need to deliver nearly hundred million envelopes Email within a very short time.But
It is that the largely transmission of marketing mail and bill mail, can cause substantial amounts of network transmission to consume in the short time.
To sum up, in conventional art Email transmission, cause substantial amounts of network transmission to consume.
The content of the invention
Based on this, it is necessary to for the transmission of Email in conventional art, cause asking for substantial amounts of network transmission consumption
Topic, there is provided a kind of e-mail sending method, device, computer-readable recording medium and computer equipment.
A kind of e-mail sending method, including:
Receive and send the request for sending E-mail that client is sent, the request for sending E-mail includes the purpose of mail to be sent
Client account information and Mail Contents to be sent;
Analyze Mail Contents to be sent and obtain corresponding email template numbering;According to the purpose client account information and
The email template numbering, generate the mail piece identifiers information of the mail to be sent;
The mail piece identifiers information is preserved, and it is related to the mail piece identifiers information to purpose client transmission one
New mail prompt message.
Above-mentioned e-mail sending method, when mail is sent, the mail mark of generation is only preserved in mailing system service
Know information, data transfers are small, can save substantial amounts of network transmission consumption, improve mail transmitting efficiency;Do not generate postal simultaneously
Part entity, substantial amounts of mailing system memory space can be saved.
In one of the embodiments, before the step of preserving the mail piece identifiers information, including:
Using purpose client account information as first order index information, indexed and believed as the second level using email template numbering
Breath;Mail index is created according to the first order index information, second level index information;
The step of preservation mail piece identifiers information, includes:
The mail piece identifiers information is saved in into the mail according to first order index information, second level index information to index
In.Above-described embodiment, the mail piece identifiers information is saved in the postal according to first order index information, second level index information
In part index, corresponding mail piece identifiers information can easily and fast be searched by mail index.
In one of the embodiments, the analysis Mail Contents to be sent obtain the step of corresponding email template numbering
Suddenly, including:
The first data source built in advance according to Mail Contents to be sent inquiry, thus in acquisition and the mail to be sent
Email template corresponding to appearance is numbered;Wherein, first data source is stored with more parts of Mail Contents, every part of Mail Contents corresponding one
Individual email template numbering.Above-described embodiment, can be with quick obtaining and the Mail Contents to be sent by searching the first data source
Corresponding email template numbering, is conveniently subsequently numbered, purpose client account information, generation is described to be sent according to email template
The mail piece identifiers information of mail.
In one of the embodiments, after described the step of receiving the request for sending E-mail for sending client transmission, also
Including:The email type of mail to be sent is determined according to the Mail Contents to be sent;
It is described to be numbered according to the purpose client account information and the email template, generate the mail to be sent
The step of mail piece identifiers information, including:
According to the email type of the purpose client account information, email template numbering and mail to be sent, generation
The mail piece identifiers information of the mail to be sent.Above-described embodiment, according to Mail Contents to be sent, it may be determined that mail to be sent
Email type, it is convenient to be handled according to corresponding to being carried out different email types.Directly generate the postal comprising email type simultaneously
Part identification information, i.e., mail to be sent is changed into corresponding mail piece identifiers information, not only volume of transmitted data is small, saves network
Transmission consumption.Mail transmitting efficiency can be improved;Mail entity is not directly generated simultaneously to send, and can save mailing system
Memory space, avoid the wasting of resources.
In one of the embodiments, the email type includes the first email type and the second email type;
Described the step of determining the email type of mail to be sent according to the Mail Contents to be sent, including:
If the Mail Contents to be sent do not include users personal data information, it is determined that the mail of the mail to be sent
Type is the first email type;
If the Mail Contents to be sent include users personal data information, it is determined that the mail class of the mail to be sent
Type is the second email type.Above-described embodiment, by judging whether Mail Contents to be sent include users personal data information, with
The email type of this determination mail to be sent, mail to be sent can be not only distinguished, while can be easily according to different
Email type searches different data sources.
In one of the embodiments, the analysis Mail Contents to be sent obtain the step of corresponding email template numbering
Suddenly, in addition to:
Inquire about whether the first data source there are Mail Contents corresponding to Mail Contents to be sent;If it is not, by the postal to be sent
Part content is preserved into first data source, and is email template numbering corresponding to the Mail Contents distribution to be sent.On
Embodiment is stated, the Mail Contents for being not held in the first data source are saved, while is compiled for email template corresponding to its distribution
Number, it can be ensured that every part of Mail Contents can match corresponding email template numbering in the first data source, improve generation postal
The accuracy of part identification information.
In one of the embodiments, the email type that mail to be sent is determined according to the Mail Contents to be sent
The step of after, in addition to:
If the email type of the mail to be sent is the second email type, by what is included in the Mail Contents to be sent
Users personal data information is saved in the second data source built in advance.Above-described embodiment, it is determined that the mail of mail to be sent
Type be the second email type after, the users personal data information included in Mail Contents to be sent is saved in advance structure in time
The second data source built, the second data source is updated, improve the ageing of the second data source data.
It is in one of the embodiments, described to be numbered according to the purpose client account information and the email template,
The step of generating the mail piece identifiers information of the mail to be sent, including:
The source IP addresses and timestamp of the mail to be sent are obtained, by the source IP addresses, timestamp, purpose
Client account information and email template numbering are combined successively, generate the mail piece identifiers information of the mail to be sent.
Above-described embodiment, it can quickly search coming for mail to be sent directly from the mail piece identifiers information of the mail to be sent of generation
Source IP address and timestamp.
A kind of mail dispensing device, including:
Request receiving module, for receiving the request for sending E-mail for sending client and sending, in the request for sending E-mail
Purpose client account information and Mail Contents to be sent including mail to be sent;
Information generating module, corresponding email template numbering is obtained for analyzing Mail Contents to be sent;According to the mesh
Client account information and email template numbering, generate the mail piece identifiers information of mail to be sent;
Information preserving module, one and institute are sent for preserving the mail piece identifiers information, and to the purpose client
State the related new mail prompt message of mail piece identifiers information.
Above-mentioned mail dispensing device, when mail is sent, the mail mark of generation is only preserved in mailing system service
Know information, data transfers are small, can save substantial amounts of network transmission consumption, improve mail transmitting efficiency;Do not generate postal simultaneously
Part entity, substantial amounts of mailing system memory space can be saved.
A kind of computer-readable recording medium, is stored thereon with computer program, when the program is executed by processor, realizes
The step of e-mail sending method described above.When performing above-mentioned e-mail sending method, when mail is sent, only in mail
The mail piece identifiers information of generation is preserved in system service, data transfers are small, can save substantial amounts of network transmission consumption, improve
Mail transmitting efficiency;Mail entity is not generated simultaneously, can save substantial amounts of mailing system memory space.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, during the computing device described program, the step of realizing e-mail sending method described above.It is above-mentioned performing
During e-mail sending method, when mail is sent, the mail piece identifiers information of generation, data are only preserved in mailing system service
Amount transmission is small, can save substantial amounts of network transmission consumption, improve mail transmitting efficiency;Mail entity is not generated simultaneously, can be with
Save substantial amounts of mailing system memory space.
Above-mentioned technical proposal, by receiving the request for sending E-mail for sending client and sending, in the request for sending E-mail
Purpose client account information and Mail Contents to be sent including mail to be sent;Mail Contents to be sent are analyzed to obtain correspondingly
Email template numbering;Numbered according to the purpose client account information and the email template, generate the postal to be sent
The mail piece identifiers information of part;The mail piece identifiers information is preserved, and one and the mail mark are sent to the purpose client
Know the related new mail prompt message of information.When mail is sent, the mail of generation is only preserved in mailing system service
Identification information, data transfers are small, can save substantial amounts of network transmission consumption, improve mail transmitting efficiency;Do not generate simultaneously
Mail entity, substantial amounts of mailing system memory space can be saved.
Brief description of the drawings
Fig. 1 is the indicative flowchart of the e-mail sending method of an embodiment;
Fig. 2 is the schematic diagram of the mail dispensing device of an embodiment;
Fig. 3 is the schematic diagram of the mail transmission system of an embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The term " comprising " and " having " of the embodiment of the present invention and their any deformations, it is intended that cover non-exclusive
Comprising.Such as contain series of steps or the process, method, system, product or equipment of (module) unit are not limited to
The step of listing or unit, but alternatively also including the step of not listing or unit, or alternatively also include for these
The intrinsic other steps of process, method, product or equipment or unit.
Referenced herein " multiple " refer to two or more."and/or", the association for describing affiliated partner are closed
System, expression may have three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, individualism
These three situations of B.It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Although the step in the present invention is arranged with label, it is not used to limit the precedence of step, unless
It specify that the order of step or based on the execution of certain step needs other steps, otherwise the relative rank of step is
It is adjustable.
Fig. 1 is the indicative flowchart of the e-mail sending method of an embodiment;As shown in figure 1, the mail in the present embodiment
Sending method comprises the following steps:
Step S101, receive and send the request for sending E-mail that client is sent.
In this step, the request for sending E-mail includes the purpose client account information of mail to be sent and pending
Send Mail Contents.Client is sent as purpose client, postal can be sent, received and read by various mail protocols
Part, the mail protocol include WEBMAIL (E-mail service agreement), POP3 (this agreement of the post office third edition), IMAP (mails
Access protocol).
Wherein, purpose client account information refers to that the Email Accounts relevant with purpose user, user name, identity card etc. are believed
Breath, related data source is inquired about by the purpose client account information, can be obtained and purpose client account information pair
The user content answered, such as users personal data information.Mail Contents to be sent refer to the body matter of mail to be sent, for example seek
Sell the advertising message of mail.
Step S102, analyze Mail Contents to be sent and obtain corresponding email template numbering;According to the purpose client
Account information and email template numbering, generate the mail piece identifiers information of the mail to be sent.
In this step, related data source is inquired about by the Mail Contents to be sent, can obtain with it is described pending
Email template corresponding to Mail Contents is sent to number, each corresponding a Mail Contents to be sent of email template numbering.Mail piece identifiers
Information is unique mark of the mail to be sent in mailing system service, is corresponded with mail to be sent, mainly by purpose visitor
The information composition such as family end account information and email template numbering.Wherein, mailing system service is a kind of responsible E-mail receiver/send
The server of management.
Specifically, email template numbering corresponding with the Mail Contents to be sent is obtained by searching data source, then tied
Purpose client account information is closed, the mail piece identifiers information of the mail to be sent can be generated.The mail to be sent is turned
Change corresponding mail piece identifiers information into, this action data transmission quantity is small, can save network transmission consumption;It is simultaneously directly not raw
Into mail entity, the memory space of mailing system can be saved.
Step S103, the mail piece identifiers information is preserved, and one and the mail mark are sent to the purpose client
Know the related new mail prompt message of information.
In this step, new mail prompt message be to the mail to be sent corresponding to mail piece identifiers information it is related.
Wherein, same envelope mail, it is mail to be sent for sending client;It is postal of continuing for purpose client
Part, both are substantially the same.
Specifically, the mail piece identifiers information is preserved, is sent equivalent to by corresponding mail to be sent;And to described
Purpose client sends a new mail prompt message related to the mail piece identifiers information.This action data transmission quantity is small,
Substantial amounts of network transmission consumption can be saved, improves mail transmitting efficiency;Purpose client can be reminded to read postal in time simultaneously
Part.
In an alternative embodiment, new mail prompt message is sent to purpose client, for purpose client according to institute
State new mail prompt message and service transmission mail read requests to mailing system, to ask mailing system service according to the mail
Read requests, mail piece identifiers corresponding to the mail that continues described in acquisition (for sending client, that is, mail to be sent)
Information, then by the mail piece identifiers information, search the mail that continued corresponding to the data source acquisition of correlation.For same envelope postal
Part, the mail piece identifiers information for the mail that continues and the mail piece identifiers information of mail to be sent are the same.Above-described embodiment, pass through to
Purpose client sends new mail prompt message, not only purpose client can be notified to read mail in time, can also allow purpose
According to new mail prompt message, continue client mail corresponding to acquisition, convenient and swift, can save substantial amounts of network transmission again
Consumption.
Above-described embodiment, by receiving the request for sending E-mail for sending client and sending, wrapped in the request for sending E-mail
Include the purpose client account information of mail to be sent and Mail Contents to be sent;Analyze corresponding to Mail Contents to be sent obtain
Email template is numbered;Numbered according to the purpose client account information and the email template, generate the mail to be sent
Mail piece identifiers information;The mail piece identifiers information is preserved, and one and the mail piece identifiers are sent to the purpose client
The related new mail prompt message of information.When mail is sent, the mail mark of generation is only preserved in mailing system service
Know information, data transfers are small, can save substantial amounts of network transmission consumption, improve mail transmitting efficiency;Do not generate postal simultaneously
Part entity, substantial amounts of mailing system memory space can be saved.
In an alternative embodiment, above-mentioned steps S103, before the step of preserving the mail piece identifiers information, including:With
Purpose client account information is used as second level index information as first order index information using email template numbering;According to institute
State first order index information, second level index information creates mail index.Above-described embodiment, indexed by creating mail, can be with
Mail piece identifiers information corresponding to quick lookup.
In another alternative embodiment, described the step of preserving the mail piece identifiers information, includes:By the mail piece identifiers
Information is saved in the mail index according to first order index information, second level index information.Above-described embodiment, by the postal
Part identification information is saved in the mail index according to first order index information, second level index information, so passes through mail
Index can easily and fast search corresponding mail piece identifiers information.
In an alternative embodiment, in above-mentioned steps S102, the analysis Mail Contents to be sent obtain corresponding mail
The step of template number, including:According to the first data source for building in advance of Mail Contents to be sent inquiry, thus obtain with it is described
Email template corresponding to Mail Contents to be sent is numbered;Wherein, first data source is stored with more parts of Mail Contents, for example seeks
Sell the Mail Contents of mail, the corresponding email template numbering of every part of Mail Contents.Above-described embodiment, by searching the first data
Source, it can be numbered with quick obtaining email template corresponding with the Mail Contents to be sent, it is convenient subsequently to be compiled according to email template
Number, purpose client account information, generate the mail piece identifiers information of the mail to be sent.
In another alternative embodiment, in above-mentioned steps S102, the analysis Mail Contents to be sent obtain corresponding postal
Part template number, in addition to:Inquire about whether the first data source there are Mail Contents corresponding to Mail Contents to be sent;If it is not, by institute
State Mail Contents to be sent to preserve into first data source, and be mail mould corresponding to the Mail Contents distribution to be sent
Plate is numbered;If so, directly obtain email template numbering corresponding with the Mail Contents to be sent.Above-described embodiment, it will not protect
Saved in the presence of the Mail Contents of the first data source, while be email template numbering corresponding to its distribution, it can be ensured that every part
Mail Contents can match corresponding email template numbering in the first data source, improve the accurate of generation mail piece identifiers information
Property.
In an alternative embodiment, in above-mentioned steps S101, described receive sends the request for sending E-mail that client is sent
The step of after, in addition to:The email type of mail to be sent is determined according to the Mail Contents to be sent.It is such as to be sent
Mail Contents are unrelated with personal user's data message, then can determine that mail to be sent for marketing mail or other and individual subscriber
The unrelated mail of data message.Above-described embodiment, according to Mail Contents to be sent, it may be determined that the mail class of mail to be sent
Type, the convenient processing according to corresponding to being carried out different email types.
Further, it is described to be numbered according to the purpose client account information and the email template, treated described in generation
The mail piece identifiers information of mail is sent, including:Numbered according to the purpose client account information, email template and to be sent
The email type of mail, generate the mail piece identifiers information of the mail to be sent.Directly generate the mail mark for including email type
Know information, i.e., mail to be sent is changed into corresponding mail piece identifiers information, not only volume of transmitted data is small, saves network transmission
Consumption.Mail transmitting efficiency can be improved;Mail entity is not directly generated simultaneously to send, and can save depositing for mailing system
Space is stored up, avoids the wasting of resources.
In an alternative embodiment, the email type includes the first email type and the second email type.The basis
The step of Mail Contents to be sent determine the email type of mail to be sent, including:If the Mail Contents to be sent are not
Include users personal data information, it is determined that the email type of the mail to be sent is the first email type, such as postal of marketing
The email type of part is the first email type;If the Mail Contents to be sent include users personal data information, such as bill
Data, it is determined that the email type of the mail to be sent is the second email type, for example the email type of bill mail is the
Two email types.Above-described embodiment, by judging whether Mail Contents to be sent include users personal data information, with this determination
The email type of mail to be sent, mail to be sent can be not only distinguished, while can be easily according to different mail classes
Type operates to different data sources.
In an alternative embodiment, the email type that mail to be sent is determined according to the Mail Contents to be sent
After step, in addition to:If the email type of the mail to be sent is the second email type, for example mail to be sent is bill
Mail, then the users personal data information included in the Mail Contents to be sent is saved in the second data built in advance
Source.Above-described embodiment, it is determined that mail to be sent email type be the second email type after, in time by Mail Contents to be sent
In the users personal data information that includes be saved in the second data source built in advance, update the second data source, improve the second number
According to the ageing of source data.
It is described according to the purpose client account information and described in above-mentioned steps S102 in an alternative embodiment
Email template is numbered, and generates the mail piece identifiers information of the mail to be sent, including:Obtain the source IP of the mail to be sent
Address and timestamp, by the source IP addresses, timestamp, purpose client account information and email template numbering successively group
It is combined, generates the mail piece identifiers information of the mail to be sent.Such as
200.10.64.10.28.15077998176812947 it is source IP addresses, 1707 be timestamp, and 279 be email template numbering,
18803789598 be purpose client account information, by above-mentioned source IP addresses, timestamp, purpose client account information and
Email template numbering is combined successively, is 200.10.64.10.28.15077998176812947.1707ha279_
18803789598@189.cn, this section of character string are the mail piece identifiers information of mail to be sent.Above-described embodiment, can be from life
Into mail to be sent mail piece identifiers information in, quickly search the source IP addresses and timestamp of mail to be sent.
Further, the source IP addresses of mail to be sent, timestamp, purpose client account information and email template are compiled
Number it can also successively combine by other orders or form, generate the mail piece identifiers information of mail to be sent.
In an alternative embodiment, in above-mentioned steps S101, the step for sending the request for sending E-mail that client is sent is received
Before rapid, in addition to:The first data source is established, for storing and the corresponding Mail Contents of each email template numbering;For example market
Mail Contents, the Mail Contents of bill mail of mail;The second data source is established, is believed for storing with each purpose client account
Users personal data information corresponding to breath;Such as the billing data of bill mail;Above-described embodiment, by establishing the first data source
With the second data source, it is respectively used to storage and believes with the corresponding Mail Contents of each email template numbering, with each purpose client account
Users personal data information corresponding to breath, be advantageous to, directly according to Mail Contents to be sent and purpose client account information, look into
The data source of correlation is looked for, it is convenient subsequently according to email template numbering and purpose client account information, generate the postal to be sent
The mail piece identifiers information of part, reaches higher accuracy.
Further, for the first data source, after some time, such as, 1 month, reacquire on internet
The Mail Contents of marketing mail or the Mail Contents of bill mail, are numbered for same email template, using the battalion of reacquisition
The Mail Contents of mail or the Mail Contents of bill mail are sold, cover the postal of the original corresponding marketing mail of each email template numbering
Perhaps Mail Contents of bill mail in part.According to actual conditions, the first data source is further updated.Similarly, for the second number
According to source, after some time, such as, 1 month, reacquire users personal data corresponding to each purpose client account information
Information, such as billing data, for same purpose client account information, believed using each purpose client account of reacquisition
Users personal data information corresponding to breath, cover the original users personal data information of each purpose client account information.According to
Actual conditions, further update the second data source.Above-described embodiment, pass through first data source that in setting time, upgrades in time
With the second data source, the accuracy of mail piece identifiers information corresponding to generation and ageing can be improved, avoids sending in time
Newest mail.
In an alternative embodiment, in above-mentioned steps S101, the step for sending the request for sending E-mail that client is sent is received
Before rapid, in addition to:Mail index list is created, for storing mail index corresponding with each mail piece identifiers information.Above-mentioned reality
Example is applied, is indexed by inquiring about in mail index list the mail stored, can be with quick obtaining and the corresponding postal of mail index
Part identification information, while facilitate follow-up purpose client mail piece identifiers information according to corresponding to obtaining new mail prompt message.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to
According to the present invention, some steps can use other orders or carry out simultaneously.
Based on the e-mail sending method identical thought in above-described embodiment, the present invention also provide mail dispensing device,
The device can be used for performing above-mentioned mail distribution method.For convenience of description, the schematic structure of mail dispensing device embodiment
In figure, the part related to the embodiment of the present invention is illustrate only, it will be understood by those skilled in the art that schematic structure not structure
The restriction of twin installation, it can include than illustrating more or less parts, either combine some parts or different parts
Arrangement.
Fig. 2 is the schematic diagram of the mail dispensing device of an embodiment;As shown in Fig. 2 the mail in the present embodiment
Dispensing device includes:
Request receiving module 210, for receiving the request for sending E-mail for sending client and sending, the request for sending E-mail
Include the purpose client account information of mail to be sent and Mail Contents to be sent;
Information generating module 220, corresponding email template numbering is obtained for analyzing Mail Contents to be sent;According to described
Purpose client account information and email template numbering, generate the mail piece identifiers information of mail to be sent;
Information preserving module 230, for preserving the mail piece identifiers information, and to the purpose client send one with
The related new mail prompt message of the mail piece identifiers information.
In an alternative embodiment, for mail dispensing device, in addition to mail index creation module, for purpose visitor
Family end account information is used as second level index information as first order index information using email template numbering;According to described first
Level index information, second level index information create mail index.
In an alternative embodiment, for information preserving module 230, it can be also used for:The mail piece identifiers information is pressed
It is saved according to first order index information, second level index information in the mail index.
In an alternative embodiment, for information generating module 220, it can be also used for:Looked into according to Mail Contents to be sent
The first data source for building in advance is ask, thus obtains email template numbering corresponding with the Mail Contents to be sent;Wherein, institute
State the first data source and be stored with more parts of Mail Contents, the corresponding email template numbering of every part of Mail Contents.
In an alternative embodiment, for mail dispensing device, in addition to email type determining module, for according to
Mail Contents to be sent determine the email type of mail to be sent.For information generating module 220, can be also used for:According to institute
The email type of purpose client account information, email template numbering and mail to be sent is stated, generates the mail to be sent
Mail piece identifiers information.
In an alternative embodiment, the email type includes the first email type and the second email type, for mail
Determination type module, it can be also used for:If the Mail Contents to be sent do not include users personal data information, it is determined that described
The email type of mail to be sent is the first email type;If the Mail Contents to be sent include users personal data information,
The email type for then determining the mail to be sent is the second email type.
In an alternative embodiment, for information generating module 220, it can be also used for:Inquire about whether the first data source has
Mail Contents corresponding to Mail Contents to be sent;If it is not, the Mail Contents to be sent are preserved into first data source,
And it is email template numbering corresponding to the Mail Contents distribution to be sent.
In an alternative embodiment, for email type determining module, it can be also used for:If the postal of the mail to be sent
Part type is the second email type, and the users personal data information included in the Mail Contents to be sent is saved in into advance structure
The second data source built.
In an alternative embodiment, for information generating module 220, it is further used for:Obtain the mail to be sent
Source IP addresses and timestamp, by the source IP addresses, timestamp, purpose client account information and email template compile
Number combine successively, generate the mail piece identifiers information of the mail to be sent.
Above-mentioned each embodiment, the request for sending E-mail for sending client and sending is received by request receiving module, it is described
Request for sending E-mail includes the purpose client account information of mail to be sent and Mail Contents to be sent;Information generating module
Analyze Mail Contents to be sent and obtain corresponding email template numbering;According to the purpose client account information and the mail
Template number, generate the mail piece identifiers information of the mail to be sent;Information preserving module preserves the mail piece identifiers information, and
A new mail prompt message related to the mail piece identifiers information is sent to the purpose client.Send mail when
Wait, the mail piece identifiers information of generation is only preserved in mailing system service, data transfers are small, can save substantial amounts of network and pass
Defeated consumption, improve mail transmitting efficiency;Mail entity is not generated simultaneously, can save substantial amounts of mailing system memory space.
Fig. 3 is the schematic diagram of the mail transmission system of an embodiment.As shown in figure 3, the mail hair of the present embodiment
System is sent to include:Send client 301, mailing system service 302 and purpose client 303.The transmission client 301 is used for
Mail read requests are sent to mailing system service 302;The mailing system service 302, which is used to receive, sends client
301 request for sending E-mail sent, the request for sending E-mail include the purpose client account information of mail to be sent with
Mail Contents to be sent;Analyze Mail Contents to be sent and obtain corresponding email template numbering;According to the purpose client account
Number information and email template numbering, generate the mail piece identifiers information of the mail to be sent;Preserve the mail piece identifiers letter
Breath, and send a new mail prompt message related to the mail piece identifiers information to the purpose client 303.The mesh
Client 303 be used to receive the new mail prompt messages that mailing system service 302 is sent.Above-described embodiment, sending
When mail, the mail piece identifiers information of generation is only preserved in mailing system service, data transfers are small, can save a large amount of
Network transmission consumption, improve mail transmitting efficiency;Mail entity is not generated simultaneously, can save substantial amounts of mailing system storage
Space.Mailing system service sends new mail prompt message to purpose client, not only purpose client can be notified to read in time
Mail is taken, purpose client can also be allowed according to new mail prompt message, continue mail corresponding to acquisition, convenient and swift.
In an alternative embodiment, the purpose client 303 can be also used for:Sent according to mailing system service 302
New mail prompt message, mail read requests are sent to mailing system service 302, to ask mailing system service 302
Continued according to corresponding to obtaining the mail read requests and mail and be returned to the purpose client 303.Above-mentioned implementation
Example, purpose client according to new mail prompt message, can obtain corresponding to continue mail, it is convenient and swift, net can be saved again
Network transmission consumption and mailing system memory space.
In an alternative embodiment, the mailing system service 302 can be also used for:Receive the purpose client 303
The mail read requests of transmission, according to the mail read requests, mail index list is searched, mail index letter corresponding to acquisition
Breath, the mail piece identifiers information according to corresponding to obtaining the mail index information;By the mail piece identifiers information, correlation is searched
Continue mail corresponding to data source acquisition, and the mail that then will continue returns to purpose client 303.Above-described embodiment, mail system
When purpose client sends mail read requests, just continue mail corresponding to acquisition, convenient and swift, saves simultaneously for system service
Mailing system memory space.
In an alternative embodiment, the mailing system service 302 can be also used for:Made with purpose client account information
For first order index information, second level index information is used as using email template numbering;According to the first order index information, second
Level index information creates mail index.
In an alternative embodiment, the mailing system service 302 can be also used for:If the Mail Contents to be sent are not
Include users personal data information, it is determined that the email type of the mail to be sent is the first email type;It is if described pending
Mail Contents are sent to include users personal data information, it is determined that the email type of the mail to be sent is the second email type.
In an alternative embodiment, the mailing system service 302 is further used for:Obtain the mail to be sent
Source IP addresses and timestamp, the source IP addresses, timestamp, purpose client account information and email template are numbered
Combine successively, generate the mail piece identifiers information of the mail to be sent.
Above-mentioned each embodiment, when mail is sent, the mail piece identifiers of generation are only preserved in mailing system service
Information, data transfers are small, can save substantial amounts of network transmission consumption, improve mail transmitting efficiency;Do not generate mail simultaneously
Entity, substantial amounts of mailing system memory space can be saved.
It should be noted that in the embodiment of the mail dispensing device of above-mentioned example, the information between each module/unit
The contents such as interaction, implementation procedure, due to being based on same design with preceding method embodiment of the present invention, its technique effect brought with
Preceding method embodiment of the present invention is identical, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In addition, in the embodiment of the mail dispensing device of above-mentioned example, the logical partitioning of each program module is only citing
Illustrate, can be as needed in practical application, such as examined for the facility of the realization of the configuration requirement or software of corresponding hardware
Consider, above-mentioned function distribution completed by different program module, will the internal structure of the mail dispensing device be divided into not
Same program module, to complete all or part of function described above.
It will appreciated by the skilled person that realizing all or part of flow in above-described embodiment method, being can
To instruct the hardware of correlation to complete by computer program, described program can be stored in a computer-readable storage and be situated between
In matter, as independent production marketing or use.Described program upon execution, can perform the complete of such as embodiment of above-mentioned each method
Portion or part steps.Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read-Only
Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Accordingly, a kind of storage medium is also provided in one embodiment, is stored thereon with computer program, wherein, the journey
Any one e-mail sending method in each embodiment as described above is realized when sequence is executed by processor.
In addition, the storage medium may also be disposed in a kind of computer equipment, place is also included in the computer equipment
Manage device, during program in storage medium described in the computing device, can realize the embodiment of above-mentioned each method whole or
Part steps.
Accordingly, a kind of computer equipment is also provided in one embodiment, and the computer equipment includes memory, processor
And storage is on a memory and the computer program that can run on a processor, wherein, realize during computing device described program
Any one e-mail sending method in each embodiment as described above.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.It is appreciated that wherein used term " first ", " second " etc. are at this
It is used to distinguish object in text, but these objects should not be limited by these terms.
Embodiment described above only expresses the several embodiments of the present invention, it is impossible to is interpreted as to the scope of the claims of the present invention
Limitation.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise,
Various modifications and improvements can be made, these belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention
It should be determined by the appended claims.
Claims (10)
- A kind of 1. e-mail sending method, it is characterised in that including:Receive and send the request for sending E-mail that client is sent, the request for sending E-mail includes the purpose visitor of mail to be sent Family end account information and Mail Contents to be sent;Analyze Mail Contents to be sent and obtain corresponding email template numbering;According to the purpose client account information and described Email template is numbered, and generates the mail piece identifiers information of the mail to be sent;Preserve the mail piece identifiers information, and to the purpose client send one it is related to the mail piece identifiers information new E-mail alert information.
- 2. e-mail sending method according to claim 1, it is characterised in that the step of preserving the mail piece identifiers information it Before, in addition to:Using purpose client account information as first order index information, second level index information is used as using email template numbering; Mail index is created according to the first order index information, second level index information;The step of preservation mail piece identifiers information, includes:The mail piece identifiers information is saved in the mail index according to first order index information, second level index information.
- 3. e-mail sending method according to claim 1, it is characterised in that analysis Mail Contents to be sent obtain pair The step of email template numbering answered, including:The first data source built in advance according to Mail Contents to be sent inquiry, is thus obtained and the Mail Contents pair to be sent The email template numbering answered;Wherein, first data source is stored with more parts of Mail Contents, the corresponding postal of every part of Mail Contents Part template number.
- 4. e-mail sending method according to claim 1, it is characterised in that described receive sends the mail that client is sent After the step of sending request, in addition to:The email type of mail to be sent is determined according to the Mail Contents to be sent;It is described to be numbered according to the purpose client account information and the email template, generate the mail of the mail to be sent The step of identification information, including:According to the email type of the purpose client account information, email template numbering and mail to be sent, described in generation The mail piece identifiers information of mail to be sent.
- 5. e-mail sending method according to claim 4, it is characterised in that the email type includes the first email type With the second email type;Described the step of determining the email type of mail to be sent according to the Mail Contents to be sent, including:If the Mail Contents to be sent do not include users personal data information, it is determined that the email type of the mail to be sent For the first email type;If the Mail Contents to be sent include users personal data information, it is determined that the email type of the mail to be sent is Second email type.
- 6. e-mail sending method according to claim 5, it is characterised in that analysis Mail Contents to be sent obtain pair The step of email template numbering answered, in addition to:Inquire about whether the first data source there are Mail Contents corresponding to Mail Contents to be sent;If it is not, by the mail to be sent Hold and preserve into first data source, and be email template numbering corresponding to the Mail Contents distribution to be sent;After described the step of determining the email type of mail to be sent according to the Mail Contents to be sent, in addition to:If the email type of the mail to be sent is the second email type, the user that will be included in the Mail Contents to be sent Personal data information is saved in the second data source built in advance.
- 7. e-mail sending method according to claim 1, it is characterised in that described to be believed according to the purpose client account Breath and email template numbering, the step of generating the mail piece identifiers information of the mail to be sent, including:The source IP addresses and timestamp of the mail to be sent are obtained, by the source IP addresses, timestamp, purpose client End account information and email template numbering are combined successively, generate the mail piece identifiers information of the mail to be sent.
- A kind of 8. mail dispensing device, it is characterised in that including:Request receiving module, for receiving the request for sending E-mail for sending client and sending, the request for sending E-mail includes The purpose client account information of mail to be sent and Mail Contents to be sent;Information generating module, corresponding email template numbering is obtained for analyzing Mail Contents to be sent;According to purpose visitor Family end account information and email template numbering, generate the mail piece identifiers information of mail to be sent;Information preserving module, one and the postal are sent for preserving the mail piece identifiers information, and to the purpose client The related new mail prompt message of part identification information.
- 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor During row, the step of realizing any one of claim 1 to 7 e-mail sending method.
- 10. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that during the computing device described program, realize any one of claim 1 to the 7 mail hair The step of delivery method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711251003.2A CN107733789B (en) | 2017-12-01 | 2017-12-01 | Mail sending method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711251003.2A CN107733789B (en) | 2017-12-01 | 2017-12-01 | Mail sending method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107733789A true CN107733789A (en) | 2018-02-23 |
CN107733789B CN107733789B (en) | 2020-09-08 |
Family
ID=61220884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711251003.2A Active CN107733789B (en) | 2017-12-01 | 2017-12-01 | Mail sending method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107733789B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115567478A (en) * | 2021-07-01 | 2023-01-03 | 京东科技控股股份有限公司 | Mail generating and sending method, device and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478555A (en) * | 2009-02-11 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Method, system and equipment for enhancing security of e-mail |
CN102999479A (en) * | 2011-09-13 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Mail manufacturing method and mail manufacturing system |
CN103188128A (en) * | 2011-12-29 | 2013-07-03 | 盈世信息科技(北京)有限公司 | Preview method of mail attachment and mail system |
CN103426079A (en) * | 2012-06-20 | 2013-12-04 | 中兴通讯股份有限公司 | Mail sending method and device |
CN103888348A (en) * | 2014-03-28 | 2014-06-25 | 新浪网技术(中国)有限公司 | E-mail application system and method and device for transferring E-mails |
CN105959200A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | E-mail sending method and E-mail transmitting device |
CN106469209A (en) * | 2016-08-31 | 2017-03-01 | 乐视控股(北京)有限公司 | Mail read method and reading device |
CN106708491A (en) * | 2015-11-17 | 2017-05-24 | 北京国双科技有限公司 | Html-format mail generation method and device |
CN106933862A (en) * | 2015-12-30 | 2017-07-07 | 北京神州泰岳软件股份有限公司 | A kind of method and apparatus for generating mail report |
CN107395574A (en) * | 2017-06-30 | 2017-11-24 | 上海策赢网络科技有限公司 | Message identification, information request and offer method and apparatus, storage medium and equipment |
US10318617B2 (en) * | 2015-06-02 | 2019-06-11 | Gartner, Inc. | Methods and apparatus for extraction of content from an email or email threads for use in providing implicit profile attributes and content for recommendation engines |
-
2017
- 2017-12-01 CN CN201711251003.2A patent/CN107733789B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478555A (en) * | 2009-02-11 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Method, system and equipment for enhancing security of e-mail |
CN102999479A (en) * | 2011-09-13 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Mail manufacturing method and mail manufacturing system |
CN103188128A (en) * | 2011-12-29 | 2013-07-03 | 盈世信息科技(北京)有限公司 | Preview method of mail attachment and mail system |
CN103426079A (en) * | 2012-06-20 | 2013-12-04 | 中兴通讯股份有限公司 | Mail sending method and device |
CN103888348A (en) * | 2014-03-28 | 2014-06-25 | 新浪网技术(中国)有限公司 | E-mail application system and method and device for transferring E-mails |
US10318617B2 (en) * | 2015-06-02 | 2019-06-11 | Gartner, Inc. | Methods and apparatus for extraction of content from an email or email threads for use in providing implicit profile attributes and content for recommendation engines |
CN106708491A (en) * | 2015-11-17 | 2017-05-24 | 北京国双科技有限公司 | Html-format mail generation method and device |
CN106933862A (en) * | 2015-12-30 | 2017-07-07 | 北京神州泰岳软件股份有限公司 | A kind of method and apparatus for generating mail report |
CN105959200A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | E-mail sending method and E-mail transmitting device |
CN106469209A (en) * | 2016-08-31 | 2017-03-01 | 乐视控股(北京)有限公司 | Mail read method and reading device |
CN107395574A (en) * | 2017-06-30 | 2017-11-24 | 上海策赢网络科技有限公司 | Message identification, information request and offer method and apparatus, storage medium and equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115567478A (en) * | 2021-07-01 | 2023-01-03 | 京东科技控股股份有限公司 | Mail generating and sending method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107733789B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10505893B1 (en) | Generating content based on search instances | |
US8095612B2 (en) | Ranking messages in an electronic messaging environment | |
US11681757B2 (en) | Similar email spam detection | |
US7937336B1 (en) | Predicting geographic location associated with network address | |
US11379782B2 (en) | System and method of electronic and physical mail categorization and targeted delivery | |
US8504626B2 (en) | System and method for content tagging and distribution through email | |
US7596594B2 (en) | System and method for displaying and acting upon email conversations across folders | |
US20080263013A1 (en) | System and method for creating a list of shared information on a peer-to-peer network | |
US20060206578A1 (en) | Publication to shared content sources using natural language electronic mail destination addresses and interest profiles registered by the shared content sources | |
CN108898362A (en) | Fill user contact's entry | |
CN108509806B (en) | Big data accurate marketing system and equipment with privacy protection | |
US20140074612A1 (en) | System and Method for Targeting Information Items Based on Popularities of the Information Items | |
US20110307569A1 (en) | System and method for collaborative short messaging and discussion | |
US10659335B1 (en) | Contextual analyses of network traffic | |
US20100280903A1 (en) | Domain classification and content delivery | |
CN106372524A (en) | Personally identifiable information (PII) disclosure detection | |
WO2011106897A1 (en) | Systems and methods for conducting more reliable assessments with connectivity statistics | |
US11362982B2 (en) | Mail bot and mailing list detection | |
CN105915621A (en) | Data access method and pretreatment server | |
WO2015065852A2 (en) | User information classification method and apparatus, and user group information acquistion method and apparatus | |
CN108446168A (en) | A kind of the browse right setting method and device of affairs | |
CN106485520B (en) | Cross-channel communication control method and server | |
US8854372B2 (en) | Consolidation and visualization of a set of raw data corresponding to a communication between a person of interest and a correspondent across a plurality of mediums of communication | |
CN107733789A (en) | E-mail sending method and device | |
CN108494870A (en) | Dynamic data loading method based on CDN and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220222 Address after: Room 1423, No. 1256 and 1258, Wanrong Road, Jing'an District, Shanghai 200040 Patentee after: Tianyi Digital Life Technology Co.,Ltd. Address before: 1 / F and 2 / F, East Garden, Huatian International Plaza, 211 Longkou Middle Road, Tianhe District, Guangzhou, Guangdong 510630 Patentee before: Century Dragon Information Network Co.,Ltd. |
|
TR01 | Transfer of patent right |