CN106385360B - Mail processing method and device - Google Patents

Mail processing method and device Download PDF

Info

Publication number
CN106385360B
CN106385360B CN201610969111.2A CN201610969111A CN106385360B CN 106385360 B CN106385360 B CN 106385360B CN 201610969111 A CN201610969111 A CN 201610969111A CN 106385360 B CN106385360 B CN 106385360B
Authority
CN
China
Prior art keywords
attachment
mail
recipients
sending
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610969111.2A
Other languages
Chinese (zh)
Other versions
CN106385360A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610969111.2A priority Critical patent/CN106385360B/en
Publication of CN106385360A publication Critical patent/CN106385360A/en
Application granted granted Critical
Publication of CN106385360B publication Critical patent/CN106385360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • 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/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a mail processing method and a mail processing device, wherein the mail processing method comprises the following steps: detecting whether the mail added with the attachment is sent to a single receiver; when the mail added with the attachment is detected to be sent to a single receiver, sending the body of the mail and the attachment to the single receiver together; when the mail added with the attachment is detected to be sent to a plurality of recipients, acquiring attribute parameters of the attachment; determining whether to send the attachment to each of the plurality of recipients based on the attribute parameters. By the technical scheme of the invention, when the mail with the attachment is sent in a group manner, the attachment is selectively sent to the receiver, so that the sending load of the server is reduced, the server resource is saved, the mail sending time is shortened, and the mail receiving and sending efficiency is effectively improved.

Description

Mail processing method and device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a mail processing method and a mail processing apparatus.
Background
At present, when sending a mail, the mail is generally sent in a group after an attachment is added, that is, each receiver receives the attachment. In some cases, however, only a portion of the recipients need attachments, and the remaining recipients need only view the body of the mail. Then, if the server sends an attachment to each recipient, not only the load of the server is increased, but also the time for sending the mail is prolonged.
Moreover, when the mail with attached file is sent in a group, if the attached file is large and the number of group sending persons is large, the sending time of the mail is increased, and the server is busy correspondingly, so that the receiving and sending efficiency is reduced.
Therefore, how to effectively solve the above problems is to achieve selective sending of attachments to recipients when mass-sending mails with attachments to reduce the sending load of the server, save server resources, shorten the sending time of the mails, effectively improve the mail receiving and sending efficiency, and improve user experience, which is a problem to be solved urgently.
Disclosure of Invention
Based on at least one of the technical problems, the invention provides a new mail processing scheme, which realizes selective sending of attachments for recipients when mass-sending mails with attachments, thereby not only reducing the sending load of a server and saving server resources, but also shortening the sending time of the mails, effectively improving the mail receiving and sending efficiency and further improving the user experience.
In view of the above, according to a first aspect of the present invention, a mail processing method is provided, including: detecting whether the mail added with the attachment is sent to a single receiver; when the mail added with the attachment is detected to be sent to a single receiver, sending the body of the mail and the attachment to the single receiver together; when the mail added with the attachment is detected to be sent to a plurality of recipients, acquiring attribute parameters of the attachment; determining whether to send the attachment to each of the plurality of recipients based on the attribute parameters.
According to the technical scheme, whether the group sending of the mail with the attachment is carried out is judged firstly, the mail added with the attachment is sent to a plurality of recipients at the same time, if the mail is sent to a single recipient only, the text and the attachment of the mail can be directly sent to the recipient, otherwise, the attribute parameters of the attachment of the mail are obtained, whether the attachment of the mail is sent to all recipients is determined according to the attribute parameters of the mail, namely, whether the attachment is sent to the recipient needing to check the attachment is determined, so that the attachment is sent selectively to the recipient, the sending burden of a server is relieved, the server resources are saved, the sending time of the mail can be shortened, the receiving and sending efficiency of the mail is effectively improved, and the user experience is improved.
It should be noted that there may be one or more attachments in the mail.
In the above technical solution, the attribute parameters include: attachment type and content size.
In the technical scheme, attribute parameters of attachments for determining whether to send the attachments of the mail to all recipients of the mass-sent mail at least comprise attachment types and content sizes so as to ensure the accuracy of judgment and further realize the selective sending of the attachments aiming at the recipients; of course, other attribute parameters of the accessory can be referred to according to actual conditions.
In any one of the above technical solutions, preferably, the step of determining whether to send the attachment to each of the multiple recipients according to the attribute parameter specifically includes: judging whether the attachment type is a preset attachment type and/or judging whether the content size is larger than a preset threshold value; when the attachment type is determined not to be the preset attachment type and/or the content size is determined not to be greater than the preset threshold, sending the attachment to each of the plurality of recipients; and when the attachment type is judged to be the preset attachment type and/or the content size is judged to be larger than the preset threshold value, sending the attachment and the text together to partial recipients in the recipients and sending the text to the rest recipients in the recipients.
In the technical scheme, when whether the attachment is sent to all recipients of the mass-sending email is determined according to two attribute parameters, namely the attachment type and the content size of the attachment of the email, if the attachment of the email meets at least one of the two conditions that the attachment type belongs to the preset attachment type and the content size of the attachment is larger than the preset threshold value, the attachment of the email can be determined to be sent to only part of the recipients, and the rest recipients of the recipients only receive the text of the email, so that the attachment can be effectively sent only to the personnel needing to read the attachment of the email, the sending burden of a server is reduced, the sending time of the email is shortened, and the receiving and sending efficiency of the email is effectively improved.
In any one of the above technical solutions, preferably, the step of sending the attachment and the text together to some recipients among the recipients specifically includes: selecting the partial recipients from the recipients according to a selection instruction of a user; and adding an indication mark for sending the attachment for each of the partial recipients, so as to send the attachment and the text to the partial recipients together according to the indication mark for sending the attachment.
In the technical scheme, in order to accurately send the attachment of the mail to the part of recipients needing to receive the attachment, firstly, a user selects and determines which recipients in a plurality of recipients sending the mail in a group are the recipients needing to receive the attachment, and further adds an indication identifier for sending the attachment to the part of recipients, so that the mail server correspondingly sends the text and the attachment of the mail to the corresponding recipients according to the indication identifier for sending the attachment, and the operation is accurate, simple and efficient.
In any of the above technical solutions, preferably, the preset accessory types include: pictures, video and/or audio; the value range of the preset threshold is as follows: 15M to 30M.
In the technical scheme, when the attachment of the mail comprises one or more of pictures, videos and audios, and/or the size of the content of the attachment reaches any value of 15-30M or more, the attachment of the mail can be determined to be sent to part of the receivers in the mass texting, otherwise, the attachment can be sent to all the receivers in the mass texting so as to reduce the sending load of a server and shorten the sending time of the mail; of course, the preset attachment type of the mail attachment may also include other file types, and the value range of the preset threshold of the attachment content size may be appropriately adjusted based on the performance consideration of the server and/or the terminal.
According to a second aspect of the present invention, there is provided a mail processing apparatus comprising: the detection module is used for detecting whether the mail added with the attachment is sent to a single receiver or not; the sending module is used for sending the text of the mail and the attachment to a single receiver when the detection module detects that the mail added with the attachment is sent to the single receiver; the acquisition module is used for acquiring the attribute parameters of the attachments when the detection module detects that the mail added with the attachments is sent to a plurality of recipients; and the processing module is used for determining whether to send the accessory to each of the plurality of recipients according to the attribute parameters acquired by the acquisition module.
According to the technical scheme, whether the group sending of the mail with the attachment is carried out is judged firstly, the mail added with the attachment is sent to a plurality of recipients at the same time, if the mail is sent to a single recipient only, the text and the attachment of the mail can be directly sent to the recipient, otherwise, the attribute parameters of the attachment of the mail are obtained, whether the attachment of the mail is sent to all recipients is determined according to the attribute parameters of the mail, namely, whether the attachment is sent to the recipient needing to check the attachment is determined, so that the attachment is sent selectively to the recipient, the sending burden of a server is relieved, the server resources are saved, the sending time of the mail can be shortened, the receiving and sending efficiency of the mail is effectively improved, and the user experience is improved.
It should be noted that there may be one or more attachments in the mail.
In the above technical solution, the attribute parameters include: attachment type and content size.
In the technical scheme, attribute parameters of attachments for determining whether to send the attachments of the mail to all recipients of the mass-sent mail at least comprise attachment types and content sizes so as to ensure the accuracy of judgment and further realize the selective sending of the attachments aiming at the recipients; of course, other attribute parameters of the accessory can be referred to according to actual conditions.
In any one of the above technical solutions, preferably, the processing module specifically includes: the judging submodule is used for judging whether the attachment type is a preset attachment type and/or judging whether the content size is larger than a preset threshold value; and the sending module is further configured to: when the judging sub-module judges that the attachment type is not the preset attachment type and/or judges that the content size is not larger than the preset threshold value, the attachment is sent to each of the plurality of recipients; and when the attachment type is judged to be the preset attachment type and/or the content size is judged to be larger than the preset threshold value, the attachment and the text are sent to partial recipients in the recipients and the text is sent to the rest recipients in the recipients through the sending module.
In the technical scheme, when whether the attachment is sent to all recipients of the mass-sending email is determined according to two attribute parameters, namely the attachment type and the content size of the attachment of the email, if the attachment of the email meets at least one of the two conditions that the attachment type belongs to the preset attachment type and the content size of the attachment is larger than the preset threshold value, the attachment of the email can be determined to be sent to only part of the recipients, and the rest recipients of the recipients only receive the text of the email, so that the attachment can be effectively sent only to the personnel needing to read the attachment of the email, the sending burden of a server is reduced, the sending time of the email is shortened, and the receiving and sending efficiency of the email is effectively improved.
In any one of the above technical solutions, preferably, the processing module specifically includes: the selection sub-module is used for selecting the partial recipients from the recipients according to a selection instruction of a user; and the setting sub-module is used for adding an indication mark for sending the attachment for each of the partial recipients selected by the selection sub-module so as to send the attachment and the text to the partial recipients together according to the indication mark for sending the attachment.
In the technical scheme, in order to accurately send the attachment of the mail to the part of recipients needing to receive the attachment, firstly, a user selects and determines which recipients in a plurality of recipients sending the mail in a group are the recipients needing to receive the attachment, and further adds an indication identifier for sending the attachment to the part of recipients, so that the mail server correspondingly sends the text and the attachment of the mail to the corresponding recipients according to the indication identifier for sending the attachment, and the operation is accurate, simple and efficient.
In any of the above technical solutions, preferably, the preset accessory types include: pictures, video and/or audio; the value range of the preset threshold is as follows: 15M to 30M.
In the technical scheme, when the attachment of the mail comprises one or more of pictures, videos and audios, and/or the size of the content of the attachment reaches any value of 15-30M or more, the attachment of the mail can be determined to be sent to part of the receivers in the mass texting, otherwise, the attachment can be sent to all the receivers in the mass texting so as to reduce the sending load of a server and shorten the sending time of the mail; of course, the preset attachment type of the mail attachment may also include other file types, and the value range of the preset threshold of the attachment content size may be appropriately adjusted based on the performance consideration of the server and/or the terminal.
According to a third aspect of the present invention, there is also provided a terminal, comprising: a mail processing apparatus according to the second aspect described above.
By the technical scheme, when the mails with the attachments are sent in a group mode, the attachments are sent selectively to the receivers, the sending load of the server is reduced, server resources are saved, the sending time of the mails is shortened, and the receiving and sending efficiency of the mails is effectively improved. Thereby improving the user experience.
Drawings
FIG. 1 shows a flow diagram of a mail processing method of an embodiment of the invention;
FIG. 2 illustrates a flow diagram of a method for determining whether to send a mail attachment to all of a plurality of recipients, in accordance with an embodiment of the present invention;
FIG. 3 illustrates a flowchart of a method of sending a mail to a portion of a plurality of recipients, in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating a mass texting of a mail without an attached file according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of sending an email with an attachment added to a single recipient according to an embodiment of the invention;
FIG. 6 is a diagram illustrating a mass-sent mail with an attached file according to an embodiment of the invention;
FIG. 7 is a diagram illustrating an embodiment of the present invention for bulk sending an attachment-added email according to the size of the attachment;
FIG. 8 shows a schematic block diagram of a mail processing apparatus of an embodiment of the present invention;
FIG. 9 shows a schematic block diagram of the processing module shown in FIG. 8;
fig. 10 shows a schematic block diagram of a terminal of a first embodiment of the present invention;
fig. 11 shows a schematic block diagram of a terminal of a second embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a flowchart of a mail processing method of an embodiment of the present invention.
As shown in fig. 1, the mail processing method according to the embodiment of the present invention specifically includes the following steps:
step 102, whether the mail added with the attachment is sent to a single receiver is detected.
And 104, when the mail added with the attachment is detected to be sent to a single recipient, sending the text of the mail and the attachment to the single recipient together.
And 106, when the mail added with the attachment is detected to be sent to a plurality of recipients, acquiring the attribute parameters of the attachment.
And step 108, determining whether to send the attachment to each of the plurality of recipients according to the attribute parameters.
In the embodiment, whether the group sending of the mail with the attachment is carried out is judged firstly, namely the mail added with the attachment is sent to a plurality of recipients at the same time, if the mail is sent to a single recipient only, the text and the attachment of the mail can be directly sent to the recipient, otherwise, the attribute parameters of the attachment of the mail are obtained, and then whether the attachment of the mail is sent to all recipients is determined according to the attribute parameters of the mail, namely, whether the attachment is sent to the recipient needing to check the attachment is determined, so that the selective sending of the attachment to the recipient is realized, the sending load of a server is reduced, the server resources are saved, meanwhile, the sending time of the mail can be shortened, the receiving and sending efficiency of the mail is effectively improved, and the user experience is improved.
It should be noted that there may be one or more attachments in the mail.
Further, in the above embodiment, the attribute parameters of the attachments for determining whether to send the attachments of the email to all recipients of the mass-sent email at least include the type of the attachments and the size of the content, so as to ensure the accuracy of the determination, and further realize selective sending of the attachments for the recipients; of course, other attribute parameters of the accessory can be referred to according to actual conditions.
Further, in any of the above embodiments, the step 108 may be implemented by the following specific embodiments, as shown in fig. 2, specifically including:
step S20, determining whether the attachment type is a preset attachment type, and/or determining whether the size of the content is greater than a preset threshold.
Step S22, when it is determined that the attachment type is not the preset attachment type and/or it is determined that the content size is not greater than the preset threshold, sending the attachment to each of the plurality of recipients.
And step S24, when the attachment type is judged to be the preset attachment type and/or the content size is judged to be larger than the preset threshold value, sending the attachment and the text together to partial recipients in the recipients and sending the text to the rest recipients in the recipients.
In the technical scheme, when whether the attachment is sent to all recipients of the mass-sending email is determined according to two attribute parameters, namely the attachment type and the content size of the attachment of the email, if the attachment of the email meets at least one of the two conditions that the attachment type belongs to the preset attachment type and the content size of the attachment is larger than the preset threshold value, the attachment of the email can be determined to be sent to only part of the recipients, and the rest recipients of the recipients only receive the text of the email, so that the attachment can be effectively sent only to the personnel needing to read the attachment of the email, the sending burden of a server is reduced, the sending time of the email is shortened, and the receiving and sending efficiency of the email is effectively improved.
Further, in the above embodiment, the step of "sending the attachment and the body together to a part of recipients among the recipients" in the step S24 may be implemented by the following specific embodiment, as shown in fig. 3, specifically including:
and step S30, selecting the partial recipients from the recipients according to the selection instruction of the user.
And step S32, adding an indication mark for sending the attachment for each receiver in the partial receivers, so as to send the attachment and the text to the partial receivers together according to the indication mark for sending the attachment.
In the technical scheme, in order to accurately send the attachment of the mail to the part of recipients needing to receive the attachment, firstly, a user selects and determines which recipients in a plurality of recipients sending the mail in a group are the recipients needing to receive the attachment, and further adds an indication identifier for sending the attachment to the part of recipients, so that the mail server correspondingly sends the text and the attachment of the mail to the corresponding recipients according to the indication identifier for sending the attachment, and the operation is accurate, simple and efficient.
Further, in any of the above embodiments, the preset accessory types include: pictures, video and/or audio; the value range of the preset threshold is as follows: 15M to 30M.
In the embodiment, when the attachment of the mail comprises one or more of pictures, videos and audios, and/or the content size of the attachment reaches any value of 15M-30M or more, the attachment of the mail can be determined to be sent to part of the receivers in the mass texting, otherwise, the attachment can be sent to all the receivers in the mass texting so as to reduce the sending load of the server and shorten the sending time of the mail; of course, the preset attachment type of the mail attachment may also include other file types, and the value range of the preset threshold of the attachment content size may be appropriately adjusted based on the performance consideration of the server and/or the terminal.
The mail processing flow of the embodiment of the present invention will be described with reference to fig. 4 to 7.
As shown in fig. 4, the group sending of the mails without attachments is realized, the mail client sends the mails without attachments to the mail server, and the mail server sends the mails without attachments to all the mail receiving ends A, B and C according to the mail addresses of the receiving ends marked in the mails.
Secondly, as shown in fig. 5, when the mail receiving end is a single recipient, after the mail client sends the mail with the attachment to the mail server, the mail server sends the mail with the attachment directly to the mail receiving end a.
And (III) when the mail with the attachment is subjected to group sending of a plurality of receivers, a user is prompted by the mail client to judge whether the attachment is subjected to group sending on all the receivers, if the user selects yes, the mail client sends the mail to the server, the server sends the mail with the attachment to each receiver, if the user selects no, as shown in FIG. 6, the mail client lists the names of the receivers, the user can select the personnel needing to receive the attachment, after the selection is finished, the confirmation operation is carried out, further, the mail client sends the mail, the attachment and the information of the personnel needing to receive the attachment to the mail server, the mail server sends the attachment according to the mail receiving end A which receives the attachment, and the mail receiving ends B and C which do not receive the attachment only send the text to the receivers.
(IV) based on the performance of the server or the terminal device, the threshold of the attachment may be set in the mail client setting, for example, when the attachment transmission is set to be larger than 15M, the group transmission confirmation is required, and when the attachment mail is transmitted to be smaller than or equal to 15M, the mail server directly transmits all the receivers, and as shown in FIG. 7, when the attachment size of the mail is smaller than or equal to 15M, the mail server transmits both the mails with the attachment to the mail receiving ends A, B and C.
The mail client can be a handheld intelligent device or a PC terminal.
The following describes a mail processing apparatus according to an embodiment of the present invention with reference to fig. 8 and 9.
As shown in fig. 8, a mail processing apparatus 800 according to an embodiment of the present invention includes: a detection module 802, a sending module 804, an acquisition module 806, and a processing module 808.
The detection module 802 is configured to detect whether the email with the attached file is sent to a single recipient; the sending module 804 is configured to send the body of the mail and the attachment to a single recipient when the detecting module 802 detects that the mail with the attachment is sent to the single recipient; the obtaining module 806 is configured to obtain attribute parameters of the attachments when the detecting module 802 detects that the email with the attachments is sent to multiple recipients; the processing module 808 is configured to determine whether to send the attachment to each of the multiple recipients according to the attribute parameters obtained by the obtaining module 806.
In the embodiment, whether the group sending of the mail with the attachment is carried out is judged firstly, namely the mail added with the attachment is sent to a plurality of recipients at the same time, if the mail is sent to a single recipient only, the text and the attachment of the mail can be directly sent to the recipient, otherwise, the attribute parameters of the attachment of the mail are obtained, and then whether the attachment of the mail is sent to all recipients is determined according to the attribute parameters of the mail, namely, whether the attachment is sent to the recipient needing to check the attachment is determined, so that the selective sending of the attachment to the recipient is realized, the sending load of a server is reduced, the server resources are saved, meanwhile, the sending time of the mail can be shortened, the receiving and sending efficiency of the mail is effectively improved, and the user experience is improved.
It should be noted that there may be one or more attachments in the mail.
Further, in the above embodiment, the attribute parameters of the attachments for determining whether to send the attachments of the email to all recipients of the mass-sent email at least include the type of the attachments and the size of the content, so as to ensure the accuracy of the determination, and further realize selective sending of the attachments for the recipients; of course, other attribute parameters of the accessory can be referred to according to actual conditions.
Further, in any of the above embodiments, as shown in fig. 9, the processing module 808 specifically includes: a judging sub-module 8082, configured to judge whether the accessory type is a preset accessory type, and/or judge whether the size of the content is greater than a preset threshold; and the sending module 804 is further configured to: when the determining sub-module 8082 determines that the attachment type is not the preset attachment type and/or determines that the content size is not greater than the preset threshold, sending the attachment to each of the plurality of recipients; when the attachment type is determined to be the preset attachment type and/or the content size is determined to be larger than the preset threshold value, the attachment and the text are sent to part of the recipients and the text is sent to the rest of the recipients through the sending module 804.
In the technical scheme, when whether the attachment is sent to all recipients of the mass-sending email is determined according to two attribute parameters, namely the attachment type and the content size of the attachment of the email, if the attachment of the email meets at least one of the two conditions that the attachment type belongs to the preset attachment type and the content size of the attachment is larger than the preset threshold value, the attachment of the email can be determined to be sent to only part of the recipients, and the rest recipients of the recipients only receive the text of the email, so that the attachment can be effectively sent only to the personnel needing to read the attachment of the email, the sending burden of a server is reduced, the sending time of the email is shortened, and the receiving and sending efficiency of the email is effectively improved.
Further, in any of the above embodiments, the processing module 808 specifically includes: a selection sub-module 8084 and a setup sub-module 8086.
The selection sub-module 8084 is configured to select the partial recipients from the plurality of recipients according to a selection instruction of a user; the setting sub-module 8086 is configured to add an indication identifier for sending an attachment to each of the partial recipients selected by the selection sub-module 8084, so as to send the attachment and the text to the partial recipients together according to the indication identifier for sending the attachment.
In the technical scheme, in order to accurately send the attachment of the mail to the part of recipients needing to receive the attachment, firstly, a user selects and determines which recipients in a plurality of recipients sending the mail in a group are the recipients needing to receive the attachment, and further adds an indication identifier for sending the attachment to the part of recipients, so that the mail server correspondingly sends the text and the attachment of the mail to the corresponding recipients according to the indication identifier for sending the attachment, and the operation is accurate, simple and efficient.
Further, in any of the above embodiments, the preset accessory types include: pictures, video and/or audio; the value range of the preset threshold is as follows: 15M to 30M.
In the technical scheme, when the attachment of the mail comprises one or more of pictures, videos and audios, and/or the size of the content of the attachment reaches any value of 15-30M or more, the attachment of the mail can be determined to be sent to part of the receivers in the mass texting, otherwise, the attachment can be sent to all the receivers in the mass texting so as to reduce the sending load of a server and shorten the sending time of the mail; of course, the preset attachment type of the mail attachment may also include other file types, and the value range of the preset threshold of the attachment content size may be appropriately adjusted based on the performance consideration of the server and/or the terminal.
Fig. 10 shows a schematic block diagram of a terminal of the first embodiment of the present invention.
As shown in fig. 10, a terminal 1000 according to a first embodiment of the present invention includes: such as the mail processing device 800 described in any of the embodiments above.
Fig. 11 shows a schematic block diagram of a terminal of a second embodiment of the present invention.
As shown in fig. 11, a terminal according to a second embodiment of the present invention includes: a processor 1, an input device 2, an output device 3 and a memory 5. In some embodiments of the present invention, the processor 1, the input device 2, the output device 3 and the memory 5 may be connected by a bus 4 or other means, and fig. 11 illustrates the connection by the bus 4.
Wherein, the memory 5 is used for storing a group of program codes, and the processor 1 calls the program codes stored in the memory 5 to execute the following operations:
detecting whether the mail added with the attachment is sent to a single receiver through the output device 3;
when the mail added with the attachment is detected to be sent to a single receiver, sending the text of the mail and the attachment to the single receiver through an output device 3;
when the mail added with the attachment is detected to be sent to a plurality of recipients, acquiring attribute parameters of the attachment through an input device 2;
determining whether to send the attachment to each of the plurality of recipients based on the attribute parameters.
As an alternative embodiment, the processor 1 calls the program code stored in the memory 5, and can also be used to perform the following operations:
judging whether the attachment type is a preset attachment type or not through the input device 2, and/or judging whether the content size is larger than a preset threshold value or not;
when the attachment type is judged not to be the preset attachment type and/or the content size is judged not to be larger than the preset threshold value, sending the attachment to each of the plurality of recipients through an output device 3;
and when the attachment type is judged to be the preset attachment type and/or the content size is judged to be larger than the preset threshold value, sending the attachment and the text together to part of the recipients in the recipients and sending the text to the rest of the recipients through an output device 3.
As an alternative embodiment, the processor 1 calls the program code stored in the memory 5 and is further configured to perform the following operations:
selecting the partial recipients from the recipients according to a selection instruction of a user through the input device 2;
and adding an indication mark for sending the attachment for each receiver in the partial receivers through the input device 2, so as to send the attachment and the text to the partial receivers together according to the indication mark for sending the attachment.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The mail processing device and the units in the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The technical scheme of the invention is explained in detail with the accompanying drawings, when the mail with the attachment is sent in a group manner, when the type and/or content size of the attachment of the mail meet certain conditions, the attachment is sent to the receiver needing to be received, so that the attachment is selectively sent to the receiver, the sending load of the server is reduced, the server resource is saved, the sending time of the mail is shortened, the receiving and sending efficiency of the mail is effectively improved, and the user experience is improved.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method for processing mail, comprising:
detecting whether the mail added with the attachment is sent to a single receiver;
when the mail added with the attachment is detected to be sent to a single receiver, sending the body of the mail and the attachment to the single receiver together;
when the mail added with the attachment is detected to be sent to a plurality of recipients, acquiring attribute parameters of the attachment;
determining whether to send the attachment to each of the plurality of recipients based on the attribute parameters;
the attribute parameters include: attachment type and content size;
the step of determining whether to send the attachment to each of the plurality of recipients according to the attribute parameters may specifically include:
judging whether the attachment type is a preset attachment type and/or judging whether the content size is larger than a preset threshold value;
and when the attachment type is judged to be the preset attachment type and/or the content size is judged to be larger than the preset threshold value, sending the attachment and the text together to partial recipients in the recipients and sending the text to the rest recipients in the recipients.
2. The mail processing method according to claim 1, wherein the step of determining whether to send the attachment to each of the plurality of recipients according to the attribute parameter further includes:
and when the attachment type is judged not to be the preset attachment type and/or the content size is judged not to be larger than the preset threshold value, sending the attachment to each of the plurality of recipients.
3. The mail processing method according to claim 2, wherein the step of sending the attachment and the body together to some of the recipients specifically comprises:
selecting the partial recipients from the recipients according to a selection instruction of a user;
and adding an indication mark for sending the attachment for each of the partial recipients, so as to send the attachment and the text to the partial recipients together according to the indication mark for sending the attachment.
4. The mail processing method according to claim 2 or 3,
the preset accessory types include: pictures, video and/or audio;
the value range of the preset threshold is as follows: 15M to 30M.
5. A mail processing apparatus, comprising:
the detection module is used for detecting whether the mail added with the attachment is sent to a single receiver or not;
the sending module is used for sending the text of the mail and the attachment to a single receiver when the detection module detects that the mail added with the attachment is sent to the single receiver;
the acquisition module is used for acquiring the attribute parameters of the attachments when the detection module detects that the mail added with the attachments is sent to a plurality of recipients;
the processing module is used for determining whether to send the accessory to each of the plurality of recipients according to the attribute parameters acquired by the acquisition module;
the attribute parameters include: attachment type and content size;
the processing module specifically comprises:
the judging submodule is used for judging whether the attachment type is a preset attachment type and/or judging whether the content size is larger than a preset threshold value; and
if the attachment of the mail meets at least one of the two conditions that the attachment type belongs to the preset attachment type and the content size of the attachment is larger than the preset threshold value, the attachment of the mail is determined to be sent to part of the recipients, and the rest of the recipients receive the text of the mail.
6. The mail processing apparatus according to claim 5, wherein the processing module further includes:
the sending module is further configured to:
and when the judging sub-module judges that the attachment type is not the preset attachment type and/or judges that the content size is not larger than the preset threshold value, the attachment is sent to each of the plurality of recipients.
7. The mail processing apparatus according to claim 6, wherein the processing module specifically includes:
the selection sub-module is used for selecting the partial recipients from the recipients according to a selection instruction of a user;
and the setting sub-module is used for adding an indication mark for sending the attachment for each of the partial recipients selected by the selection sub-module so as to send the attachment and the text to the partial recipients together according to the indication mark for sending the attachment.
8. Mail processing apparatus according to claim 6 or 7,
the preset accessory types include: pictures, video and/or audio;
the value range of the preset threshold is as follows: 15M to 30M.
CN201610969111.2A 2016-10-31 2016-10-31 Mail processing method and device Active CN106385360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610969111.2A CN106385360B (en) 2016-10-31 2016-10-31 Mail processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610969111.2A CN106385360B (en) 2016-10-31 2016-10-31 Mail processing method and device

Publications (2)

Publication Number Publication Date
CN106385360A CN106385360A (en) 2017-02-08
CN106385360B true CN106385360B (en) 2022-04-19

Family

ID=57956765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610969111.2A Active CN106385360B (en) 2016-10-31 2016-10-31 Mail processing method and device

Country Status (1)

Country Link
CN (1) CN106385360B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009667A (en) * 2006-01-28 2007-08-01 朗迅科技公司 Optional download of email attachment
JP2008109381A (en) * 2006-10-25 2008-05-08 Media Exchange Inc Electronic mail transmission and reception system
CN102075449A (en) * 2009-11-25 2011-05-25 联想(北京)有限公司 Method, device and terminal equipment for managing E-mails
CN102651722A (en) * 2011-02-28 2012-08-29 华为终端有限公司 Mail attachment processing method, mail sending server and mail receiving server
CN103051519A (en) * 2012-12-28 2013-04-17 东莞宇龙通信科技有限公司 Mail server as well as mail processing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW504619B (en) * 1999-06-04 2002-10-01 Ibm Internet mail delivery agent with automatic caching of file attachments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009667A (en) * 2006-01-28 2007-08-01 朗迅科技公司 Optional download of email attachment
JP2008109381A (en) * 2006-10-25 2008-05-08 Media Exchange Inc Electronic mail transmission and reception system
CN102075449A (en) * 2009-11-25 2011-05-25 联想(北京)有限公司 Method, device and terminal equipment for managing E-mails
CN102651722A (en) * 2011-02-28 2012-08-29 华为终端有限公司 Mail attachment processing method, mail sending server and mail receiving server
CN103051519A (en) * 2012-12-28 2013-04-17 东莞宇龙通信科技有限公司 Mail server as well as mail processing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于windows的电子邮件客户端涉及;王成勇;《数字技术与应用》;20120701(第3期);第1-2页 *

Also Published As

Publication number Publication date
CN106385360A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
EP3447669A1 (en) Information leakage detection method and device, server, and computer-readable storage medium
US20100106781A1 (en) Automatic update of contact information in messaging
EP2816828A1 (en) Message sending method, messaging read notification method, method receiving method and apparatus
CN107872396B (en) Communication method with timeout control, processing device, terminal device and server
CN111225350B (en) Intelligent routing method and device for short messages
US20170005966A1 (en) Information sending method and information sending apparatus
CN104869049B (en) Terminal information sending method and system
US10652185B2 (en) Information sending method and information sending apparatus
CN111065061A (en) Short message request sending system and method based on multiple channels and storage medium
CN103929723B (en) Junk short message recognition method and device
CN107689984B (en) Message pushing method and device, computer equipment and storage medium
CN110912805B (en) Message reading state synchronization method, terminal, server and system
CN106657399B (en) Background server selection method and device based on middleware
US11310635B2 (en) Method, apparatus, and program for automatically selecting message transmission channel and transmitting message
CN103179024A (en) Method and device for filtering mails
CN106385360B (en) Mail processing method and device
US10536393B2 (en) Mail obtaining method, terminal, and system
CN104010269A (en) Method and device for sending file in communication terminal
CN103685249B (en) A kind of register the method for application, terminal and server
CN111093238A (en) Wireless network control method and device, storage medium and electronic equipment
CN113407444B (en) Interface test case generation method, device, equipment and storage medium
CN114268929B (en) Service activation method and related equipment
CN105988835B (en) Software upgrading method and terminal
CN108966160B (en) Short message processing method and device and computer readable storage medium
KR102112627B1 (en) Apparatus and Method for Displaying Indicator According to Interwork Network

Legal Events

Date Code Title Description
C06 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