WO2021093673A1 - Procédé, appareil et dispositif d'envoi de courrier électronique, et support de stockage lisible par ordinateur - Google Patents

Procédé, appareil et dispositif d'envoi de courrier électronique, et support de stockage lisible par ordinateur Download PDF

Info

Publication number
WO2021093673A1
WO2021093673A1 PCT/CN2020/126825 CN2020126825W WO2021093673A1 WO 2021093673 A1 WO2021093673 A1 WO 2021093673A1 CN 2020126825 W CN2020126825 W CN 2020126825W WO 2021093673 A1 WO2021093673 A1 WO 2021093673A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail
result set
value
content parser
preset
Prior art date
Application number
PCT/CN2020/126825
Other languages
English (en)
Chinese (zh)
Inventor
黄山
尹强
王和平
刘有
杨峙岳
冯朝阁
邸帅
卢道和
Original Assignee
深圳前海微众银行股份有限公司
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 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Publication of WO2021093673A1 publication Critical patent/WO2021093673A1/fr

Links

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/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/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression

Definitions

  • This application relates to the technical field of financial technology (Fintech), and in particular to a method, device, device, and computer-readable storage medium for sending emails.
  • E-mail (referred to as E-mail) is a communication method that uses electronic means to provide information exchange. It is the most widely used service on the Internet and has the characteristics of simplicity and speed. Through the way of e-mail, various information transmission, reception, storage and other processing can be realized, and the mail can be sent to all corners of the world. Therefore, email has become an important way of communication in people's daily work and life.
  • the application first obtains the application data to be sent, and then converts the application data in the original format into structured data that can be received by the mail client to obtain the mail content, and then according to the mail service in the deployment environment
  • the mail delivery information and mail content are transmitted to the mail client through the specified interface in the specified format. Since the data formats that can be received by each mail client are not the same, when format conversion of application data, although there are more general format centralized conversion tools, considering that the data types actually used by an application are extremely limited, the introduction General-purpose tools make the logic of the application more complicated. Therefore, the corresponding logic is generally implemented repeatedly by the application program, which causes a waste of development manpower and low development efficiency.
  • the main purpose of this application is to provide a mail sending method, device, equipment, and computer-readable storage medium, aiming to solve the problem of low development efficiency in the development process of the existing mail sending function.
  • the present application provides an email sending method, and the email sending method includes:
  • the mail body is sent based on the basic information of the mail.
  • the step of obtaining email content and basic information of the email according to the email sending request when the email sending request is received includes:
  • a result set path is generated according to the job ID, the user name, and a pre-configured root directory, and the mail content is obtained according to the result set path.
  • the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
  • the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
  • a corresponding picture tag is generated, and the picture tag is used as an intermediate object.
  • the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
  • the data type in the metadata information is Hypertext Markup Language HTML, it is determined that the corresponding target content parser is an HTML content parser;
  • the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
  • the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
  • the text in the nested preset table header tag is merged with the text in the nested row tag, and nested into the preset table tag to obtain an intermediate object.
  • the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
  • the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
  • the value of the result set is multiple lines, the value of the result set is processed by line, and the intermediate object is obtained based on the result of the line branch processing, the preset paragraph tag and the preset line break tag.
  • the step of determining the corresponding target content parser according to the data type in the metadata information, and analyzing the value of the result set through the target content parser to obtain an intermediate object include:
  • the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
  • the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label , Get the intermediate object;
  • the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain an intermediate object.
  • the step of sending the mail body based on the basic information includes:
  • the mail body and the basic information of the mail are filled into the mail object, and the filled mail object is submitted to a preset mail client for sending.
  • the present application also provides a mail sending device, the mail sending device includes:
  • the obtaining module is configured to obtain the email content and basic email information according to the email sending request when the email sending request is received, the email content including the metadata information and the value of the result set;
  • a parsing module configured to determine a corresponding target content parser according to the data type in the metadata information, and perform parsing processing on the value of the result set through the target content parser to obtain an intermediate object;
  • the merging module is used for merging the intermediate objects in the order of analysis, and inserting the merged intermediate objects into the preset structure to obtain the mail body;
  • the sending module is used to send the mail body based on the basic information.
  • the present application also provides a mail sending device, the mail sending device includes: a memory, a processor, and a mail sending program stored on the memory and running on the processor, so The steps of the mail sending method described above are realized when the mail sending program is executed by the processor.
  • the present application also provides a computer-readable storage medium with a mail sending program stored on the computer-readable storage medium, and when the mail sending program is executed by a processor, the mail sending as described above is realized. Method steps.
  • This application provides an email sending method, device, equipment, and computer-readable storage medium.
  • the email content and basic email information can be obtained according to the email sending request; then, according to the data type in the metadata information Determine the corresponding target content parser, and parse the result set value through the target content parser to obtain intermediate objects; then merge the intermediate objects in the order of analysis, and insert the merged intermediate objects into the preset structure, Get the body of the email, and send the body of the email based on the basic information of the email.
  • this application defines corresponding standard parsing and processing methods for different data types, and can uniformly convert the format of the mail content into a standard intermediate format to obtain the mail content, and then send it.
  • the application program does not need to repeatedly implement the corresponding logic. Therefore, the application can improve the development efficiency in the development process of the mail sending function.
  • FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the application;
  • FIG. 2 is a schematic flowchart of the first embodiment of the mail sending method of this application
  • FIG. 3 is a schematic diagram of functional modules of the first embodiment of the mail sending device of this application.
  • FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the application.
  • the mail sending device in the embodiment of this application can be a smart phone or a PC (Personal Computer, personal computer), tablet computer, portable computer and other terminal equipment.
  • the mail sending device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface).
  • the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • the structure of the mail sending device shown in FIG. 1 does not constitute a limitation on the mail sending device, and may include more or less components than shown in the figure, or a combination of certain components, or different components Layout.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a mail sending program.
  • the network interface 1004 is mainly used to connect to a back-end server and communicate with the back-end server;
  • the user interface 1003 is mainly used to connect to a client and communicate with the client;
  • the processor 1001 can be used to Call the mail sending program stored in the memory 1005 and perform the following operations:
  • the mail body is sent based on the basic information of the mail.
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • a result set path is generated according to the job ID, the user name, and a pre-configured root directory, and the mail content is obtained according to the result set path.
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
  • a corresponding picture tag is generated, and the picture tag is used as an intermediate object.
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • the data type in the metadata information is Hypertext Markup Language HTML, it is determined that the corresponding target content parser is an HTML content parser;
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
  • the text in the nested preset table header tag is merged with the text in the nested row tag, and nested into the preset table tag to obtain an intermediate object.
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
  • the value of the result set is multiple lines, the value of the result set is processed by line, and the intermediate object is obtained based on the result of the line branch processing, the preset paragraph tag and the preset line break tag.
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
  • the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label , Get the intermediate object;
  • the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain an intermediate object.
  • processor 1001 may call the mail sending program stored in the memory 1005, and also perform the following operations:
  • the mail body and the basic information of the mail are filled into the mail object, and the filled mail object is submitted to a preset mail client for sending.
  • This application provides an email sending method.
  • FIG. 2 is a schematic flowchart of a first embodiment of a mail sending method according to this application.
  • the mail sending method includes:
  • Step S10 when receiving the email sending request, obtain email content and basic email information according to the email sending request, where the email content includes metadata information and the value of the result set;
  • the mail sending method of this embodiment is implemented by a mail sending device, which is equipped with a mail sender and various types of content parsers.
  • mail sending is placed in the workflow as a node, so that in a series of logic, it can be simply and flexibly defined to send mail after certain steps, without the need for specific implementations for specific situations.
  • the preset node in the workflow can trigger the corresponding email sending request after executing the task.
  • the email sender receives the email sending request, it can obtain the email content and basic email information according to the email sending request.
  • the email content includes metadata information and the value of the result set.
  • the metadata information includes data types (such as pictures, tables, texts, links, etc.) and basic data information (such as size, field names, field types, etc.).
  • step S10 includes:
  • Step a1 when receiving the email sending request, obtain the job ID, user name and basic email information according to the email sending request;
  • Step a2 Generate a result set path according to the job ID, the user name and the pre-configured root directory, and obtain the mail content according to the result set path.
  • the job ID (Identity ID) is obtained according to the email sending request through the email sender. document, number), user name and basic email information, where the job ID is the job ID of the pre-node of the node where the mail sender is located in the workflow, and also the job ID of the node that triggered the email sending request.
  • the basic email information includes But not limited to the sender, recipient, mail title, etc. Then, the result set path is generated according to the job ID, user name and the pre-configured root directory.
  • the method of generating the result path path can be generated in a preset format, where the preset format can be ⁇ pre-configured root directory + user name + job ID ⁇ , after getting the result set path, get the email content according to the result set path.
  • the mail content is the result set obtained according to the result set path, which is the execution result of the pre-node.
  • Step S20 Determine a corresponding target content parser according to the data type in the metadata information, and perform parsing processing on the value of the result set through the target content parser to obtain an intermediate object;
  • the corresponding target content parser is determined according to the data type in the metadata information, and the value of the result set is analyzed through the target content parser to obtain the intermediate object.
  • data types include but are not limited to pictures, HTML (HyperText Markup Language (Hyper Text Markup Language), tables, files, and links have different parsing processes for different data types.
  • HTML HyperText Markup Language
  • tables, files, and links have different parsing processes for different data types.
  • the specific parsing process please refer to the following second embodiment, which will not be repeated here.
  • step S30 the intermediate objects are merged in the order of analysis, and the merged intermediate objects are inserted into the preset structure to obtain the mail body;
  • the intermediate objects are merged in the order of analysis, and the merged intermediate objects are inserted into the preset structure to obtain the mail body.
  • merging it simply merges the intermediate objects into a complete HTML structure (ie, simple String+String) in the order of parsing.
  • the default structure is ⁇ html> ⁇ body> ⁇ /body> ⁇ in one embodiment.
  • /html> the merged intermediate object can be inserted between ⁇ body> and ⁇ /body> of the preset structure to obtain a complete structure as the final mail body.
  • Step S40 Send the mail body based on the basic information of the mail.
  • step S40 includes:
  • Step b1 Obtain the types of mail clients that can be supported by the current environment, and create a corresponding type of mail object according to the types of mail clients that can be supported by the current environment and a preset mapping relationship;
  • Step b2 filling the mail body and the basic information of the mail into the mail object, and submitting the filled mail object to a preset mail client for sending.
  • the mail client types supported by the current environment After obtaining the mail body, obtain the mail client types supported by the current environment, and create corresponding types of mail objects according to the mail client types supported by the current environment and the preset mapping relationship, where the preset mapping relationship includes the mail client
  • the mapping relationship between the type and the mail object type For example, when the mail client type is SpringJavaMail (that is, when mail is sent through the JavaMailSender interface provided by Spring), MIME (Multipurpose Internet Mail Extensions, multi-purpose Internet mail extension) object; when the mail client type is HTTP mail client (that is, mail client that realizes mail sending based on HTTP protocol), Json (JavaScript) can be created Object Notation, JS object notation, lightweight data exchange format) object.
  • the mail body and basic information of the mail are filled into the mail object, and the filled mail object is submitted to the preset mail client for sending.
  • the preset mapping relationship can provide support for a variety of common mail clients, while leaving corresponding expansion space for other clients, so as to realize the flexibility of supporting the expansion of the mail client.
  • the embodiment of the application provides an email sending method.
  • the email content and basic email information can be obtained according to the email sending request; then, the corresponding target content parser is determined according to the data type in the metadata information, The value of the result set is parsed by the target content parser to obtain the intermediate object; then the intermediate objects are merged in the order of analysis, and the merged intermediate objects are inserted into the preset structure to obtain the mail body, based on the basic information of the mail Send the message body.
  • the embodiments of this application define corresponding standard parsing and processing methods for different data types, and can uniformly convert the format of the mail content into a standard intermediate format to obtain the mail content, and then proceed Sending, through the above method, the unified conversion of the data format can be realized, without the application program repeatedly implementing the corresponding logic, therefore, the development efficiency in the development process of the mail sending function can be improved, and the manpower can be saved.
  • step S20 may include:
  • Step c11 If the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
  • Step c12 Obtain a picture format from the metadata information through the picture content parser, and restore the value of the result set to picture data corresponding to the picture format;
  • Step c13 calling a preset constructor to process the picture data to obtain a processing object
  • Step c14 based on the processing object and the preset picture tag format, generate a corresponding picture tag, and use the picture tag as an intermediate object.
  • the process of processing picture data is introduced.
  • the specific process is as follows: if the data type in the metadata information is a picture, the corresponding target content parser is determined to be a picture content parser; then, the picture content parser is used to obtain the picture format (such as png, jpg, etc.) from the metadata information ), and restore the value of the result set to the image data corresponding to the image format; and then call the preset constructor to process the image data to obtain the processing object, where the preset constructor can be selected as the BufferedImage constructor, by calling BufferedImage
  • the constructor can realize the scaling and gray-scale processing of the image data.
  • the corresponding image tag is generated, and the image tag is used as an intermediate object.
  • the preset picture format tag is the ⁇ img> tag
  • step S20 may also include:
  • Step c21 If the data type in the metadata information is Hypertext Markup Language HTML, determine that the corresponding target content parser is an HTML content parser;
  • Step c22 verifying whether the value of the result set conforms to the preset email HTML specification through the HTML content parser
  • step c23 if it matches, extract the sub-HTML in the body tag from the value of the result set, and use the sub-HTML as an intermediate object.
  • This embodiment introduces the processing process of HTML data.
  • the specific process is as follows: if the data type in the metadata information is HTML (HyperText Markup Language), the corresponding target content parser is determined to be an HTML content parser; then, the result set is verified by the HTML content parser Whether the value of is in compliance with the default email HTML specification, where the preset email HTML specification can include but is not limited to: has a complete ⁇ html> ⁇ body> ⁇ /body> ⁇ /html> structure, the tags are closed, and the HTML-supported tags, JavaScript scripts are not nested, etc. If it conforms to the preset email HTML specification, the sub-HTML in the body tag is extracted from the value of the result set, and the sub-HTML is used as an intermediate object. Among them, the body tag is the ⁇ body> tag.
  • step S20 may also include:
  • Step c31 If the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
  • Step c32 Read the field name in the metadata information through the form content parser, generate a corresponding first cell label based on the field name, and nest the first cell label in a preset In the header label;
  • Step c33 Obtain the number of table rows and the value of each column in each row of the table according to the value of the result set, and generate the same number of row labels as the number of rows of the table;
  • Step c34 generating a corresponding second cell label according to the value of each column in each row of the table, and nesting the second cell label in the corresponding row label;
  • Step c35 Combine the text in the nested preset table header tag with the text in the nested row tag, and nest it in the preset table tag to obtain an intermediate object.
  • This embodiment introduces the processing procedure of table data.
  • the specific process is as follows: If the data type in the metadata information is a table, the corresponding target content parser is determined to be a table content parser; then, the field name in the metadata information is read through the table content parser and generated based on the field name Corresponding to the first cell label, and nest the first cell label in the preset header label.
  • the first cell table is generated based on the field name and the preset cell label (which is the ⁇ td> label), and the default header label is the ⁇ th> label.
  • the corresponding first cell tags can be generated as ⁇ td>name ⁇ /td> and ⁇ td>score ⁇ /td>. After the first cell tag is nested in the preset header tag, The following results can be obtained:
  • the intermediate objects can be obtained as follows:
  • step S20 may also include:
  • Step c41 If the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
  • Step c42 detecting, by the file content parser, whether the value of the result set is a single line or multiple lines;
  • Step c43 if the value of the result set is a single line, use the value of the result set as the content of the preset paragraph tag to obtain an intermediate object;
  • step c44 if the value of the result set is multiple lines, the value of the result set is subjected to branch processing, and an intermediate object is obtained based on the branch processing result, the preset paragraph tag and the preset line break tag.
  • the process of processing file data is introduced.
  • the specific process is as follows: if the data type in the metadata information is a file, the corresponding target content parser is determined to be a file content parser; then, the file content parser is used to detect whether the value of the result set is single or multi-line; if the result set The value of is a single line, the value of the result set is directly used as the content of the preset paragraph tag to obtain an intermediate object, where the preset paragraph tag can be a ⁇ p> tag; if the value of the result set is multiple lines, the result set The value of is subjected to branch processing, and then the intermediate object is obtained based on the branch processing result, the preset paragraph tag and the preset line break tag.
  • the value of the result set can be split according to the newline character ( ⁇ n), and multiple lines of text can be split.
  • the text content of each line is used as the content of a preset paragraph tag to obtain multiple paragraph tags.
  • the preset line break tag ( ⁇ br> tag) as the spacer to merge the multiple paragraph tags obtained by the above processing to obtain the corresponding intermediate object.
  • step S20 may also include:
  • Step c51 If the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
  • Step c52 detecting, by the link content parser, whether the value of the result set is a single line or multiple lines;
  • Step c53 If the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the first hyperlink label To get the intermediate object;
  • Step c54 If the value of the result set is multiple rows, perform branch processing on the value of the result set, and convert the values of the branched result set into corresponding second hyperlink labels;
  • step c55 the second hyperlink tags are merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink tag to obtain an intermediate object.
  • This embodiment introduces the processing procedure of link data.
  • the specific process is as follows: if the data type in the metadata information is a link (URL link), the corresponding target content parser is determined to be a link content parser; then, the value of the result set is detected by the link content parser as a single line or multiple lines .
  • the value of the result set is a single line
  • the value of the result set is converted into the first hyperlink label
  • the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label to obtain the intermediate object.
  • the generation process of the first hyperlink label is: according to the value of the result set directly as the href (Hypertext label) of the preset hyperlink label Reference, hypertext reference) attribute, where the preset hyperlink tag can be an ⁇ a> tag.
  • the value of the result set is multiple rows, the value of the result set will be processed in rows, and the value of the result set after the branch will be converted into the corresponding second hyperlink label.
  • the line can be changed according to The character ( ⁇ n) divides the value of the result set to obtain multiple lines of text, and use the text content of each line as the href attribute of a preset hyperlink label to obtain multiple hyperlink labels. Then, the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain the intermediate object.
  • This application also provides a mail sending device.
  • FIG. 3 is a schematic diagram of the functional modules of the first embodiment of the mail sending device of this application.
  • the mail sending device includes:
  • the obtaining module 10 is configured to obtain email content and basic email information according to the email sending request when a email sending request is received, where the email content includes metadata information and the value of the result set;
  • the parsing module 20 is configured to determine a corresponding target content parser according to the data type in the metadata information, and perform parsing processing on the value of the result set through the target content parser to obtain an intermediate object;
  • the merging module 30 is used for merging the intermediate objects in the order of analysis, and inserting the merged intermediate objects into the preset structure to obtain the mail body;
  • the sending module 40 is configured to send the body of the mail based on the basic information.
  • the acquisition module 10 includes:
  • the first obtaining unit is configured to obtain the job ID, user name, and basic email information according to the email sending request when the email sending request is received;
  • the second obtaining unit is configured to generate a result set path according to the job ID, the user name, and a pre-configured root directory, and obtain the mail content according to the result set path.
  • the analysis module 20 includes a first analysis unit for:
  • the data type in the metadata information is a picture, it is determined that the corresponding target content parser is a picture content parser;
  • a corresponding picture tag is generated, and the picture tag is used as an intermediate object.
  • analysis module 20 includes a second analysis unit for:
  • the data type in the metadata information is Hypertext Markup Language HTML, it is determined that the corresponding target content parser is an HTML content parser;
  • analysis module 20 includes a third analysis unit for:
  • the data type in the metadata information is a table, it is determined that the corresponding target content parser is a table content parser;
  • the text in the nested preset table header tag is merged with the text in the nested row tag, and nested into the preset table tag to obtain an intermediate object.
  • analysis module 20 includes a fourth analysis unit for:
  • the data type in the metadata information is a file, it is determined that the corresponding target content parser is a file content parser;
  • the value of the result set is multiple lines, the value of the result set is processed by line, and the intermediate object is obtained based on the result of the line branch processing, the preset paragraph tag and the preset line break tag.
  • parsing module 20 includes a fifth parsing unit for:
  • the data type in the metadata information is a link, it is determined that the corresponding target content parser is a link content parser;
  • the value of the result set is a single line, the value of the result set is converted into a first hyperlink label, and the file name of the result set corresponding to the email content is used as the prompt information of the first hyperlink label , Get the intermediate object;
  • the second hyperlink label is merged, and the file name of the result set corresponding to the email content is used as the prompt information of the merged second hyperlink label to obtain an intermediate object.
  • the sending module 40 includes:
  • the creation unit is configured to obtain the types of mail clients that can be supported by the current environment, and create corresponding types of mail objects according to the types of mail clients that can be supported by the current environment and the preset mapping relationship;
  • the sending unit is configured to fill the mail body and the basic information of the mail into the mail object, and submit the filled mail object to a preset mail client for sending.
  • each module in the above-mentioned mail sending device corresponds to each step in the above-mentioned embodiment of the mail sending method, and the function and realization process thereof will not be repeated here.
  • the present application also provides a computer-readable storage medium having a mail sending program stored on the computer-readable storage medium, and when the mail sending program is executed by a processor, the mail sending method as described in any of the above embodiments is implemented step.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

La présente invention se rapporte au domaine technique de la technologie financière. La présente invention concerne un procédé, appareil et dispositif d'envoi de courrier électronique, et un support de stockage lisible par ordinateur. Le procédé d'envoi de courrier électronique comprend : lorsqu'une demande d'envoi de courrier électronique est reçue, l'acquisition d'un contenu de courrier électronique et d'informations de base de courrier électronique selon la demande d'envoi de courrier électronique, le contenu de courrier électronique comprenant des informations de métadonnées et des valeurs d'un ensemble de résultats ; la détermination d'un analyseur de contenu cible correspondant selon un type de données dans les informations de métadonnées, et l'analyse des valeurs de l'ensemble de résultats au moyen de l'analyseur de contenu cible pour obtenir des objets intermédiaires ; la combinaison des objets intermédiaires selon un ordre d'analyse, et l'insertion des objets intermédiaires combinés dans une structure prédéfinie pour obtenir le corps de courrier électronique ; et l'envoi du corps de courrier électronique sur la base des informations de base de courrier électronique.
PCT/CN2020/126825 2019-11-12 2020-11-05 Procédé, appareil et dispositif d'envoi de courrier électronique, et support de stockage lisible par ordinateur WO2021093673A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911103307.3A CN110855555B (zh) 2019-11-12 2019-11-12 邮件发送方法、装置、设备及计算机可读存储介质
CN201911103307.3 2019-11-12

Publications (1)

Publication Number Publication Date
WO2021093673A1 true WO2021093673A1 (fr) 2021-05-20

Family

ID=69601484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/126825 WO2021093673A1 (fr) 2019-11-12 2020-11-05 Procédé, appareil et dispositif d'envoi de courrier électronique, et support de stockage lisible par ordinateur

Country Status (2)

Country Link
CN (1) CN110855555B (fr)
WO (1) WO2021093673A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499405A (zh) * 2022-09-14 2022-12-20 天翼数字生活科技有限公司 一种自定义生成邮件的方法和系统
CN116938610A (zh) * 2023-09-19 2023-10-24 北京傲星科技有限公司 基于拟态架构的邮件系统
CN117478670A (zh) * 2023-12-28 2024-01-30 彩讯科技股份有限公司 基于pst文件协议解析的Exchange数据迁移方法、系统和介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855555B (zh) * 2019-11-12 2023-04-07 深圳前海微众银行股份有限公司 邮件发送方法、装置、设备及计算机可读存储介质
CN114676124B (zh) * 2022-05-27 2022-08-23 航天信息(广东)有限公司 基于配置式的数据字段差异解决方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010105521A1 (fr) * 2009-03-17 2010-09-23 联想(北京)有限公司 Procédé de traitement de courrier et dispositif associé
CN103034937A (zh) * 2010-04-23 2013-04-10 微软公司 电子邮件视图
CN109902113A (zh) * 2019-01-17 2019-06-18 平安科技(深圳)有限公司 征信反馈报告处理方法及装置、存储介质、计算机设备
CN110855555A (zh) * 2019-11-12 2020-02-28 深圳前海微众银行股份有限公司 邮件发送方法、装置、设备及计算机可读存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170447A (ja) * 2013-03-05 2014-09-18 Nec Corp メールファイル管理装置、方法及びプログラム
CN106713109A (zh) * 2015-11-13 2017-05-24 北京奇虎科技有限公司 一种html邮件发送、接收方法及装置
CN109995643B (zh) * 2017-12-29 2022-04-08 中国移动通信集团河南有限公司 业务邮件推送方法及装置
CN109039876B (zh) * 2018-09-19 2021-01-08 天津字节跳动科技有限公司 邮件处理方法和装置
CN110351182B (zh) * 2019-05-31 2022-06-17 平安科技(深圳)有限公司 邮件发送方法、装置、设备及计算机可读存储介质
CN110223044A (zh) * 2019-06-12 2019-09-10 深圳市网心科技有限公司 一种邮件推送方法、系统及电子设备和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010105521A1 (fr) * 2009-03-17 2010-09-23 联想(北京)有限公司 Procédé de traitement de courrier et dispositif associé
CN103034937A (zh) * 2010-04-23 2013-04-10 微软公司 电子邮件视图
CN109902113A (zh) * 2019-01-17 2019-06-18 平安科技(深圳)有限公司 征信反馈报告处理方法及装置、存储介质、计算机设备
CN110855555A (zh) * 2019-11-12 2020-02-28 深圳前海微众银行股份有限公司 邮件发送方法、装置、设备及计算机可读存储介质

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499405A (zh) * 2022-09-14 2022-12-20 天翼数字生活科技有限公司 一种自定义生成邮件的方法和系统
CN115499405B (zh) * 2022-09-14 2024-04-30 天翼数字生活科技有限公司 一种自定义生成邮件的方法和系统
CN116938610A (zh) * 2023-09-19 2023-10-24 北京傲星科技有限公司 基于拟态架构的邮件系统
CN116938610B (zh) * 2023-09-19 2023-11-17 北京傲星科技有限公司 基于拟态架构的邮件系统
CN117478670A (zh) * 2023-12-28 2024-01-30 彩讯科技股份有限公司 基于pst文件协议解析的Exchange数据迁移方法、系统和介质
CN117478670B (zh) * 2023-12-28 2024-04-26 彩讯科技股份有限公司 基于pst文件协议解析的Exchange数据迁移方法、系统和介质

Also Published As

Publication number Publication date
CN110855555A (zh) 2020-02-28
CN110855555B (zh) 2023-04-07

Similar Documents

Publication Publication Date Title
WO2021093673A1 (fr) Procédé, appareil et dispositif d'envoi de courrier électronique, et support de stockage lisible par ordinateur
CN108920659B (zh) 数据处理系统及其数据处理方法、计算机可读存储介质
US10437907B2 (en) Link expansion service
JP5247983B2 (ja) アクション可能な電子メールドキュメント
US20110185024A1 (en) Embeddable metadata in electronic mail messages
US8346878B2 (en) Flagging resource pointers depending on user environment
CA3061623C (fr) Envoi de fichiers dans une application de messagerie instantanee
CN108737252B (zh) 基于区块链的信息推送方法及装置
US9348811B2 (en) Obtaining data from electronic documents
US20130232424A1 (en) User operation detection system and user operation detection method
CN112311654A (zh) 即时通讯消息的处理方法、装置、介质及电子设备
CN103810268A (zh) 加载搜索结果推荐信息、网址检测的方法、装置和系统
CN112631557A (zh) 生成接口代码和/或接口文档的方法、装置及存储介质
TW200524381A (en) Multi-language wireless email transmission method for mobile communication
CN112286815A (zh) 一种接口测试脚本的生成方法及其相关设备
CN113159970A (zh) 数据格式转换方法、装置、系统、电子设备及存储介质
CN106453582B (zh) 异步消息推送方法及系统
AU2018390863B2 (en) Computer system and method for extracting dynamic content from websites
WO2010105521A1 (fr) Procédé de traitement de courrier et dispositif associé
US20130205188A1 (en) Dynamic sharing and updating of an electronic form
JP2009211278A (ja) 携帯端末を利用した検索システムおよびその検索方法
US20210273900A1 (en) Methods and systems for processing electronic messages
JP4885678B2 (ja) コンテンツ作成装置及びコンテンツ作成方法
US9584695B2 (en) Information processing apparatus and information processing system
US9071571B2 (en) Interaction via short message service messages with wireless markup language based websites

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20888509

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20888509

Country of ref document: EP

Kind code of ref document: A1