CN110999227B - Mail transmission method and related equipment - Google Patents

Mail transmission method and related equipment Download PDF

Info

Publication number
CN110999227B
CN110999227B CN201780093696.9A CN201780093696A CN110999227B CN 110999227 B CN110999227 B CN 110999227B CN 201780093696 A CN201780093696 A CN 201780093696A CN 110999227 B CN110999227 B CN 110999227B
Authority
CN
China
Prior art keywords
mail
information
original
value
attachment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780093696.9A
Other languages
Chinese (zh)
Other versions
CN110999227A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN110999227A publication Critical patent/CN110999227A/en
Application granted granted Critical
Publication of CN110999227B publication Critical patent/CN110999227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Computer Hardware Design (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a mail transmission method and related equipment, wherein the method comprises the following steps: a sending client side obtains a first mail which is a mail obtained by revising an original mail; obtaining a second mail according to the first mail and the original mail, wherein the second mail comprises mail content information and an identifier of the original mail; and sending the second mail to a sending server so as to send the second mail to an receiving server through the sending server, wherein the identifier of the original mail is used for the receiving server to search the original mail, and the mail content information is used for the receiving server to update the original mail into the first mail. By adopting the embodiment of the invention, the online modification of the mail can be supported, the complex flow of mail modification in the prior art is avoided, and the utilization rate and the practicability of the mailbox are improved.

Description

Mail transmission method and related equipment
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a mail transmission method and a related device.
Background
Electronic mail (email) plays an important role in internet application, and is currently an indispensable communication tool in daily office work or communication of people. But because the confidentiality and confidentiality of the e-mail are high, the e-mail does not support operations such as revising or deleting the sent e-mail again.
In real life, however, the user often has errors in sending the mail and wants to withdraw, revise and send again. But currently, most mailboxes do not typically support mail recall functionality. Or under the condition of supporting the mail withdrawing function, the mail is withdrawn first and then modified, and finally the modified mail is sent, so that the whole operation process is complicated and inconvenient, and the utilization rate and the practicability of the mailbox are influenced.
Disclosure of Invention
The embodiment of the invention provides a mail transmission method, related equipment and a system, which can support online revision of mails, avoid the complicated flow of mail revision in the prior art and improve the utilization rate and practicability of mailboxes.
In a first aspect, an embodiment of the present invention provides a method for transmitting an email, including:
a sending client side obtains a first mail which is a mail obtained by revising an original mail;
obtaining a second mail according to the first mail and the original mail, wherein the second mail comprises mail content information and an identifier of the original mail;
and sending the second mail to a sending server so as to send the second mail to an receiving server through the sending server, wherein the identifier of the original mail is used for the receiving server to search the original mail, and the mail content information is used for the receiving server to update the original mail into the first mail.
In a second aspect, an embodiment of the present invention provides a method for transmitting an email, including:
the receiving server receives a second mail sent by the receiving server, wherein the second mail comprises mail content information and the identifier of the original mail;
searching the original mail according to the identifier of the original mail;
and updating the original mail into a first mail according to the mail content information.
By implementing the embodiment, the online revision of the mail can be supported, the complex flow of mail revision in the prior art is avoided, and the utilization rate and the practicability of the mailbox are improved.
With reference to the first aspect or the second aspect, in some possible embodiments, the second mail further includes a mode indication, and the mode indication is used to notify the recipient server of the mail content information.
Specifically, the mail content information includes first mail information or second mail information,
when the degree of difference between the first mail and the original mail does not exceed a first threshold value, the value of the mode indication is a first value, that is, the mode indication is a first mode 0. The mode indication is used for informing the receiving server that the mail content information is first mail information, and the first mail information is difference information between the first mail and the original mail. Correspondingly, under the condition that the value indicated by the mode is a first value, the receiving server combines the first mail information and the original mail to obtain a first mail.
When the degree of difference between the first mail and the original mail exceeds a first threshold value, the value of the mode indication is a second value, i.e., the mode indication is a second mode 1. The mode indication is used for informing the receiving server that the mail content information is second mail information, and the second mail information is content information of the first mail. Correspondingly, under the condition that the value of the mode indication is a second value, the receiving server replaces the mail content information of the original mail with the second mail information to obtain a first mail.
Specifically, the mail content information includes mail body information and mail attachment information,
in the case where the degree of difference between the body information of the first mail and the body information of the original mail does not exceed the second threshold value, and the degree of difference between the attachment information of the first mail and the attachment information of the original mail does not exceed the third threshold value, the value of the mode indication is the third value, that is, the mode indication is the third mode 00. The mode indication is used for informing the receiving server that the mail content information consists of first text information and first attachment information. Correspondingly, under the condition that the value of the mode indication is a third value, the receiving server combines the text information of the original mail and the first text information to obtain the mail text information of the first mail, and combines the attachment information of the original mail and the first attachment information to obtain the mail attachment information of the first mail, so that the first mail is obtained.
In the case where the degree of difference between the body information of the first mail and the body information of the original mail does not exceed the second threshold value, and the degree of difference between the attachment information of the first mail and the attachment information of the original mail exceeds the third threshold value, the value of the mode indication is a fourth value, that is, the mode indication is a fourth mode 01. The mode indication is used for informing the receiving server that the mail content information consists of first text information and second attachment information. Correspondingly, under the condition that the value of the mode indication is a fourth value, the receiving server merges the text information of the original mail and the first text information to obtain the mail text information of the first mail, and replaces the attachment information of the original mail with the second attachment information to obtain the first mail.
In a case where the degree of difference between the body information of the first mail and the body information of the original mail exceeds a second threshold value, and the degree of difference between the attachment information of the first mail and the attachment information of the original mail does not exceed a third threshold value, the value of the mode indication is a fifth value, that is, the mode indication is a fifth mode 10. The mode indication is used for informing the receiving server that the mail content information consists of second text information and first attachment information. Correspondingly, under the condition that the value of the mode indication is a fifth value, the receiving server replaces the text message of the original mail with the second text message, and combines the attachment message of the original mail and the first attachment message to obtain the mail attachment message of the first mail, so as to obtain the first mail.
In the case where the degree of difference between the body information of the first mail and the body information of the original mail exceeds a second threshold value, and the degree of difference between the attachment information of the first mail and the attachment information of the original mail exceeds a third threshold value, the value of the mode indication is a sixth value, that is, the mode indication is a sixth mode 11. The mode indication is used for informing the receiving server that the mail content information consists of second text information and second attachment information. Correspondingly, when the value of the mode indication is a sixth value, the receiving server replaces the text information of the original mail with the second text information, and replaces the attachment information of the original mail with the second attachment information, so that the first mail is obtained.
With reference to the first aspect or the second aspect, in some possible embodiments, the first body information is difference information between body information of the first email and body information of the original email, the second body information is body information of the first email, the first attachment information is difference information between attachment information of the first email and attachment information of the original email, and the second attachment information is attachment information of the first email.
By implementing the embodiment, the method and the device can support differentiated mail online modification, avoid the transmission of the whole revised mail in the prior art, improve the mail transmission rate, save the flow consumption and further improve the utilization rate and the practicability of the mailbox.
With reference to the first or second aspect, in some possible embodiments, the sending client sends a withdrawal email to a sending server to send the withdrawal email to a receiving server through the sending server, where the withdrawal email includes a withdrawal indication indicating that the original email in the receiving server is withdrawn. Correspondingly, the receiving server receives the withdrawn mails, and withdraws/deletes the original mails according to the withdrawing indication. And the receiving server sends a withdrawing response mail to the sending server, wherein the withdrawing response mail is used for informing the receiving server that the original mail is successfully withdrawn.
By implementing the steps, the online withdrawing function of the supporting mails can be added, and the using rate and the practicability of the mailbox can be improved.
With reference to the first aspect, in some possible embodiments, the acquiring the first mail includes: determining whether the receiving server is a receiving server of a specified type according to the mail content information of the original mail; and acquiring a first mail input by a user under the condition that the receiving server is a specified type of receiving server.
By implementing the steps, the sending client side allows the first mail to be obtained when detecting that the receiving server where the original mail is located is a receiving server MTA-S of a specified type, otherwise, the sending client side can prompt that the receiving server does not support the online mail revision function; therefore, user operation can be saved, useless operation of the user is avoided, and user experience is improved.
With reference to the second aspect, in some possible embodiments, before searching for the original email according to the identifier of the original email, the method further includes: receiving a deleted mail sent by a receiving client, wherein the deleted mail comprises a deletion instruction which is used for instructing the receiving server to delete the original mail; marking the original mail as a mail to be deleted, wherein the mail to be deleted is reserved in the receiving server within a preset time period from the receiving of the deleted mail;
the searching the original mail according to the identifier of the original mail comprises: and searching the original mail according to the identifier of the original mail under the condition that the second mail is received in the preset time period.
The preset time period is configured autonomously by the user side or the receiving server side, and is not limited. By implementing the steps, the storage time of the mail in the receiving server can be delayed according to the actual requirement of the user, and a foundation is provided for the subsequent online modification of the mail.
In combination with the first or second aspect, the revocation indication and/or the deletion indication may be configured as a mode indication, such as the revocation indication being in a seventh mode, the deletion indication being configured in an eighth mode. Further, the mode indication may be encapsulated in a header field of the second mail. Accordingly, the receiving server may obtain the mode indication by parsing the header field of the second mail, and further perform related operations, such as updating, deleting, withdrawing, and the like, on the original mail according to the mode indication.
In a third aspect, an embodiment of the present invention provides a sending client, including a functional unit configured to execute the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides an addressee server, which includes a functional unit configured to execute the method of the second aspect.
In a fifth aspect, an embodiment of the present invention provides a sending client, including a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with a dispatch server under control of the processor; wherein the processor, when executing the instructions, performs the method described in the first aspect above.
In a sixth aspect, an embodiment of the present invention provides an addressee server, including a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with terminal equipment under the control of the processor; wherein the processor, when executing the instructions, performs the method described in the second aspect above. The terminal device at least comprises a sending server and optionally also comprises a receiving client.
In a seventh aspect, a computer-readable storage medium storing program code for mail transmission is provided. The program code comprises instructions for performing the method described in the first aspect above.
In an eighth aspect, a computer-readable storage medium storing program code for mail transmission is provided. The program code comprises instructions for performing the method described in the second aspect above.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the first aspect above.
In a tenth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the second aspect above.
By implementing the embodiment of the invention, the online revision of the mail can be supported, the complicated flow of mail revision in the prior art is avoided, and the utilization rate and the practicability of the mailbox are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic diagram of a communication system provided in the prior art;
fig. 2 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a mail transmission method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a mail revision provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of mail content information generation according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a first mail acquisition provided by an embodiment of the present invention;
fig. 7 is a schematic flowchart of another mail transmission method according to an embodiment of the present invention;
fig. 8A is a schematic structural diagram of a sending client according to an embodiment of the present invention;
FIG. 8B is a schematic structural diagram of another sending client according to an embodiment of the present invention;
fig. 9A is a schematic structural diagram of an addressee server according to an embodiment of the present invention;
fig. 9B is a schematic structural diagram of another receiving server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings of the present invention.
Fig. 1 is a schematic block diagram of a communication system provided in the prior art. As shown in FIG. 1, the communication system 100 includes a delivery client 102, a delivery server 104, an recipient server 106, and an recipient client 108. Wherein:
both the sending client and the receiving client may be Mail User Agents (MUAs). The mail client is used for receiving mails and helping users read the mails. MUAs may communicate with a mail server using a mail transfer protocol. The mail transmission protocol includes, but is not limited to, an Interactive Mail Access Protocol (IMAP), a third version of post office protocol (POP 3), a Simple Mail Transmission Protocol (SMTP), and the like, and the embodiment of the present invention is not limited thereto.
Both the sending server and the receiving server may be Mail Transfer Agents (MTAs). It is a mail server, which is used to implement the forwarding or sending of mail by using mail transmission protocol. For the mail transmission protocol, reference may be made to the related description in the foregoing embodiments, which are not described herein again.
In an alternative embodiment, there may be one or more intermediate servers 110 between the sending server 104 and the receiving server 106, where the intermediate servers may be MTAs, and are used to implement forwarding of mails, so that the mails sent by the sending server 104 are finally forwarded to the receiving server 106, for example, the illustrated mail a includes text information text and attachment information file.
In an alternative embodiment, the communication system further comprises a mail delivery server 112. As shown in fig. 1, the Mail delivery server may be a Mail Delivery Agent (MDA) for delivering Mail received by the MTA to a mailbox of a user, and it is understood that the Mail delivery server 112 may Deliver Mail received by the in-receiving server 106 to the in-receiving client 108.
Based on the communication system shown in fig. 1, the inventor of the present application finds that email is an important communication tool for people to communicate in offices or on the internet, and thousands of users use email to communicate every day. However, in practical application, errors of sending the mails often occur, and the mails are required to be withdrawn, modified again and sent again. However, based on the communication system shown in fig. 1, the MTA and MUA provided in the prior art do not support the above-mentioned operation function.
To solve the above problem, the embodiment of the present invention performs functional improvements on the sending client 102, the sending server 104, the receiving server 106 and the receiving client 108 shown in fig. 1, so as to obtain an improved communication system as shown in fig. 2.
As shown in fig. 2, the sending client and the receiving client may be MUA-S (MUA specific), which may provide, in addition to all the functions of the MUA, mail revision, mail withdrawal, or other functional interfaces for operating on sent mails, etc. The function interface of mail revision can be used for supporting the user to revise/edit the sent mail and allowing the revised mail to be sent again. The function interface of mail withdrawing can be used for supporting user to withdraw and delete the sent mail.
The sending server and the receiving server may be MTA-S (MTA specific), the MTA-S may further include, in addition to all functions of the MTA, functions of mail identification, mail merging, mail replacement/coverage, and the like, or other functions for providing other operations on sent mails, and the embodiment of the present invention is not limited.
The mail identification function means that the MTA-S can identify information in the mail, including but not limited to indication information, notification information, and the like. The mail merging function means that the MTA-S can merge two or more mails to obtain a new merged mail. The mail replacing (also called mail covering) function refers to that MTA-S supports mutual replacement between mails, for example, mail A is replaced by mail B, and it can also be understood that MTA-S completely covers mail A by mail B, so as to obtain covered/replaced mail B.
Taking the mail identification function as an example, the MTA-S may perform content parsing on the received mail to obtain relevant information. Specifically, for example, the mail header field is encapsulated with withdrawal indication information, which is used to indicate that the mail a is withdrawn. After the MTA-S receives the mail, the header field of the mail is analyzed to know that the mail is used for indicating the withdrawing mail A. Accordingly, the MTA-S can search for mail a in its own server and recall (delete) mail a. Optionally, the MTA-S may also return a recall response mail to notify that mail a was successfully recalled.
Based on the communication system shown in fig. 2 after improvement, please refer to fig. 3, which is a flowchart illustrating a mail transmission method according to an embodiment of the present invention. The method as shown in fig. 3 comprises the following implementation steps:
and step S302, the sending client determines whether the receiving server is a specified type of receiving server according to the mail content information of the original mail. And the specified type of the receiving server is the receiving server MTA-S with the newly added function.
In the present application, the added functions include, but are not limited to, the mail identification function, the mail merging function, the mail replacement/overlay function, and the like in the foregoing embodiments. The original mail refers to a mail sent by the sending client before, and the mail content information of the original mail includes, but is not limited to, a mail address, an address domain name, attachment information, text information, and the like.
Different domain names are adopted by different manufacturers to distinguish the mail servers proposed by the manufacturers. For example, the tengting mailbox is distinguished by using a domain name @ qq.com, the google mailbox is distinguished by using a domain name @ gmail.com, and the like. Therefore, in a specific embodiment, the sending client may determine, according to the domain name of the recipient address in the original email, whether the recipient server (MTA) corresponding to the recipient address is the recipient server with the improved function, MTA-S.
Step S304, the sending client side obtains a first mail, wherein the first mail is a mail obtained by revising the original mail.
And under the condition that the sending client determines that the receiving server MTA is the receiving server MTA-S with the newly added function, the user can revise the original mail through a mail revising function interface provided by the sending client and obtain the revised first mail.
And under the condition that the sending client determines that the receiving server MTA is not the receiving server MTA-S with the added function, the sending client can prompt that the receiving server corresponding to the original mail does not support mail revision and please re-edit a new mail to send.
Step S306, the sending client side obtains a second mail according to the first mail and the original mail, wherein the second mail comprises mail content information and the identifier of the original mail.
The sending client can utilize the first mail and the original mail to carry out mail content comparison, so as to generate a second mail. The second mail may include information such as mail content information, an identifier (origin ID) of the original mail, and an identifier (new ID) of the second mail. The identifier of the second e-mail and the identifier of the original e-mail may be the same or different. For the mail content information, details in step S302 can be found, and details are not repeated here.
And step S308, the sending client sends the second mail to a sending server. Correspondingly, the receiving server receives the second mail and forwards the second mail to the receiving server. And the receiving server receives the second mail. The identification of the original mail in the second mail can be used for the receiving server to search the original mail from the self server.
And S310, the receiving server searches the original mail according to the identification of the original mail.
Step S312, the receiving server updates the original mail to the first mail according to the mail content information.
And under the condition that the receiving server finds the original mail, the original mail can be updated to the revised first mail by utilizing the mail content information. In the case that the original e-mail is not found, the receiving server may directly discard the second e-mail, or the receiving server may determine whether to discard the second e-mail according to the e-mail content information, which is described in detail below.
And step S314, the receiving server sends the first mail to a receiving client. Accordingly, the receiving client receives the first mail.
Specifically, if the receiving client has received the original email, the receiving client may directly replace/overlay the original email with the received first email, thereby saving the storage space of the receiving client. And if the original mail is not received by the receiving client before, the receiving client receives and stores the first mail for the user to consult.
Two specific embodiments related to step S306 and step S312 are set forth below.
The first embodiment is as follows:
in step S306, the sending client may compare the first email with the original email to obtain a difference or matching between the first email and the original email. Taking the difference degree as an example, in the case that the difference degree between the first email and the original email does not exceed a first threshold, the email content of the second email is first email information, where the first email information is difference information between the first email and the original email. Optionally, the sending client may also determine and record the transmission mode of the second mail as the first mode, mode 0.
Correspondingly, when the difference degree between the first mail and the original mail exceeds a first threshold value, the mail content of the second mail is second mail information, wherein the second mail information can be the content information of the first mail, that is, the receiving client takes the first mail as the second mail to send to the receiving server. Optionally, the sending client may determine and record the transmission mode of the second email as the second mode, mode 1.
The first threshold may be set autonomously on the user side or the sender client side, and the embodiment of the present invention is not limited thereto. The first mode and the second mode are used to indicate a transmission mode of the mail, and are referred to as mode indication in this application. The mode indication may be embodied in the form of a preset character string, a preset numerical value, or the like, for example, "0" represents the first mode0, "1" represents the second mode1, and the like, and the embodiment of the present invention is not limited. In practice, the mode indication may be encapsulated in a header field of the second mail for transmission to the recipient server.
In an alternative embodiment, the second mail may further include a mode indication, the mode indication being associated with the mail content information. Specifically, when the mode indication is a first mode, and if the value of the mode indication is a first value, the mode indication is used to notify the recipient server that the mail content information is the first mail information. Correspondingly, when the mode indication is a second mode, if the value of the mode indication is a second value, the mode indication is used for notifying the receiving server that the mail content information is the second mail information.
For example, when the value of the mode indication is a first value "0", the mode indication corresponds to a mode of a first mode0, and the mode0 is used to notify the receiving server that the mail content information of the second mail is the first mail information, that is, the second mail includes the difference information between the first mail and the original mail. Accordingly, if the receiving server wants to obtain the first mail, the first mail information (i.e. the mail content information of the second mail) and the original mail can be merged to obtain the first mail.
When the value of the mode indication is a second value "1", the mode corresponding to the mode indication is a second mode1, and the mode1 is used for notifying the recipient server that the mail content information of the second mail is the second mail information, that is, the second mail includes the mail content information of the first mail. Accordingly, if the receiving server wants to obtain the first mail, the original mail can be directly replaced by the second mail (i.e. the mail content information of the first mail).
Accordingly, in step S312, in the case that the receiving server finds the original mail, the receiving server may learn the mode indication by parsing the second mail, for example, parsing a header field of the second mail.
When the mode indication is a first mode0, that is, the value of the mode indication is a first value, the mail content information is first mail information, and the first mail information is difference information between the first mail and the original mail. Accordingly, the receiving server can combine the first mail information and the original mail to obtain the first mail.
When the mode indication is the second mode1, that is, the value of the mode indication is the second value, the mail content information is the second mail information, and the second mail information is the content information of the first mail. Accordingly, the receiving server can directly replace/cover the mail content information of the original mail by using the second mail information, thereby obtaining the first mail.
The first value and the second value are set by a user side or a server side, and the first value and the second value are different.
The second embodiment is as follows:
in step S306, the mail content information may include mail body information and mail attachment information. The receiving client can respectively compare the text information and the attachment information of the first mail and the original mail to correspondingly obtain the mail text information and the mail attachment information. Specifically, when the difference between the text information of the first e-mail and the text information of the original e-mail is smaller than a second threshold, the text information of the e-mail is the first text information, wherein the first text information is the difference between the text information of the first e-mail and the text information of the original e-mail. And when the difference degree between the text information of the first mail and the text information of the original mail is greater than or equal to a second threshold value, the text information of the mail is second text information, wherein the second text information is the text information of the first mail.
Correspondingly, when the difference degree between the attachment information of the first mail and the attachment information of the original mail is smaller than a third threshold value, the mail attachment information is first attachment information, and the first attachment information is difference information between the attachment information of the first mail and the original mail; otherwise, the mail attachment information is second attachment information, and the second attachment information is attachment information of the first mail.
The second threshold and the third threshold may be set autonomously by a user side or the sender client side, and the second threshold and the third threshold may be the same or different, and the embodiment of the present invention is not limited.
In an alternative embodiment, the sending client may determine the mode indication of the second mail according to the mail body information and the mail attachment information. Accordingly, the second mail may further include a mode indication, the mode indication being associated with the mail content information. The mode indication is used for indicating the transmission mode of the second mail and is also used for informing the mail content information of the second mail. The transmission mode may include four modes, which are a third mode to a sixth mode, respectively.
Specifically, when the sending client determines that the mail content information to the second mail is composed of the first body information and the first attachment information, the sending client may determine and record that the mode indication is a third mode, mode 00. Accordingly, when the mode is indicated as the third mode00, if the value of the mode indication is a third value, the third mode00 is used to notify the recipient server that the mail content information is mail content information composed of first body information and first attachment information.
Specifically, when the sending client determines that the mail content information to the second mail is composed of the first body information and the second attachment information, the sending client may determine and record that the mode indication is a fourth mode, mode 01. Accordingly, when the mode is indicated as the fourth mode01, if the value of the mode indication is a fourth value, the fourth mode01 is used to notify the recipient server that the mail content information is mail content information composed of first body information and first attachment information.
Specifically, when the sending client determines that the mail content information to the second mail is composed of the second body information and the first attachment information, the sending client may determine and record that the mode indication is the fifth mode, mode 10. Accordingly, when the mode is indicated as a fifth mode10, if the value of the mode indication is a fifth value, the fifth mode10 is used to notify the recipient server that the mail content information is mail content information composed of first body information and second attachment information.
Specifically, when the sending client determines that the mail content information to the second mail is composed of the second body information and the second attachment information, the sending client may determine and record that the mode indication is the sixth mode, mode 11. Accordingly, when the mode is indicated as a sixth mode11, if the value of the mode indication is a sixth value, the sixth mode11 is configured to notify the recipient server that the mail content information is mail content information composed of second body information and second attachment information.
The second value to the sixth value may be set autonomously on the user side or the sender client side, and the second value to the sixth value are all different from each other.
The mode indication can be represented by a preset character string, a preset numerical value and the like, and the preset character string/numerical value adopted by the four modes correspondingly are different. The first text information is represented by, for example, the character "0", and "1" represents the second text information; the character "0" represents the first accessory information, "1" represents the second accessory information, "00" represents the first mode00, "01" represents the second mode01, "10" represents the third mode10, "11" represents the fourth mode11, and so on, accordingly, the embodiment of the present invention is not limited. In practice, the mode indication may be encapsulated in a header field of the second mail for transmission to the recipient server.
Accordingly, in step S312, the receiving server may learn the mode indication by parsing the second mail, for example, parsing a header field of the second mail. The receiving server can update the original mail to the first mail according to the mode indication.
Specifically, when the mode indication is the third mode00, that is, the value of the mode indication is the third value, the receiving server may know that the mail content information includes the first body information and the first attachment information. The first text information is difference information between the text information of the first mail and the text information of the original mail, and the first attached information is difference information between the attached information of the first mail and the attached information of the original mail. Correspondingly, the receiving server can respectively combine the first text information and the first attachment information in the second mail with the text information and the attachment information in the original mail to obtain the first mail, and particularly combine the text information and the attachment information of the first mail.
When the mode indication is the fourth mode01, that is, the value of the mode indication is a fourth value, the receiving server may know that the mail content information includes the first body information and the second attachment information. The first text information is difference information between the text information of the first mail and the text information of the original mail, and the second attachment information is attachment information of the first mail. Correspondingly, the receiving server can combine the first text message with the text message in the original mail to obtain the text message in the first mail. Similarly, the receiving server can directly replace/overwrite the attachment information in the first mail with the first attachment information, thereby obtaining the attachment information in the first mail, and at the moment, the first mail is also obtained.
When the mode indication is the fifth mode10, that is, the value of the mode indication is a fifth value, the receiving server may know that the mail content information includes the second body information and the first attachment information. The second text information is text information of the first mail, and the first attachment information is difference information between the attachment information of the first mail and the attachment information of the original mail. Correspondingly, the receiving server can directly replace/cover the text information in the original mail by using the second text information in the second mail, so that the text information in the first mail is obtained. Similarly, the receiving server can merge the first attachment information and the attachment information in the original mail to obtain the attachment information in the first mail, and accordingly, the first mail is obtained at this time.
When the mode indication is a sixth mode11, that is, the value of the mode indication is a sixth value, the receiving server may know that the mail content information includes second body information and second attachment information, where the second body information is the body information of the first mail, and the second attachment information is the attachment information of the first mail. Correspondingly, the receiving server can directly replace/cover the text information in the original mail by using the second text information in the second mail, so that the text information in the first mail is obtained. Similarly, the receiving server can directly replace/overwrite the attachment information in the original mail with the second attachment information, so as to obtain the attachment information in the first mail, and accordingly, the first mail is also obtained at this time.
For example, suppose that user a sends original mail a (email a) to the receiving client of user B through the mail server at the sending client MUA-S side. Wherein Email A comprises text-A and attachment file-A. Now user A finds Eamil A has a problem and needs to be revised and sent. At the moment, the sending client MUA-S of the user A identifies whether the receiving server MTA corresponding to the user B is the MTA-S with the newly added function or not through Email A. If yes, the Email A can be revised through the Email revision function interface by using the Email revision function provided by the sending client, and a revised first Email A + is obtained. If not, the user A can prompt the receiver server where the user B is located not to support the mail revision and please re-edit a new mail to be sent when using the mail revision function provided by the sending client. As fig. 4, a specific revision of Email a is shown, the specific revision being: text-a → text-a +, file-a → file-a +, thus Email-A → Email-A +.
As shown in fig. 5, the sending client MUA-S may utilize a text comparison tool, such as a diff tool, to perform a difference comparison between the original mail Email-a and the first mail Email-a +, so as to generate a second mail Email-a-m, where Email-a-m may include mail content information (specifically, text-a-diff and file-a-diff) and an identifier of the original mail (specifically, Email-a ID). Specifically, the sending client can correspondingly generate text-a-diff and file-a-diff according to the difference between text-a + and text-a and the difference between file-a + and file-a respectively by using a text comparison tool (such as a diff tool). And when the difference degree between the text-a + and the text-a is smaller than a second threshold value, generating a text-a-diff through a diff tool, wherein the text-a-diff is the difference information between the text-a + and the text-a. Similarly, when the difference between the file-a + and the file-a is smaller than the third threshold, the file-a-diff is generated by the diff tool, and the file-a-diff is the difference information between the file-a + and the file-a.
Accordingly, when the degree of difference between text-a + and text-a is greater than or equal to the second threshold, text-a-diff is generated by the diff tool, where text-a-diff may be text-a +. Likewise, when the degree of difference between file-a + and file-a is greater than or equal to the third threshold, file-a-diff is generated by the diff tool, where file-a-diff may be file-a +.
In an alternative embodiment, the sending client may further determine the mode indication, here denoted as diff mode, of the second mail Email-a-m according to the difference between text-a + and text-a, and the difference between file-a + and file-a, respectively.
In a specific embodiment, the sending client may determine the diff mode as the first mode, mode0, when the sum of the degree of difference between text-a + and text-a and the degree of difference between file-a + and file-a is less than a first threshold (i.e. the degree of difference between the original mail Email-a and the first mail Email-a + is less than a first threshold, e.g. 60%). Accordingly, the sending client may determine the diff mode as the second mode, mode1, when the sum of the degree of difference between text-a + and text-a and the degree of difference between file-a + and file-a is greater than or equal to the first threshold (i.e., the degree of difference between the original mail Email-a and the first mail Email-a + is greater than or equal to the first threshold, 60%).
In yet another embodiment, the sending client may determine the diff mode as a third mode, mode00, when the degree of difference between text-a + and text-a is less than a second threshold and the degree of difference between file-a + and file-a is less than a third threshold. When the degree of difference between text-a + and text-a is less than the second threshold and the degree of difference between file-a + and file-a is greater than or equal to the third threshold, the sending client may determine that the diff mode is the fourth mode, mode 01. When the degree of difference between text-a + and text-a is greater than or equal to the second threshold and the degree of difference between file-a + and file-a is less than the third threshold, the sending client may determine that the diff mode is the fifth mode, mode 10. When the degree of difference between text-a + and text-a is greater than or equal to the second threshold and the degree of difference between file-a + and file-a is greater than or equal to the third threshold, the sending client may determine that the diff mode is the sixth mode, mode 11.
Further, the sending client may encapsulate the mode indication in a header field of the second mail, send the second mail to the sending server, and forward the second mail to the receiving server MTA-S through the sending server. The second Email-a + includes Email content information (specifically text-a-diff and file-a-diff), the pattern indication, and an identifier of the original Email (specifically Email-a ID).
Correspondingly, the receiving server receives the second mail and analyzes the second mail to obtain the mode indication and the information such as the identification Email-A ID of the original mail. The receiving server finds Email-A stored in the receiving server according to the Email-A ID, wherein the Email-A comprises text-a and file-a. Further, as shown in fig. 6, the receiving server updates the original mail Email-a to the first mail Email-a + according to the mode indication and the mail content information.
Illustratively, if the mode indication is mode0, the receiving server combines the mail content information of the second mail and the first mail according to the mode indication, so as to obtain the first mail Email-a +. Specifically, text-a-diff and text-a are combined into text-a +, file-a-diff and file-a are combined into file-a +, thereby obtaining a first mail Email-A +, Email-A + including text-a + and file-a +.
When the mode indication is mode10, the receiving server may replace the text information text-a in the original mail with the second text information text-a-diff (i.e., text-a +) in the second mail according to the mode indication, and merge the attachment information file-a of the original mail and the first attachment information file-a-diff in the second mail into the attachment information file-a + of the first mail, thereby obtaining the first mail Email-a +. The second text information text-a-diff is the text information text-a + of the first mail, and the first attachment information file-a-diff is the difference information between the attachment information file-a of the original mail and the attachment information file-a + of the first mail.
Some alternative embodiments to which embodiments of the invention relate are described below.
In an alternative embodiment, in the case that the receiving server does not find the original email in step S310, the receiving server may determine whether to discard the second email according to the mode indication. Specifically, when the mode is indicated as the first mode1 or the sixth mode11, that is, the mail content information is the content information of the first mail, specifically, the body information and the attachment information of the first mail, the receiving server may directly store the second mail. Otherwise, the receiving server discards the second mail. Because the mail content information of the second mail is not the content information of the complete mail under the condition of other mode indication, only the difference information between the first mail and the original mail is included, specifically, the difference information between the body information of the first mail and the original mail and/or the difference information between the attachment information of the first mail and the original mail is included, the receiving server can discard the second mail.
In an alternative embodiment, the receiving server may also send an update response mail to the sending server. Accordingly, the sending server may forward the update response mail to the sending client. And the updating response mail is used for informing the receiving client whether the original mail is successfully updated to the first mail.
Specifically, in step S312, when the receiving server updates the original mail to the first mail, the update response mail is used to notify that the original mail is successfully updated to the first mail. And under the condition that the second mail is discarded (namely, the second mail is not updated successfully) by the receiving server, the updating response mail is used for notifying that the updating of the original mail fails, and the edited mail is required to be sent again.
In an alternative embodiment, the user may delete the original mail at the recipient client side before step S310. Correspondingly, the receiving client side can also send a deleting mail to the receiving server, and the deleting mail comprises a deleting indication and the identification of the original mail. The deletion indication is used for indicating the receiving server to delete the original mail. Correspondingly, the receiving server can receive the deleted mail and analyze the deleted mail to obtain the identifier of the original mail and the deletion instruction. The receiving server can search the original mail according to the identification of the original mail, and further can mark the original mail as a mail to be deleted according to the deletion indication. And when the time is started from the time when the deleted mail is received, the mail to be deleted (namely the original mail) is reserved in a preset time period and is not immediately deleted. Optionally, after the preset time period, the mail to be deleted retained in the receiving server may be deleted.
Correspondingly, in step S310, if the receiving server receives the second e-mail sent by the sending server within the preset time period, the receiving server may successfully search the original e-mail according to the identifier of the original e-mail in the second e-mail. If the second e-mail sent by the sending server is received after the preset time period, because the original e-mail is deleted in the receiving server at this time, the original e-mail cannot be found according to the identifier of the original e-mail in the second e-mail at this time.
In an alternative embodiment, correspondingly in step S308, when the sending client sends the second email to the sending server to forward the second email to the receiving server through the sending server, the sending client may automatically prompt that the time since the last sending of the original email has exceeded a preset time period (e.g., 1 day), and a failure in sending the email may occur.
The preset time period and the preset time duration may be set autonomously by a user side or a server side, and the preset time period and the preset time duration may be the same or different.
In practical applications, the deletion instruction may also be configured as a mode instruction, for example, configured as a seventh mode, and may be embodied in the form of a preset character string, a preset numerical value, or the like. The deletion indication may be encapsulated in a header field of the mail. Correspondingly, when the receiving server receives a mail, the mail can be known to be a deleted mail by analyzing the header field of the mail. For example, when the mode is indicated as a seventh mode3, the mail may be identified as a deleted mail by a seventh value of "3".
In another embodiment, based on all or part of the implementation steps in the embodiment shown in fig. 3, in the case that the sending client determines that the receiving server is MTA-S in step S302, the following implementation steps may be further included. Referring to fig. 7, a flowchart of another mail transmission method according to an embodiment of the present invention is shown.
Step S402, the sending client sends a withdrawing mail to the sending server. Accordingly, the sending server receives the withdrawing mail and forwards the withdrawing mail to the receiving server. The receiving service receives the withdrawn mail. Wherein the recall mail includes a recall indication and an identification of the original mail. The recall indication is used for instructing the receiving server to recall the original mail.
Step S404, the receiving server searches the original mail according to the identification of the original mail and withdraws the original mail according to the withdrawing indication.
Step S406, the receiving server sends a revocation response mail to the sending server. Accordingly, the sending server forwards the withdrawal response mail to the sending client, wherein the withdrawal response mail is used for informing that the original mail is successfully withdrawn.
In step S402, the sending client may perform a withdrawal operation on a mail (such as an original mail) that is desired to be withdrawn by using a functional interface for mail withdrawal provided by the sending client, and generate a corresponding withdrawn mail. The recall mail includes a recall indication and an identification of the original mail. The identifier of the original mail is an identifier of a mail to be withdrawn, and can be used for the receiving server to search the original mail, and the withdrawal indication is used for indicating the receiving server to withdraw the original mail.
In practical applications, the revocation indication may also be configured as a mode indication, for example, as an eighth mode, which may be embodied in the form of a preset character string, a preset numerical value, or the like. Likewise, the revocation indications may be encapsulated in header fields of the mail. Accordingly, when the receiving server receives a mail, the mail can be known to be a withdrawn mail by analyzing the header field of the mail. For example, if the mode is indicated as eighth mode4, an eighth value of "4" may be used to indicate that the mail is a withdrawn mail or the like.
In an optional embodiment, in step S404, when the receiving server withdraws the original mail in the receiving server according to the withdrawal indication, the receiving server may synchronously update the receiving client to delete the original mail in the receiving client.
By implementing the embodiment, online revision transmission of the mails can be supported, and the transmission rate of the mails can be improved and traffic consumption can be saved by utilizing differential mail transmission of MUA-S and MTA-S.
The above description mainly introduces the solution provided by the embodiment of the present invention from the perspective of interaction between the client and the server. It is understood that the terminal device includes hardware structures and/or software modules for performing the respective functions in order to implement the functions. The elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein may be embodied in hardware or in a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present teachings.
The embodiment of the present invention may perform functional unit division on the sending client according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of integrated units, fig. 8A shows a possible structural representation of the sending client involved in the above-described embodiment. The sender client 800 includes: a processing unit 802 and a communication unit 803. The processing unit 802 is configured to control and manage actions of the sending client 800, for example, the processing unit 802 is configured to support the sending client 800 to perform S302, S304, and S306 in fig. 3, and/or to perform other steps of the techniques described herein. Communication unit 803 is used to support communication of the sending client 800 with a sending server, e.g., communication unit 803 is used to support the sending client 800 in performing step S308 in fig. 3, step S418 in fig. 7, and/or in performing other steps of the techniques described herein. The sending client 800 may further comprise a storage unit 801 for storing program codes and data of the sending client 800.
The Processing Unit 802 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 803 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is generic and may include one or more interfaces, such as an interface between a sending client and a sending server. The storage unit 801 may be a memory.
When the processing unit 802 is a processor, the communication unit 803 is a communication interface, and the storage unit 801 is a memory, the sending client according to the embodiment of the present invention may be the sending client shown in fig. 8B.
Referring to fig. 8B, the sender client 810 comprises: processor 812, communications interface 813, memory 811. Optionally, the sender client 810 may also include a bus 814. Wherein the communication interface 813, the processor 812 and the memory 811 may be connected to each other by a bus 814; the bus 814 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 814 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8B, but this is not intended to represent only one bus or type of bus.
In the case of an integrated unit, fig. 9A shows a possible structural diagram of the receiver server involved in the above-described embodiment. The recipient server 900 includes: a processing unit 902 and a communication unit 903. The processing unit 902 is used to control and manage actions of the recipient server 900, for example, the processing unit 902 is used to support the recipient server 900 to perform steps S310 and S312 in fig. 3, step S418 in fig. 7, and/or to perform other steps of the techniques described herein. The communication unit 903 is used to support communication between the recipient server 900 and other terminal devices (e.g., the recipient client and the distribution server), for example, the communication unit 903 is used to support the recipient server 900 to perform step S314 in fig. 3, step S420 in fig. 7, and/or other steps for performing the techniques described herein. The recipient server 900 may further include a storage unit 901 for storing program codes and data of the recipient server 900.
The Processing Unit 902 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 903 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces, such as an interface between an recipient server and a recipient client, and an interface between the recipient server and a sending server. The storage unit 901 may be a memory.
When the processing unit 902 is a processor, the communication unit 903 is a communication interface, and the storage unit 901 is a memory, the terminal device according to the embodiment of the present invention may be an addressee server shown in fig. 9B.
Referring to fig. 9B, the receiving server 910 includes: a processor 912, a communication interface 913, and a memory 911. Optionally, the end device 910 may also include a bus 914. Wherein, the communication interface 913, the processor 912, and the memory 911 may be connected to each other through a bus 914; the bus 914 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 914 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 9B, but this is not intended to represent only one bus or type of bus.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or in software executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a network device. Of course, the processor and the storage medium may reside as discrete components in a network device.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Claims (28)

1. A method for mail transmission, comprising:
the sending client determines whether the receiving server is a receiving server of a specified type according to the mail content information of the original mail; the specified type of the receiving server is a special mail transmission agent MTA-S, and the MTA-S has a mail forwarding or sending function, a mail identification function, a mail merging function and a mail replacement or covering function;
acquiring a first mail under the condition that the receiving server is a receiving server of a specified type, wherein the first mail is a mail obtained by revising the original mail;
obtaining a second mail according to the first mail and the original mail, wherein the second mail comprises mail content information and an identifier of the original mail;
and sending the second mail to a sending server so as to send the second mail to the receiving server through the sending server, wherein the identifier of the original mail is used for the receiving server to search the original mail, and the mail content information is used for the receiving server to update the original mail into the first mail.
2. The method of claim 1, wherein obtaining a second mailpiece from the first mailpiece and the original mailpiece comprises:
when the difference degree between the first mail and the original mail does not exceed a first threshold value, the mail content information is first mail information, and the first mail information is difference information between the first mail and the original mail;
when the difference degree between the first mail and the original mail exceeds a first threshold value, the mail content information is second mail information, and the second mail information is the content information of the first mail.
3. The method of claim 2, wherein the second email further comprises a mode indication;
when the value of the mode indication is a first value, the mode indication is used for notifying the receiving server that the mail content information is the first mail information;
and under the condition that the value of the mode indication is a second value, the mode indication is used for informing the receiving server that the mail content information is the second mail information.
4. The method of claim 1, wherein the mail content information includes mail body information and mail attachment information, and wherein obtaining the second mail from the first mail and the original mail comprises:
under the condition that the difference degree between the text information of the first mail and the text information of the original mail does not exceed a second threshold value, the text information of the mail is first text information; otherwise, the mail text information is second text information, wherein the first text information is the difference information between the text information of the first mail and the text information of the original mail, and the second text information is the text information of the first mail;
under the condition that the difference degree between the attachment information of the first mail and the attachment information of the original mail does not exceed a third threshold value, the mail attachment information is first attachment information; otherwise, the mail attachment information is second attachment information, wherein the first attachment information is difference information between the attachment information of the first mail and the attachment information of the original mail, and the second attachment information is the attachment information of the first mail.
5. The method of claim 4, wherein the second email further includes a mode indication,
when the value of the mode indication is a third value, the mode indication is used for notifying the receiving server that the mail content information comprises the first text information and the first attachment information;
when the value of the mode indication is a fourth value, the mode indication is used for informing the receiving server that the mail content information comprises the first text information and the second attachment information;
when the value of the mode indication is a fifth value, the mode indication is used for informing the receiving server that the mail content information comprises the second text information and the first attachment information;
and if the value of the mode indication is a sixth value, the mode indication is used for informing the receiving server that the mail content information comprises the second text information and the second attachment information.
6. The method according to any one of claims 1-5, further comprising:
sending a withdrawal mail to a sending server to send the withdrawal mail to a receiving server through the sending server, wherein the withdrawal mail comprises a withdrawal indication which is used for indicating that the original mail in the receiving server is withdrawn.
7. A method for mail transmission, comprising:
the receiving server receives a second mail sent by the receiving server, wherein the second mail comprises mail content information and an identifier of an original mail; the receiving server is a special mail transmission agent MTA-S, and the MTA-S has a mail forwarding or sending function, a mail identification function, a mail merging function and a mail replacement or covering function;
searching the original mail according to the identifier of the original mail;
and updating the original mail into a first mail according to the mail content information.
8. The method of claim 7, wherein the second email further comprises a mode indication;
under the condition that the value of the mode indication is a first value, the mail content information is first mail information, and the first mail information is difference information between the first mail and the original mail;
and under the condition that the value of the mode indication is a second value, the mail content information is second mail information, and the second mail information is the content information of the first mail.
9. The method of claim 8, wherein the updating the original mail to the first mail according to the mail content information comprises:
under the condition that the value indicated by the mode is a first value, combining the first mail information and the original mail to obtain a first mail;
and under the condition that the value of the mode indication is a second value, replacing the mail content information of the original mail with the second mail information to obtain a first mail.
10. The method of claim 7, wherein the second email further comprises a mode indication;
under the condition that the value of the mode indication is a third value, the mail content information comprises first body information and first attachment information;
under the condition that the value of the mode indication is a fourth value, the mail content information comprises first text information and second attachment information;
under the condition that the value of the mode indication is a fifth value, the mail content information comprises second text information and first attachment information;
under the condition that the value of the mode indication is a sixth value, the mail content information comprises second text information and second attachment information;
the first text information is difference information between text information of the first mail and text information of the original mail, the second text information is text information of the first mail, the first attachment information is difference information between attachment information of the first mail and attachment information of the original mail, and the second attachment information is attachment information of the first mail.
11. The method of claim 10, wherein the updating the original mail to the first mail according to the mail content information comprises:
under the condition that the value of the mode indication is a third value, combining the text information and the first text information of the original mail, and combining the attachment information and the first attachment information of the original mail respectively to obtain the first mail;
under the condition that the value of the mode indication is a fourth value, combining the text information of the original mail and the first text information, and replacing the attachment information of the original mail with the second attachment information, thereby obtaining the first mail;
under the condition that the value of the mode indication is a fifth value, replacing the text information of the original mail with the second text information, and combining the attachment information of the original mail with the first attachment information to obtain the first mail;
and under the condition that the value of the mode indication is a sixth value, replacing the text information of the original mail with the second text information, and replacing the attachment information of the original mail with the second attachment information, thereby obtaining the first mail.
12. The method according to any one of claims 7 to 11,
receiving a withdrawing mail sent by the sending server, wherein the withdrawing mail comprises a withdrawing indication which is used for indicating that the original mail in the receiving server is withdrawn;
and sending a withdrawal response mail to the sending server, wherein the withdrawal response mail is used for informing the receiving server that the original mail is successfully withdrawn.
13. The method according to any of claims 7-12, wherein said searching said original email based on said original email identification further comprises:
receiving a deleted mail sent by a receiving client, wherein the deleted mail comprises a deletion instruction which is used for instructing the receiving server to delete the original mail;
marking the original mail as a mail to be deleted, wherein the mail to be deleted is reserved in the receiving server within a preset time period from the receiving of the deleted mail;
the searching the original mail according to the identifier of the original mail comprises:
and searching the original mail according to the identifier of the original mail under the condition that the second mail is received in the preset time period.
14. A dispatch client, characterized in that the dispatch client comprises a communication unit and a processing unit, wherein:
the processing unit is used for determining whether the receiving server is a receiving server of a specified type according to the mail content information of the original mail; acquiring a first mail under the condition that the receiving server is a receiving server of a specified type, wherein the first mail is a mail obtained by revising the original mail; the specified type of the receiving server is a special mail transmission agent MTA-S, and the MTA-S has a mail forwarding or sending function, a mail identification function, a mail merging function and a mail replacement or covering function;
the processing unit is further configured to obtain a second email according to the first email and the original email, where the second email includes email content information and an identifier of the original email;
the communication unit is configured to send the second email to a sending server, so as to send the second email to a receiving server through the sending server, where an identifier of the original email is used for the receiving server to search for the original email, and the email content information is used for the receiving server to update the original email to the first email.
15. The distribution client of claim 14,
the processing unit is used for determining that the mail content information is first mail information when the difference degree between the first mail and the original mail does not exceed a first threshold value, wherein the first mail information is the difference information between the first mail and the original mail;
the processing unit is further configured to determine that the mail content information is second mail information when the difference between the first mail and the original mail exceeds a first threshold, where the second mail information is content information of the first mail.
16. The sending client of claim 15, wherein the second email further comprises a mode indication;
when the value of the mode indication is a first value, the mode indication is used for notifying the receiving server that the mail content information is the first mail information;
and under the condition that the value of the mode indication is a second value, the mode indication is used for informing the receiving server that the mail content information is the second mail information.
17. The sending client of claim 14, wherein the mail content information includes mail body information and mail attachment information,
the communication unit is used for determining the mail text information as the first text information under the condition that the difference degree between the text information of the first mail and the text information of the original mail does not exceed a second threshold value; otherwise, determining that the mail text information is second text information, wherein the first text information is difference information between the text information of the first mail and the text information of the original mail, and the second text information is the text information of the first mail;
the communication unit is further used for determining that the mail attachment information is first attachment information under the condition that the difference degree between the attachment information of the first mail and the attachment information of the original mail does not exceed a third threshold value; and if not, determining that the mail attachment information is second attachment information, wherein the first attachment information is difference information between the attachment information of the first mail and the attachment information of the original mail, and the second attachment information is the attachment information of the first mail.
18. The sending client of claim 17, wherein the second mail further comprises a mode indication,
when the value of the mode indication is a third value, the mode indication is used for notifying the receiving server that the mail content information comprises the first text information and the first attachment information;
when the value of the mode indication is a fourth value, the mode indication is used for informing the receiving server that the mail content information comprises the first text information and the second attachment information;
when the value of the mode indication is a fifth value, the mode indication is used for informing the receiving server that the mail content information comprises the second text information and the first attachment information;
and if the value of the mode indication is a sixth value, the mode indication is used for informing the receiving server that the mail content information comprises the second text information and the second attachment information.
19. The receiving server is characterized in that the receiving server is a special mail transmission agent MTA-S, and the MTA-S has a mail forwarding or sending function, a mail identification function, a mail merging function and a mail replacing or covering function;
the receiving server comprises a communication unit and a processing unit, wherein:
the communication unit is used for receiving a second mail sent by the mail sending and receiving server, and the second mail comprises mail content information and an identifier of an original mail;
the processing unit is used for searching the original mail according to the identifier of the original mail;
the processing unit is further configured to update the original email to the first email according to the email content information.
20. The in-server of claim 19, wherein the second mail piece further includes a mode indication;
the processing unit is configured to determine that the mail content information is first mail information when the value of the mode indication is a first value, where the first mail information is difference information between the first mail and the original mail;
the processing unit is further configured to determine that the mail content information is second mail information when the value of the mode indication is a second value, where the second mail information is content information of the first mail.
21. The recipient server of claim 20,
the processing unit is configured to, when the value of the mode indication is a first value, merge the first mail information and the original mail to obtain a first mail;
and the processing unit is further configured to, when the value of the mode indication is a second value, replace the mail content information of the original mail with the second mail information to obtain a first mail.
22. The in-server of claim 19, wherein the second mail piece further includes a mode indication;
the processing unit is used for determining that the mail content information comprises first text information and first attachment information under the condition that the value of the mode indication is a third value;
the processing unit is further configured to determine that the mail content information includes first body information and second attachment information when the value of the mode indication is a fourth value;
the processing unit is further configured to determine that the mail content information includes second body information and first attachment information when the value of the mode indication is a fifth value;
the processing unit is further configured to determine that the mail content information includes second body information and second attachment information when the value of the mode indication is a sixth value;
the first text information is difference information between text information of the first mail and text information of the original mail, the second text information is text information of the first mail, the first attachment information is difference information between attachment information of the first mail and attachment information of the original mail, and the second attachment information is attachment information of the first mail.
23. The recipient server of claim 22,
the processing unit is configured to update the body information of the original email to the first body information and update the attachment information of the original email to the first attachment information when the value of the mode indication is a third value, so as to obtain the first email;
the processing unit is further configured to update the body information of the original email to the first body information and replace the attachment information of the original email with the second attachment information when the value of the mode indication is a fourth value, so as to obtain the first email;
the processing unit is further configured to, when the value of the mode indication is a fifth value, replace the body information of the original email with the second body information, and update the attachment information of the original email to the first attachment information, thereby obtaining the first email;
the processing unit is further configured to, when the value of the mode indication is a sixth value, replace the body information of the original email with the second body information, and replace the attachment information of the original email with the second attachment information, thereby obtaining the first email.
24. The recipient server according to any of claims 19-23,
the communication unit is further configured to receive a delete mail sent by a recipient client, where the delete mail includes a delete instruction, and the delete instruction is used to instruct the recipient server to delete the original mail;
the processing unit is further configured to mark the original email as an email to be deleted, where the email to be deleted is retained in the receiving server within a preset time period from the receiving of the deleted email;
and the processing unit is used for searching the original mail according to the identifier of the original mail under the condition that the second mail is received in the preset time period.
25. A dispatch client comprising a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with a dispatch server under control of the processor; wherein the processor, when executing the instructions, performs the method of any of claims 1 to 6.
26. An addressee server, comprising a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with at least a sender server under control of the processor; wherein the processor, when executing the instructions, performs the method of any of claims 7 to 13.
27. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
28. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 7 to 13.
CN201780093696.9A 2017-08-08 2017-08-08 Mail transmission method and related equipment Active CN110999227B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/096428 WO2019028676A1 (en) 2017-08-08 2017-08-08 Mail transmission method and related device

Publications (2)

Publication Number Publication Date
CN110999227A CN110999227A (en) 2020-04-10
CN110999227B true CN110999227B (en) 2021-06-01

Family

ID=65273122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780093696.9A Active CN110999227B (en) 2017-08-08 2017-08-08 Mail transmission method and related equipment

Country Status (2)

Country Link
CN (1) CN110999227B (en)
WO (1) WO2019028676A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067250A (en) * 2011-10-20 2013-04-24 中国航天科工集团第二研究院七0六所 Safe E-mail system and mail canceling method thereof
CN104009966A (en) * 2013-02-27 2014-08-27 鸿富锦精密工业(深圳)有限公司 Mail control system and method
CN105827499A (en) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 Modification method of sent information, electronic equipment and application server

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129002A1 (en) * 2000-10-27 2002-09-12 Alberts Douglas Wesley eMediaCarts
CN1722711A (en) * 2005-07-27 2006-01-18 北京立通无限科技有限公司 Method for implementing mail forwarding by mail proxy server
CN101661586A (en) * 2009-09-29 2010-03-03 金蝶软件(中国)有限公司 Method of optimized data processing procedure and device thereof
US9189125B2 (en) * 2013-03-14 2015-11-17 Quip, Inc. Systems and methods for concurrent online and offline document processing
CN104869051B (en) * 2015-03-18 2018-05-08 广东时代互联科技有限公司 A kind of method and system for cancelling Email
CN105007215A (en) * 2015-07-09 2015-10-28 陈包容 Method for modifying E-mail remotely

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067250A (en) * 2011-10-20 2013-04-24 中国航天科工集团第二研究院七0六所 Safe E-mail system and mail canceling method thereof
CN104009966A (en) * 2013-02-27 2014-08-27 鸿富锦精密工业(深圳)有限公司 Mail control system and method
CN105827499A (en) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 Modification method of sent information, electronic equipment and application server

Also Published As

Publication number Publication date
CN110999227A (en) 2020-04-10
WO2019028676A1 (en) 2019-02-14

Similar Documents

Publication Publication Date Title
US9438554B2 (en) Cross platform messaging
CN102769687B (en) Mass texting system and method
US11196784B2 (en) Method, apparatus and system for creating discussion group based on instant messaging
US20060277260A1 (en) Email system and method for selective transmission of a portion of an email message
US8005194B2 (en) Technique for handling incoming reply messages
US20130124643A1 (en) System and method for communication thread management
CN106844662B (en) Method and device for recording reading state of instant message
CN100566302C (en) Email display method and system
CN112543210B (en) Document sharing method, device, terminal, sharing server and storage medium
US20100198921A1 (en) Method and system for proactive notification of availability status in email communication
US20190394160A1 (en) Routing a message based upon user-selected topic in a message editor
WO2019080231A1 (en) Email sending method and device in workflow system and computer device
US20120265832A1 (en) Message thread management using dynamic pointers
JP4521480B1 (en) Method, system, and computer program for correcting an email message with unsent recipients
CN101072200A (en) Method and device for obtaining electronic mail reply and relay state
WO2016205234A1 (en) E-mail processing
CN103490988A (en) Mail look-up processing method and system based on attachments
CN110999227B (en) Mail transmission method and related equipment
US20180067761A1 (en) Computer-implemented methods and systems of automatically generating and storing tasks for messaging applications
CN105359117A (en) Mail server, mail transmission/reception method, and mail transmission/reception program
JP2005267266A (en) Information sharing system among groups
US20130054710A1 (en) Categorizing email recipients into logical groups when sending a mass email
US20090157833A1 (en) System and method for sending emails
CN104243654B (en) Information groupsend system and information groupsend method
CN105099872B (en) E-mail processing method, apparatus and system

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