CN104683213A - A mail sending method and device - Google Patents
A mail sending method and device Download PDFInfo
- Publication number
- CN104683213A CN104683213A CN201310618945.5A CN201310618945A CN104683213A CN 104683213 A CN104683213 A CN 104683213A CN 201310618945 A CN201310618945 A CN 201310618945A CN 104683213 A CN104683213 A CN 104683213A
- Authority
- CN
- China
- Prior art keywords
- size
- server
- limit value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000000926 separation method Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the present invention provides a mail sending method, including: a first server receives a main comprising an enclosure file sent by a user end, determines whether the size of the mail is larger than a threshold value of the mail size at a target domain of the main, if so, the enclosure file is sent to a second server, storage address information of the enclosure file on the second server is added into the mail, and the mail added with the storage address information is sent. An embodiment of the present invention further provides a mail sending device. The aforementioned mail sending method and device can increase a success rate for sending a mail carrying a large enclosure file.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for sending a mail.
Background
An attachment file is a document, multimedia file, or binary file that is directly embedded in the e-mail body encoding. The attachment file and the mail text are sent together, and the receiver decodes and restores the mail content after receiving the attachment file and the mail text.
In the prior art, a large attachment file needs to be directly coded into a mail when the mail is sent, which may cause the final size of the mail to exceed the limit of a mail receiving server of an opposite side and be returned, thereby affecting the transmission of the mail carrying the extra large attachment file.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for sending a mail, where when the size of a mail attachment file exceeds a certain value, the attachment file is uploaded to a cloud server, and a receiving party downloads the attachment file according to an attachment file storage link, so that it is possible to prevent the attachment file from being rejected by a destination domain server of the mail due to an excessively large attachment file, and improve a success rate of sending the mail.
The mail sending method provided by the embodiment of the invention comprises the following steps: a first server receives a mail containing an attachment file sent by a user side; judging whether the mail size is larger than a limit value of a target domain of the mail to the mail size; if yes, sending the attachment file to a second server, and adding storage address information of the attachment file on the second server to the mail
The mail sending device provided by the embodiment of the invention comprises: the receiving unit is used for receiving the mail containing the attachment file sent by the user side by the first server;
a judging unit, configured to judge whether the size of the email received by the receiving unit is larger than a limit value of a destination domain of the email on the size of the email; a sending unit, configured to send the attachment file to a second server if the determining unit determines that the size of the email is larger than the limit value of the destination domain of the email on the size of the email; an adding unit, configured to add storage address information of the attachment file on the second server to the mail; the sending unit is further configured to send the email to which the storage address information is added by the adding unit.
In the method and apparatus for sending a mail provided in the embodiment of the present invention, if the first server determines that the received mail containing the attached file is larger than the limit value of the destination domain of the mail to the mail size, the first server sends the attached file to the second server, and sends the attached file after adding the storage address information of the attached file on the second server to the mail, so that the mail receiver can obtain the attached file from the cloud server according to the storage address information in the mail when receiving the mail, without limitation that the attached file must be contained in the mail and can be obtained by the user when reaching the destination domain server, therefore, the first server automatically identifies whether the mail size is too large and affects the success rate of sending the mail, and sends the mail with a larger attached file by storing the attached file to the second server without carrying the attached file in the mail, the sending success rate of the mail containing the large attached file is improved.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a schematic diagram of a first embodiment of a mail sending method in the embodiment of the present invention;
fig. 2 is a schematic diagram of a second exemplary embodiment of a mail transmission method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an interaction flow of a method for sending an email according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a first embodiment of a mail sending apparatus in the embodiment of the present invention;
fig. 5 is a schematic view of a second embodiment of the mail sending apparatus in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be made with reference to the accompanying drawings and preferred embodiments.
The email sending method provided by the embodiment of the invention can be applied to a scene of sending and receiving email through webmail, namely, reading or sending email through a web browser, or can be applied to a scene of sending and receiving email through an email client, wherein the email client such as Foxmail and Microsoft outlook reads or sends email through software of sending and receiving email by using protocols such as Internet Mail Access Protocol (IMAP), Internet Mail Access Protocol (Internet Access Protocol)/Authenticated Post Office Protocol (APOP), automatic Post Office Protocol (3 rd version of Post Office Protocol) (POP 3, Post Office Protocol 3)/Simple Mail transfer Protocol (SMTP, Simple Mail transfer Protocol)/Extended SMTP Protocol (ESMTP, Extended SMTP) and the like, and the success rate of sending email can be improved.
Referring to fig. 1, a first embodiment of a method for sending a mail according to an embodiment of the present invention includes:
101. a first server receives a mail containing an attachment file sent by a user side;
the user terminal in the embodiment of the invention comprises an internet-based webmail or mail client terminal.
The first server may be a mail server for processing and sending mail to a destination domain server. Attachment files refer to documents, multimedia files or binary files embedded directly in the body code of the mail.
102. Judging whether the size of the mail is larger than the limit value of the destination domain of the mail to the size of the mail;
the mail server judges whether the size of the received mail is larger than the limit value of the destination domain of the mail to the mail size.
103. If the size of the mail is larger than the limit value of the destination domain of the mail to the size of the mail, sending the attachment file to a second server, and adding the storage address information of the attachment file on the second server to the mail;
if the mail server judges that the size of the received mail is larger than the limit value of the destination domain of the mail to the mail size, the mail is considered to exceed the size of the common mail which can be directly sent to the destination domain server and cannot be returned due to the overlarge attached file, and the mail is not suitable to be directly sent to the destination domain server. Mail contains attachment files that account for a large percentage of the size of the mail, and mail is generally rejected as being too large because the attachment files in the mail are too large. Thus, the mail server sends the attachment file to the second server, which saves the attachment file.
The second server in this embodiment may be a cloud server, and the specific storage manner may be that the attachment file is sent to the cloud server through a cloud hard disk or a file transfer station for storage. The cloud hard disk is a virtual hard disk which provides a user interface and permanently sends the attachment file to the cloud server, and the file transfer station is a storage device which provides the user interface and temporarily sends the file to the cloud server.
Further, the mail server adds the storage address information of the attachment file on the cloud server to the mail, and the storage address information can be added to the body of the mail or other positions of the mail, wherein the storage address information can be a link pointing to the storage address of the attachment file on the cloud server, and a user can obtain the attachment file through the link.
104. And sending the mail added with the storage address information.
The mail server sends the mail added with the storage address information to the destination domain server of the mail, namely, the mail launched by the mail server does not carry the attachment file any more, but only contains the mail body and the storage address information of the attachment file, and the bytes occupied by the mail are very small, which is generally not limited by the destination domain of the mail to the mail size. When the mail receiver receives the mail, the attachment file can be acquired from the cloud server according to the storage address information in the mail, so that the mail carrying a large attachment file can be sent to the mail receiver by uploading the attachment file to the cloud server.
In the embodiment of the invention, if the first server judges that the received mail containing the attachment file is larger than the limit value of the destination domain of the mail to the mail size, the attachment file is sent to the second server, the storage address information of the attachment file on the second server is added to the mail and then sent, so that the mail receiver can obtain the attachment file from the cloud server according to the storage address information in the mail when receiving the mail, without being limited to that the attached file must be included in the mail to reach the destination domain server to be able to be acquired by the user, therefore, the first server automatically identifies whether the mail size is too large to affect the success rate of mail sending, the mail carrying a larger attachment file is sent by storing the attachment file in the second server instead of carrying the attachment file in the mail, so that the sending success rate of the mail containing the large attachment file is improved.
Referring to fig. 2, a second embodiment of a method for sending a mail according to the embodiment of the present invention includes:
201. a first server receives a mail containing an attachment file sent by a user side;
the user terminal in the embodiment of the invention comprises an internet-based webmail or mail client terminal.
The first server may be a mail server for processing and sending mail to a destination domain server. Attachment files refer to documents, multimedia files or binary files embedded directly in the body code of the mail.
202. Acquiring the information of the mail destination domain of the mail from the transmission destination address of the mail;
the mail server obtains the information of the mail destination domain of the mail from the transmission destination address of the mail.
203. Searching a database for a limit value of a target domain of the mail to the mail size;
the mail server obtains the limit value of the target domain of the mail to the mail size and stores the limit value in the database, and the maximum value in the plurality of limit values stored in the database can be determined as the current limit value.
The mail server may acquire the limit value of the destination domain of the mail to the mail size from the presentation information described in the return of the destination domain of the mail, and may set the size of the mail corresponding to the return of the destination domain of the mail as the limit value of the destination domain of the mail to the mail size, that is, if the limit value of the mail size is not described in the return presentation information, the size of the returned mail may be set as the limit value.
The limit value of the destination field of the mail to the mail size is obtained from the prompt information recorded in the return of the destination field of the mail, specifically, the limit value may be directly obtained from the error prompt information returned in the return of the destination field of the mail, and an example is as follows:
the information of the bounce comprises the following contents:
host gmail-smtp-in.l.google.com[74.125.129.26]said:552Data size must notexceed35041K bytes.
the "35041K bytes" in the above information is the limit value of the destination domain of the mail to the mail size, and it can be confirmed that the size of the transmitted mail cannot exceed 35041 kbytes.
204. Judging whether the mail size is larger than the limit value of the target domain of the mail to the mail size;
the method specifically comprises the following steps: and judging whether the total size of the mail attachment file and the mail body in the mail is larger than the limit value of the destination domain of the mail to the mail size or not, or judging whether the size of the attachment file in the mail is larger than the limit value of the destination domain of the mail to the mail size according to the information of the size of the attachment file in the mail.
And sending the mail through webmail, and judging whether the mail size is larger than the limit value of the target domain of the mail according to the total size of the mail attachment file and the mail body in the mail.
The mail client side can calculate the size of the mail and package and send the mail address and the mail size information to the mail server, and the mail server judges whether the size of the attached file in the mail is larger than the limit value of the destination domain of the mail to the mail size according to the attached file size information contained in the mail.
205. If the mail size is larger than the limit value of the target domain of the mail to the mail size, sending a notice to the user side;
in this embodiment, if the size of the email is larger than the limit value of the destination domain of the email on the size of the email, a notification is sent to the user side, where the notification is used to instruct the user side to ask the user whether to send the attachment file to the second server.
It should be noted that, in an application scenario where the mail client is used to send a mail, the first server may send a specific code to the mail client, so that the mail client may query the user whether to send the attachment file to the second server according to the specific code.
206. If receiving the instruction sent by the user confirmation sent by the user side, sending the attachment file to the second server, and adding the storage address information of the attachment file on the second server to the mail;
the user end receives the specific code sent by the mail server, a prompt interface is popped up on the front page of the mail client or the webmail to enable the user to select whether to upload the attachment file contained in the mail to the second server, the storage position information of the attachment file on the second server is recorded in the mail to be sent to a mail receiver, and if the user selects to confirm the sending, the user end sends a corresponding confirmation instruction of the user to the mail server. If the mail server receives an instruction for confirming that the mail is sent to the second server, the attachment file is sent to the second server, namely the attachment file is sent to a cloud hard disk or a file transfer station, so that the attachment file is sent to a cloud server.
207. And sending the mail added with the storage address information.
The mail server sends the mail added with the storage address information to the destination domain server of the mail, namely, the mail launched by the mail server does not carry the attachment file any more, but only contains the mail body and the storage address information of the attachment file, and the bytes occupied by the mail are very small, which is generally not limited by the destination domain of the mail to the mail size. When the mail receiver receives the mail, the attachment file can be acquired from the cloud server according to the storage address information in the mail, so that the mail carrying a large attachment file can be sent to the mail receiver by uploading the attachment file to the cloud server.
In the embodiment of the invention, the limit value of the target domain of the mail to the mail size is obtained from the prompt information recorded in the mail returning of the target domain of the mail, or the size of the mail corresponding to the mail returning of the target domain of the mail is used as the limit value of the target domain of the mail to the mail size, so that the limit value recorded in the database is more accurate, whether the size of the mail is larger than the limit value or not is judged, and whether the mail size is too large or not so as to influence the success rate of mail sending or not is automatically identified. If the attachment file is larger than the limit value, a notice is sent to the user side, the user side is indicated to inquire whether the attachment file is sent to the second server or not from the user, and after the user confirms the attachment file, the attachment file is sent to the second server, so that the man-machine interaction is better realized, and the practicability and the convenience of the mail sending system are improved. The attachment file is sent to the second server, the storage address information of the attachment file on the second server is added to the mail and then sent, when the mail receiver receives the mail, the attachment file can be obtained from the cloud server according to the storage address information in the mail, therefore, the first server can automatically identify whether the mail size is too large and the success rate of sending the mail is influenced, the attachment file is stored to the second server instead of being carried in the mail, the mail carrying the large attachment file is sent to the mail receiver, and the sending success rate of the mail containing the large attachment file is improved.
The following describes the mail sending method in the embodiment of the present invention in detail in an actual application scenario, referring to fig. 3, an interaction flow of the mail sending method in the embodiment of the present invention includes:
301. sending a mail containing an attachment file;
and the user side sends the mail containing the attachment file to the mail server.
302. Judging the size of the mail;
and the mail server judges the size of the received mail according to a preset rule. Specifically, the destination domain of the mail is extracted from the address of the destination of the mail, the limit value of the destination domain of the mail on the mail size is searched in the upper limit database stored in the first server, and whether the mail size currently containing the attachment file exceeds the limit value is judged.
303. Sending a notification;
if the size of the mail exceeds the limit value of the destination domain of the mail to the mail size, the mail server sends a notice to the user side, wherein the notice is used for indicating the user side to inquire whether the user sends the attachment file contained in the mail to the cloud server or not, and the mail containing the attachment file is not directly sent to the destination domain server.
304. Returning a user confirmation instruction;
and the user side sends a user confirmation instruction to the mail server, wherein the user confirmation instruction indicates that the user agrees that the mail server sends the attachment file to the cloud server.
305. Sending an attachment file in the mail;
and the mail server sends the attachment file to the cloud server.
306. Adding a link of an attachment file in the mail;
the mail server adds a link of an attachment file stored on the cloud server in the mail;
307. and sending the mail.
The mail server sends the mail added with the link of the attachment file to a destination domain server so that a mail receiver receives the mail from the destination domain server and acquires the attachment file according to the link of the attachment file in the mail.
Referring to fig. 4, a first embodiment of a mail sending apparatus according to an embodiment of the present invention includes:
a receiving unit 401, configured to receive, by a first server, an email that includes an attachment file and is sent by a user side;
a judging unit 402, configured to judge whether the size of the email received by the receiving unit 401 is larger than a limit value of a destination domain of the email on the size of the email;
a sending unit 403, configured to send the attachment file to the second server if the determining unit 402 determines that the size of the email is larger than the limit value of the destination domain of the email on the email size;
an adding unit 404, configured to add storage address information of the attachment file on the second server to the mail;
a sending unit 403, configured to send the mail added with the storage address information by the adding unit 404.
Please refer to the detailed description in the first embodiment shown in fig. 1, and details of the process for implementing each function by each unit in the mail sending apparatus according to the embodiment of the present invention are not described herein.
In the embodiment of the present invention, if the determining unit 402 determines that the mail containing the attached file received by the receiving unit 401 is larger than the limit value of the destination domain of the mail to the mail size, the sending unit 403 sends the attached file to the second server, and the adding unit 404 adds the storage address information of the attached file on the second server to the mail and then the sending unit 403 sends the attached file, so that when the mail receiving party receives the mail, the attached file can be obtained from the cloud server according to the storage address information in the mail, but not limited that the attached file must be contained in the mail and can be obtained by the user when reaching the destination domain server, therefore, the first server automatically identifies whether the mail size is too large and affects the success rate of sending the mail, and the mail carrying a larger attached file is sent by storing the attached file to the second server instead of not carrying the attached file in the mail, the sending success rate of the mail containing the large attached file is improved.
Referring to fig. 5, a second embodiment of the mail sending apparatus according to the embodiment of the present invention includes:
a receiving unit 501, configured to receive, by a first server, an email that includes an attachment file and is sent by a user side;
a judging unit 502, configured to judge whether the size of the email received by the receiving unit 501 is larger than a limit value of a destination domain of the email on the size of the email;
a sending unit 503, configured to send the attachment file to the second server if the determining unit 502 determines that the size of the email is larger than the limit value of the destination domain of the email on the email size;
an adding unit 504, configured to add storage address information of the attachment file on the second server to the mail;
the sending unit 503 is further configured to send the mail to which the storage address information is added by the adding unit 504.
Further, the determining unit 502 is further configured to determine whether the total size of the mail attachment file and the mail body in the mail is larger than a limit value of a destination domain of the mail to the mail size;
the determining unit 502 is further configured to determine, according to the information about the size of the attached file in the email, whether the size of the attached file in the email is larger than a limit value of a destination domain of the email to the email size.
Further, the sending unit 503 is further configured to send a notification to the user side if it is determined that the size of the email is greater than the limit value of the destination domain of the email on the email size, where the notification is used to instruct the user side to inquire of the user whether to send the attachment file to the second server;
the sending unit 503 is further configured to send the attachment file to the second server if receiving the instruction sent by the user end for confirming sending by the user.
The sending unit 503 in the embodiment of the present invention may further include:
an analyzing unit 5031 for analyzing the structure of the mail;
a separating unit 5032, configured to separate the attachment file in the email from the body of the email;
an uploading unit 5032, configured to upload the separated attachment file to the cloud server.
The mail sending apparatus in the embodiment of the present invention may further include:
an obtaining unit 505 configured to obtain information of a destination domain of the mail from a transmission destination address of the mail;
a searching unit 506, configured to search the database for a limit value of a destination domain of the email on the email size;
a storage unit 507, configured to store a limit value of a destination domain of the email to the email size in the database;
an obtaining unit 505, configured to obtain a limit value of a destination domain of the email to the size of the email;
further, the obtaining unit 505 is further configured to obtain, from the prompt information recorded in the bounce of the destination field of the email, a limit value of the destination field of the email on the email size;
the obtaining unit 505 is further configured to use the size of the mail corresponding to the bounce of the destination field of the mail as a limit value of the destination field of the mail on the size of the mail.
Please refer to the detailed description in the embodiments shown in fig. 1 and fig. 2, and details thereof are not repeated herein.
In this embodiment of the present invention, the obtaining unit 505 obtains the limit value of the destination field for the mail size from the prompt information recorded in the mail return of the destination field of the mail, or takes the size of the mail corresponding to the mail return of the destination field of the mail as the limit value of the destination field of the mail for the mail size, so that the limit value recorded in the database is more accurate. The determining unit 502 determines whether the size of the e-mail is larger than the limit value, and automatically identifies whether the e-mail size is too large to affect the success rate of e-mail transmission. If the attachment file is greater than the limit value, the sending unit 503 sends a notification to the user end to instruct the user end to inquire whether to send the attachment file to the second server, and after the user confirms the notification, the sending unit 503 sends the attachment file to the second server, so that human-computer interaction is better realized, and the practicability and the convenience of the mail sending system are improved. The sending unit 503 sends the attachment file to the second server, and the adding unit 504 adds the storage address information of the attachment file on the second server to the mail and then sends the attachment file, so that when the mail receiver receives the mail, the attachment file can be obtained from the cloud server according to the storage address information in the mail, and therefore, whether the mail size is too large or not can be automatically identified, the success rate of sending the mail is affected, and the attachment file is stored to the second server instead of carrying the attachment file in the mail, so that the mail carrying a large attachment file is sent to the mail receiver, and the success rate of sending the mail containing the large attachment file is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 600 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and memory 632, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the server 600. The server 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth. The steps performed by the server in the embodiments shown in fig. 1 and 2 may be based on the server structure shown in fig. 6.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (14)
1. A method for sending a mail, comprising:
a first server receives a mail containing an attachment file sent by a user side;
judging whether the mail size is larger than a limit value of a target domain of the mail to the mail size;
if so, sending the attachment file to a second server, and adding storage address information of the attachment file on the second server to the mail;
and sending the mail added with the storage address information.
2. The method of claim 1, wherein the determining whether the size of the mail is larger than the limit value of the destination domain to the mail size of the mail comprises:
judging whether the total size of the attachment file and the mail body in the mail is larger than the limit value of the target domain of the mail to the mail size;
or,
and judging whether the size of the attached file in the mail is larger than the limit value of the destination domain of the mail to the mail size or not according to the information of the size of the attached file in the mail.
3. The method of claim 1, wherein if so, sending the attachment file to a second server comprises:
if so, sending a notification to the user side, wherein the notification is used for indicating the user side to inquire whether the attachment file is sent to the second server or not;
and if the user confirmation sending instruction sent by the user side is received, sending the attachment file to the second server.
4. The method of claim 1, wherein sending the attachment file to a second server comprises:
analyzing the structure of the mail, separating the attachment file in the mail from the mail body, and uploading the attachment file to a cloud server.
5. The method of claim 1, wherein the determining whether the size of the mail is larger than the limit value of the destination domain to the mail size of the mail comprises:
acquiring the information of the mail destination domain of the mail from the sending destination address of the mail;
and searching a database for the limit value of the target domain of the mail to the mail size.
6. The method of claim 5, further comprising:
and acquiring a limit value of the target domain of the mail to the mail size and storing the limit value in the database.
7. The method of claim 5, wherein the obtaining the limit value of the destination domain of the e-mail to the e-mail size comprises:
acquiring a limit value of the destination domain of the mail to the mail size from the prompt message recorded in the return of the destination domain of the mail;
or,
and taking the size of the mail corresponding to the bounce of the destination domain of the mail as a limit value of the destination domain of the mail to the mail size.
8. A mail transmission apparatus, comprising:
the receiving unit is used for receiving the mail containing the attachment file sent by the user side by the first server;
a judging unit, configured to judge whether the size of the email received by the receiving unit is larger than a limit value of a destination domain of the email on the size of the email;
a sending unit, configured to send the attachment file to a second server if the determining unit determines that the size of the email is larger than the limit value of the destination domain of the email on the size of the email;
an adding unit, configured to add storage address information of the attachment file on the second server to the mail;
the sending unit is further configured to send the email to which the storage address information is added by the adding unit.
9. The apparatus of claim 8,
the judging unit is further configured to judge whether the total size of the attached file and the mail body in the mail is larger than a limit value of a destination domain of the mail to the mail size;
and the judging unit is further configured to judge whether the size of the attached file in the email is larger than a limit value of a destination domain of the email on the email size according to the information of the size of the attached file in the email.
10. The apparatus of claim 8,
the sending unit is further configured to send a notification to the user side if it is determined that the size of the email is larger than the limit value of the destination domain of the email on the size of the email, where the notification is used to instruct the user side to inquire of a user whether to send the attachment file to the second server;
the sending unit is further configured to send the attachment file to the second server if the user confirms the sending instruction sent by the user side.
11. The apparatus of claim 8, wherein the sending unit further comprises:
an analyzing unit for analyzing the structure of the mail;
the separation unit is used for separating the attachment file in the mail from the mail body;
and the uploading unit is used for uploading the separated attachment files to the cloud server.
12. The apparatus according to any one of claims 7 to 11,
the device further comprises:
an acquisition unit, configured to acquire information of a mail destination domain of the mail from a transmission destination address of the mail;
and the searching unit is used for searching the limit value of the target domain of the mail to the mail size in the database.
13. The apparatus of claim 12,
the acquisition unit is further used for acquiring a limit value of a target domain of the mail to the size of the mail;
the device further comprises:
and the storage unit is used for storing the limit value of the target domain of the mail acquired by the acquisition unit to the mail size in the database.
14. The apparatus of claim 13,
the acquiring unit is further configured to acquire a limit value of the destination domain of the email on the size of the email from the prompt information recorded in the return of the destination domain of the email;
the obtaining unit is further configured to use the size of the mail corresponding to the bounce of the destination domain of the mail as a limit value of the destination domain of the mail on the size of the mail.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310618945.5A CN104683213A (en) | 2013-11-28 | 2013-11-28 | A mail sending method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310618945.5A CN104683213A (en) | 2013-11-28 | 2013-11-28 | A mail sending method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104683213A true CN104683213A (en) | 2015-06-03 |
Family
ID=53317834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310618945.5A Pending CN104683213A (en) | 2013-11-28 | 2013-11-28 | A mail sending method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683213A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847121A (en) * | 2016-04-19 | 2016-08-10 | 乐视控股(北京)有限公司 | Mail sending method and device |
CN105847117A (en) * | 2016-03-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Method of sending E-mail having attachment, device, and mobile terminal |
CN105959200A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | E-mail sending method and E-mail transmitting device |
CN106445889A (en) * | 2015-08-07 | 2017-02-22 | 北京国双科技有限公司 | Report mail generation method and apparatus |
CN109218163A (en) * | 2017-07-05 | 2019-01-15 | 北京二六三企业通信有限公司 | Mail distribution method and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020016823A1 (en) * | 2000-06-14 | 2002-02-07 | Sony Corporation | Information processing apparatus, information processing method, information management system, and program storage medium |
US20030084106A1 (en) * | 2001-10-31 | 2003-05-01 | Comverse, Ltd. | Efficient transmission of multi-media contents as electronic mail |
CN1512416A (en) * | 2002-12-27 | 2004-07-14 | 江西博纳技术有限公司 | Email with attached file |
CN1809065A (en) * | 2005-12-14 | 2006-07-26 | 李喆 | Novel mail sending, transmission, and receiving method |
CN101079846A (en) * | 2007-06-08 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A sending and receiving method and system of Email attachment |
-
2013
- 2013-11-28 CN CN201310618945.5A patent/CN104683213A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020016823A1 (en) * | 2000-06-14 | 2002-02-07 | Sony Corporation | Information processing apparatus, information processing method, information management system, and program storage medium |
US20030084106A1 (en) * | 2001-10-31 | 2003-05-01 | Comverse, Ltd. | Efficient transmission of multi-media contents as electronic mail |
CN1512416A (en) * | 2002-12-27 | 2004-07-14 | 江西博纳技术有限公司 | Email with attached file |
CN1809065A (en) * | 2005-12-14 | 2006-07-26 | 李喆 | Novel mail sending, transmission, and receiving method |
CN101079846A (en) * | 2007-06-08 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A sending and receiving method and system of Email attachment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445889A (en) * | 2015-08-07 | 2017-02-22 | 北京国双科技有限公司 | Report mail generation method and apparatus |
CN105847117A (en) * | 2016-03-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Method of sending E-mail having attachment, device, and mobile terminal |
WO2017166663A1 (en) * | 2016-03-29 | 2017-10-05 | 乐视控股(北京)有限公司 | Method for sending mail with attachment, apparatus, mobile terminal, and electronic device |
CN105847121A (en) * | 2016-04-19 | 2016-08-10 | 乐视控股(北京)有限公司 | Mail sending method and device |
CN105959200A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | E-mail sending method and E-mail transmitting device |
CN109218163A (en) * | 2017-07-05 | 2019-01-15 | 北京二六三企业通信有限公司 | Mail distribution method and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9515967B2 (en) | Systems and methods for sharing data among multiple end user devices | |
CN104683213A (en) | A mail sending method and device | |
US10275742B2 (en) | Methods and devices for managing emails | |
WO2016107339A1 (en) | Method and device for transmitting message in batch | |
US10757052B2 (en) | Embedding actionable content in electronic communication | |
US8024409B2 (en) | Method and system for automatically resending messages based on server status | |
CN103383698B (en) | The method of data deletion and mobile terminal thereof | |
US8874675B2 (en) | Message thread management using dynamic pointers | |
CN104980469A (en) | E-mail extraction method and system | |
EP3198521B1 (en) | Method and apparatus of processing a doi (digital object unique identifier) in interaction information | |
CN104243282B (en) | A kind of information notice method and server | |
US9055018B2 (en) | Related message detection and indication | |
CN106302088B (en) | Method, e-mail client, server and system for receiving and sending e-mail | |
US9547842B2 (en) | Out-of-office electronic mail messaging system | |
CN103179024A (en) | Method and device for filtering mails | |
US9076130B2 (en) | Identifying a webpage from which an E-mail address is obtained | |
CN103746896A (en) | Method and device for mail processing | |
CN111507620B (en) | Service processing method, device and system | |
CN110597766B (en) | Data transmission method and device | |
US20160283514A1 (en) | Information processing method and electronic device | |
JP6591067B2 (en) | Information transmission method and apparatus | |
US12170687B2 (en) | Method and system for determining spam URL | |
EP2993834B1 (en) | Automatic identification and retrieval of message attachments in a message conversation | |
CN109495372B (en) | Junk mail identification method and device | |
US9106597B2 (en) | Updating an E-mail recipient list |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150603 |
|
RJ01 | Rejection of invention patent application after publication |