CN113312132B - Mail sending method, device, equipment and storage medium - Google Patents

Mail sending method, device, equipment and storage medium Download PDF

Info

Publication number
CN113312132B
CN113312132B CN202110667265.7A CN202110667265A CN113312132B CN 113312132 B CN113312132 B CN 113312132B CN 202110667265 A CN202110667265 A CN 202110667265A CN 113312132 B CN113312132 B CN 113312132B
Authority
CN
China
Prior art keywords
objects
mail
content
mailbox
tables
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
CN202110667265.7A
Other languages
Chinese (zh)
Other versions
CN113312132A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110667265.7A priority Critical patent/CN113312132B/en
Publication of CN113312132A publication Critical patent/CN113312132A/en
Application granted granted Critical
Publication of CN113312132B publication Critical patent/CN113312132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Strategic Management (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)

Abstract

The embodiment of the application provides a mail sending method, a device, equipment and a storage medium, wherein the mail sending method comprises the following steps: displaying a content editing interface; editing mail content in a content editing interface, wherein the mail content comprises a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an ith object, i and M are positive integers, and i is less than or equal to M; generating M mails according to mail content and object information of M objects; the method comprises the steps that object information comprises an object identifier and a mailbox address, wherein an ith mail piece in M mails is generated by adopting the object identifier of the ith object to replace a name replacement placeholder in mail content and adding the mailbox address of the ith object; m mail pieces are sent to M objects respectively. By adopting the embodiment of the application, the sending efficiency and the using experience of the mail can be improved.

Description

Mail sending method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technology, and in particular, to the field of internet technology, and in particular, to a mail sending method, a mail sending device, a mail sending apparatus, and a computer readable storage medium.
Background
Email is a communication means that provides information exchange by electronic means; with rapid development and progress of internet technology, email is one of the services with wider internet applications. In the application scenario of e-mails, there is a need for sending e-mails in batches, where sending e-mails in batches refers to sending the same mail content to multiple receiving users, that is, the mail content received by different receiving users is the same; in the process of sending the emails in batches, the sender user needs to execute repeated copy and paste operations for a plurality of times to copy the mailbox addresses of the receiver users into the emails, which can lead to very low sending efficiency of the emails; in addition, the mail content received by the plurality of receiving users is the same, which can bring poor mail use experience to the receiving users and the sending users.
Disclosure of Invention
The embodiment of the application provides a mail sending method, device, equipment and storage medium, which can improve the sending efficiency and the use experience of mails.
In one aspect, an embodiment of the present application provides a mail sending method, where the mail sending method includes:
Displaying a content editing interface;
editing mail content in a content editing interface, wherein the mail content comprises a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an ith object, i and M are positive integers, and i is less than or equal to M;
generating M mails according to mail content and object information of M objects; the method comprises the steps that object information comprises an object identifier and a mailbox address, wherein an ith mail piece in M mails is generated by adopting the object identifier of the ith object to replace a name replacement placeholder in mail content and adding the mailbox address of the ith object;
m mail pieces are sent to M objects respectively.
In one aspect, an embodiment of the present application provides a mail sending device, including:
a display unit for displaying the content editing interface;
the display unit is also used for editing mail content in the content editing interface, wherein the mail content comprises a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an ith object, i and M are positive integers, and i is less than or equal to M;
the processing unit is used for generating M mails according to mail content and object information of M objects; the method comprises the steps that object information comprises an object identifier and a mailbox address, wherein an ith mail piece in M mails is generated by adopting the object identifier of the ith object to replace a name replacement placeholder in mail content and adding the mailbox address of the ith object;
And the processing unit is also used for respectively sending the M mail pieces to the M objects.
In one implementation, the replacement placeholder includes associated location indication information, where the associated location indication information is used to indicate a storage address of object information of the M objects; the mail content establishes an association relationship with the M objects based on the association position indication information.
In one implementation, object information of M objects is summarized and stored in the same table;
column A of the table is used for storing object identifications of M objects, column B of the table is used for storing mailbox addresses of M objects, and the object identifications and the mailbox addresses of the same object are positioned on the same row of the table;
or, row C of the table is used for storing object identifications of M objects, row D of the table is used for storing mailbox addresses of M objects, and the object identifications and mailbox addresses of the same object are located in the same column of the table;
the associated position indication information contains position indications of rows or columns or cells where object identifications of M objects are located in a table.
In one implementation, object information of the M objects is distributed and stored in at least two tables, any two tables in the at least two tables being represented as a j-th table and a k-th table; object information of any P objects in M objects is stored in a j-th table; object information of any Q objects except P objects in M objects is stored in a k-th table; wherein j, k, P, Q is a positive integer, the values of j and k are smaller than or equal to the total number of at least two tables, and P is smaller than M, Q and smaller than M;
The column A of the jth table is used for storing object identifiers of P objects, the column B of the jth table is used for storing mailbox addresses of the P objects, and the object identifiers and the mailbox addresses of the same object in the P objects are positioned in the same row of the jth table;
the row C of the kth table is used for storing the object identifications of the Q objects, the row D of the kth table is used for storing the mailbox addresses of the Q objects, and the object identifications and the mailbox addresses of the same object in the Q objects are positioned in the same column of the kth table;
the associated position indication information comprises table identifications of at least two tables and position indications of rows or columns or cells of object identifications of M objects in the at least two tables.
In one implementation, the replacement placeholder is referred to as a marker; in the designation of the replacement placeholder, the display relationship between the marker and the associated position indication information includes any one of the following:
the marker is displayed as a prefix, and the associated position indication information is displayed at a position adjacent to the prefix;
the marker is displayed as a suffix, and the associated position indication information is displayed at a neighboring position in front of the suffix;
the associated position indication information is carried hidden in the marker.
In one implementation, the processing unit is configured to, when generating M mail according to mail content and object information of M objects, specifically perform the following steps:
taking i=1, and reading an object identifier and a mailbox address of an i-th object according to the associated position indication information in the named replacement placeholder;
adopting the object identification of the ith object to replace a name replacement placeholder in the mail content to obtain updated mail content;
adding a receiver address for the updated mail content, wherein the receiver address is a mailbox address of an ith object;
generating an ith email according to the updated email content and the addressee address;
taking i=i+1, and i+1 is less than or equal to M, repeating the steps until the object information of M objects is traversed, and generating M mail.
In one implementation, the content editing interface includes an object association entry; the display unit is further used for executing the following steps:
when the object association entry is selected, a table selection window is displayed, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between mail content and M objects stored in the N tables, wherein N is a positive integer;
And adding association position indication information in a title replacement placeholder in the content editing interface according to the established association relation.
In one implementation, the display unit is further configured to perform the steps of:
when a title replacement placeholder is input in a content editing interface, outputting a table selection window, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a title replacement placeholder in the content editing interface according to the established association relation.
In one implementation, the display unit is further configured to perform the steps of:
when the table identification of any one table in the table selection window is selected, displaying a preview window of the selected table, wherein the preview window comprises object information of one or more objects stored in the selected table;
when screening is performed in the selected form, an association is established between the mail content and the object in the selected form that is being screened.
In one implementation, the display unit is further configured to perform the steps of:
when the table identification of any table in the table selection window is selected, displaying a preview window of the selected table;
and editing the selected table in the preview window, and updating the content stored in the selected table according to the editing operation.
In one implementation, object information of M objects is stored in N tables, the tables being online tables, N being a positive integer; the display unit is further used for executing the following steps:
and sharing the N tables into a plurality of sharing users for collaborative editing, and updating the N tables according to the collaborative editing result.
In one implementation, the content editing interface is a document content editing interface in the document content editing client, the document content editing interface including a mailbox binding entry; the display unit is further used for executing the following steps:
when the mailbox binding entry is selected, a mailbox binding window is displayed, wherein the mailbox binding window comprises a mailbox address filling column;
filling a mailbox address of a target user in a mailbox address filling column, and binding the mailbox address of the target user with a document content editing client; and determining the mailbox address of the target user as the sender address of the M emails.
In one implementation, the display unit is further configured to perform the steps of:
and sharing the mail content to a plurality of sharing users for collaborative editing, and updating the mail content according to the collaborative editing result.
In one implementation, the content editing interface is a mail content editing interface in a mail client, the mail client being bound to a mailbox address of a target user; the processing unit is further used for executing the following steps:
and determining the mailbox address of the target user as the address of the sender of the M mails.
In one aspect, an embodiment of the present application provides a mail sending apparatus including a processor and a computer-readable storage medium, wherein:
a processor adapted to implement a computer program; and a computer readable storage medium storing a computer program adapted to be loaded by the processor and to perform the mail sending method described above.
Accordingly, embodiments of the present application provide a computer-readable storage medium storing a computer program that, when read and executed by a processor of a computer device, causes the computer device to perform the mail sending method described above.
Accordingly, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the mail transmission method described above.
According to the embodiment of the application, through intelligent association of mail content and a plurality of objects, a plurality of mails can be automatically generated according to the mail content and object information of the plurality of objects, and the generated plurality of mails are respectively sent to the plurality of objects, and one object corresponds to one mail; wherein, mail content can include name substitution placeholder, object information can include object identification and mailbox address; in the process of automatically generating multiple mails, the object identification of any object can be adopted to replace the name replacement placeholder in the mail content, and the mailbox address of the object is added to generate a personalized mail of the object. Therefore, the mails can be automatically generated and sent in batches according to the mail content and the object information of the plurality of objects, so that the sending efficiency of the mails is improved; in addition, the mailbox address can be automatically added, so that the time cost caused by repeated copying and pasting operations of the mailbox address by a sender user can be reduced, and the mail use experience of the sender user can be improved while the mail sending efficiency is improved; the object identification is adopted to replace the name replacement placeholder in the mail content, so that the mail content received by each receiving user is different and personalized, and the mail use experience of the receiving user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a schematic diagram of an email provided in an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a method for sending mail according to an exemplary embodiment of the present application;
FIG. 3a illustrates an interface diagram of a mail sending method according to an exemplary embodiment of the present application;
FIG. 3b is an interface diagram illustrating a method for sending mail according to another exemplary embodiment of the present application;
FIG. 3c is a schematic diagram illustrating a storage manner of object information according to an exemplary embodiment of the present application;
FIG. 3d is a schematic diagram illustrating a storage manner of object information according to another exemplary embodiment of the present application;
FIG. 3e illustrates an interface diagram of a mail generation process provided by an exemplary embodiment of the present application;
Fig. 4 is a schematic flow chart of a mail sending method according to another exemplary embodiment of the present application;
FIG. 5a is an interface diagram illustrating a mailbox address binding process provided by one exemplary embodiment of the present application;
FIG. 5b is an interface diagram illustrating a manner in which mail content and object information are associated according to an exemplary embodiment of the present application;
FIG. 5c is an interface diagram illustrating a manner of associating mail content with object information according to another exemplary embodiment of the present application;
FIG. 5d illustrates an interface diagram of an object screening process provided in an exemplary embodiment of the present application;
fig. 6 is a schematic flow chart of a mail sending method according to another exemplary embodiment of the present application;
FIG. 7a is a flow chart illustrating an object information acquisition process according to an exemplary embodiment of the present application;
FIG. 7b is a flow chart illustrating a mail generation process provided in an exemplary embodiment of the present application;
fig. 8 is a schematic diagram of a scenario of a mail sending method according to an exemplary embodiment of the present application;
fig. 9 is a schematic diagram showing a mail sending method according to an exemplary embodiment of the present application;
Fig. 10 is a schematic diagram showing a structure of a mail transmission apparatus according to an exemplary embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Embodiments of the present application relate to email. By email is meant an information exchange means by which an sender user sends the content of a mail to one or more recipient users; the sender user and the receiver user can send and receive e-mails through the internet or other networks (such as local area networks); generally, emails may include, but are not limited to, at least one of the following: sender address (i.e. sender user's mailbox address), recipient address (i.e. recipient user's mailbox address), mail content, mail sending time; the mail content may include a mail subject, a mail body, a mail attachment, etc., which is an attached file that is sent along with the electronic mail, and the mail attachment may be, for example, audio, image, video, document, form, etc. FIG. 1 is a schematic diagram of an email provided in an exemplary embodiment of the present application, where the email shown in FIG. 1 includes: sender address 101 (e.g., "XXX-1@XXX.com" shown in FIG. 1), recipient address 102 (e.g., "XXX-2@XXX.com" shown in FIG. 1), mail sending time 103 (e.g., "XXXX year XX month XX day 20:00:00" shown in FIG. 1), mail content 104.
Based on the above description of the email, the embodiment of the application provides a email sending scheme, which can automatically generate multiple emails according to the email content and object information of multiple objects associated with the email content, where one object corresponds to one email, and the email mentioned in the embodiment of the application may be an email. Wherein the object may include a user, an enterprise, an organization, etc., and the object information may include an object identification (e.g., a user name, an enterprise name, an organization name, etc.) and a mailbox address; the mail content may include a title replacement placeholder, which is a symbol that occupies a position in the mail content and may be replaced by title information (e.g., an object identifier) that is indicated by the title replacement placeholder, and the title information is displayed at the position occupied by the title replacement placeholder in the mail content during the replacing process. The mail corresponding to any one object can be generated by adopting the object identification of the object to automatically replace the name replacement placeholder in the mail content and automatically adding the mailbox address of the object, so that the time cost brought by repeatedly executing the operation of copying and pasting the mailbox address by a sender user can be reduced, and the mail use experience of the sender user can be improved while the mail sending efficiency is improved. And for a plurality of receiving users (namely a plurality of objects), the mail content received by each receiving user is different and personalized, so that the mail use experience of the receiving user can be improved. In addition, the mail content and the object information can also support sharing and collaborative editing, wherein the collaborative editing of the mail content refers to the process that a plurality of users edit the mail content at the same time or in the same time period, and the mail content can be refreshed in real time according to the collaborative editing result; similarly, collaborative editing of object information refers to a process in which multiple users edit object information at the same time or in the same time period, and the object information can be refreshed in real time according to the collaborative editing result; by performing collaborative editing on the mail content and the object information, the time cost for a plurality of users to edit the mail content and the object information respectively can be reduced, and the sharing property and timeliness of the mail content and the object information can be increased.
It should be noted that, the mail sending scheme provided in the embodiment of the present application may be executed by a terminal, where the terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, a smart television, and the like, but is not limited thereto.
It should be further noted that, the mail sending scheme provided in the embodiment of the present application may also relate to technologies such as cloud computing and cloud storage; among them, cloud Computing (Cloud Computing) is a Computing mode that distributes Computing tasks over a resource pool of a large number of computers, enabling various application systems to acquire Computing power, storage space, and information services as needed. The network that provides the resources is referred to as the "cloud". The resources in the "cloud" appear to the user to be infinitely expandable and available at any time, on demand, expandable at any time, pay-per-use. Cloud computing may refer to the delivery and usage model of IT (Internet Technology ) infrastructure, meaning that required resources are obtained in an on-demand, easily scalable manner over a network; generalized cloud computing refers to the delivery and usage patterns of services, meaning that the required services are obtained in an on-demand, easily scalable manner over a network. Such services may be IT, software, internet related, or other services. Cloud Computing is a product of fusion of traditional computer and network technology developments such as Grid Computing (Grid Computing), distributed Computing (Distributed Computing), parallel Computing (Parallel Computing), utility Computing (Utility Computing), network storage (Network Storage Technologies), virtualization (Virtualization), load balancing (Load balancing), and the like. With the development of the internet, real-time data flow and diversification of connected devices, and the promotion of demands of search services, social networks, mobile commerce, open collaboration and the like, cloud computing is rapidly developed. Unlike the previous parallel distributed computing, the generation of cloud computing will promote the revolutionary transformation of the whole internet mode and enterprise management mode in concept. Cloud Storage (Cloud Storage) is a new concept that extends and develops in the concept of Cloud computing, and a distributed Cloud Storage system (hereinafter referred to as a Storage system for short) refers to a Storage system that integrates a large number of Storage devices (Storage devices are also referred to as Storage nodes) of various types in a network to work cooperatively through application software or application interfaces through functions such as cluster application, grid technology, and a distributed Storage file system, so as to provide data Storage and service access functions for the outside. At present, the storage method of the storage system is as follows: when creating logical volumes, each logical volume is allocated a physical storage space, which may be a disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as data identification (Identity, ID) and the like, the file system writes each object into a physical storage space of the logical volume respectively, and the file system records storage position information of each object, so that when the client requests to access the data, the file system can enable the client to access the data according to the storage position information of each object. The process of allocating physical storage space for the logical volume by the storage system specifically includes: physical storage space is divided into stripes in advance according to the group of capacity measures for objects stored on a logical volume (which measures tend to have a large margin with respect to the capacity of the object actually to be stored) and redundant array of independent disks (Redundant Array of Independent Disk, RAID), and a logical volume can be understood as a stripe, whereby physical storage space is allocated to a logical volume.
According to the mail sending scheme, the calculation power provided by the cloud computing technology can be adopted in the process of generating M mails according to the mail content and the object information of M objects, so that the mail generation speed can be greatly increased, and the mail sending efficiency is further improved. In addition, mail content and object information of M objects can be stored by adopting a cloud storage technology, so that storage space can be saved.
Based on the above description, the mail transmission scheme will be described in more detail with reference to the embodiments shown in fig. 2, 4 and 6. Referring to fig. 2, fig. 2 is a flowchart illustrating a mail sending method provided in an exemplary embodiment of the present application, where the mail sending method may be performed by a terminal, and the mail sending method may include the following steps S201 to S204:
s201, displaying a content editing interface.
The terminal can run a plurality of clients, and the clients can be any one of the following: a stand-alone application, API (Application Programming Interface ), or SDK (Software Development Kit, software development kit). In one implementation, the content editing interface may be a document content editing interface in the document content editing client, and the display content editing interface is a document content editing interface that displays the document content editing client; fig. 3a shows an interface schematic diagram of a mail sending method according to an exemplary embodiment of the present application, and as shown in fig. 3a, the content editing interface 30 is a document content editing interface. In another implementation, the content editing interface may be a mail content editing interface in the mail client, and the display content editing interface is a mail content editing interface for displaying the mail client; fig. 3b is an interface schematic diagram of a mail sending method according to another exemplary embodiment of the present application, and as shown in fig. 3b, the content editing interface 30 is a mail content editing interface.
S202, editing mail content in a content editing interface.
After the content editing interface is displayed, the mail content may be edited in the content editing interface. As is known from the description in the above step S201, the content editing interface may be a document content editing interface in the document content editing client, that is, mail content may be edited in the document content editing interface as shown in fig. 3 a. Alternatively, the content editing interface may be a mail content editing interface in the mail client, that is, mail content may be edited in the mail content editing interface as shown in fig. 3 b.
Mail content may be associated with M objects based on the title replacement placeholders. Specifically, the mail content may include a name substitution placeholder, where the name substitution placeholder may include associated location indication information, where the associated location indication information may be used to indicate a storage address of object information of M objects, where M is a positive integer; that is, mail content may establish an association relationship with M objects based on the association position indication information in the title replacement placeholder; the establishment of the association relationship between the mail content and the M objects can be understood as follows: in the process of generating the mail, when the name substitution placeholder is read in the mail content, the object information of the M objects can be accessed based on the storage address of the object information of the M objects indicated by the associated position indication information in the name substitution placeholder, the object information of the M objects can be read from the storage address of the object information of the M objects, and then the M mail can be generated according to the mail content and the object information of the M objects.
The reference replacement placeholder may further comprise a marker, the marker may be used for marking the reference replacement placeholder, and the marker may be used for marking the reference replacement placeholder as follows: in generating the mail, when the tag is read in the mail content, it may be determined that there is a so-called alternate placeholder in the mail content. In the designation of the replacement placeholder, the display relationship between the marker and the associated position indication information may include any one of the following: (1) The marker can be displayed as a prefix, and the associated position indication information is displayed at a position adjacent to the prefix; that is, the marker is displayed before, and the associated position indication information is displayed at a position after the marker; that is, the so-called replacement placeholder may be expressed as "marker+associated location indication information"; as shown in fig. 3a, the replacement placeholder is referred to as "$a", and the marker "$" is displayed before the associated position indication information "a". (2) The marker can be displayed as a suffix, and the associated position indication information is displayed at a neighboring position in front of the suffix; that is, the associated position indication information is displayed before, and the marker is displayed at a position after the associated position indication information; that is, the so-called replacement placeholder may be expressed as "associated position indication information+marker"; as shown in fig. 3b, the replacement placeholder is referred to as "table 1A; table 2C; the $ ", the tag" $ "is displayed in the associated position indication information table 1A; table 2C; "after". (3) The associated position indication information may be hidden and carried in the marker, wherein the hidden and carried means that the associated position indication information is carried in the marker, but only the marker is displayed in the name of the replacement placeholder, and the associated position indication information is not displayed. Therefore, the storage addresses of the object information of the M objects indicated by the associated position indication information can be displayed more intuitively by displaying the associated position indication information in the name replacement placeholder; by hiding the associated location indication information in the title replacement placeholder, interface space of the content editing interface can be saved.
The object information of the M objects may be stored together in the same table, the object information of the M objects may be stored in at least two tables in a distributed manner, and the storage manner of the object information of the M objects is different from the display manner of the associated position indication information for indicating the storage address of the object information of the M objects, and the display manner of the associated position indication information is described below in two cases where the object information of the M objects is stored together in the same table and the object information of the M objects is stored in at least two tables in a distributed manner:
(1) Object information of the M objects is summarized and stored in the same table, and the object information may include an object identifier and an object address.
In one implementation, when object information of M objects is summarized and stored in the same table, column a of the table may be used to store object identifiers of the M objects, column B of the table may be used to store mailbox addresses of the M objects, and the object identifiers and the mailbox addresses of the same object are located in the same row of the table; in this implementation, the associated location indication information may include a location indication of a column or cell in which the object identifications of the M objects are located in the table. FIG. 3c is a schematic diagram showing a storage manner of object information according to an exemplary embodiment of the present application, where, as shown in FIG. 3c, object identifiers (such as Zhang three, lifour, etc.) of 7 objects are stored in column A of a table, and mailbox addresses (such as zhangsa n@XXX.com, etc.) of 7 objects are stored in column B of the table; then the associated position indication information may include a position indication of the column of the object identifier of the 7 objects in the table, i.e. the associated position indication information may be denoted as "a"; or, the object identifiers of the 7 objects are stored in the cells A2 to A8 of the table, and then the associated position indication information may include a position indication of the cell where the object identifier of the 7 objects is located in the table, that is, the associated position indication information may be expressed as "a2:a8"; where "A2" represents a cell formed by crossing the a-th column of the table with the 2 nd row of the table, and similarly "A8" represents a cell formed by crossing the a-th column of the table with the 8 th row of the table, and "a2:a8" represents an area formed by increasing from the cell A2 to the cell A8 in columns in the table.
In another implementation, when the object information of M objects is summarized and stored in the same table, row C of the table may be used to store object identifiers of M objects, and row D of the table may be used to store mailbox addresses of M objects, where the object identifiers and mailbox addresses of the same object are located in the same column of the table; in this implementation, the associated location indication information may include a location indication of a row or cell in the table where the object identifications of the M objects are located. FIG. 3D is a schematic diagram showing a storage manner of object information according to another exemplary embodiment of the present application, where, as shown in FIG. 3D, object identifiers (e.g. Wu Ten) of 1 object are stored in row C of the table, and mailbox addresses (e.g. wushi@XXX.com) of 1 object are stored in row D of the table; then the associated position indication information may contain a position indication of the row of the object identification of 1 object in the table, i.e. the associated position indication information may be denoted as "C"; or, the object identifiers of the 1 objects are stored in the 2C cells of the table, and then the associated position indication information may include a position indication of the cell in which the object identifier of the 1 object is located in the table, that is, the associated position indication information may be expressed as "2C"; where "2C" represents a cell formed by the intersection of column 2 of the table with row C of the table.
It should be noted that, in the embodiment of the present application, the english letters are used to represent the position indication of the column or row where the object identifier of the M objects is located in the table, and the combination of the english letters and the arabic numerals is used to represent the position indication of the cell where the object identifier of the M objects is located in the table, where these representation modes are only used for examples; in an actual application scenario, the indication mode of the position indication may also be other forms, for example, an english letter is used to indicate the position indication of the column where the object identifier of the M objects is located in the table, an arabic numeral is used to indicate the position indication of the row where the object identifier of the M objects is located in the table, a uppercase english letter is used to indicate the position indication of the column where the object identifier of the M objects is located in the table, a lowercase english letter is used to indicate the position indication of the row where the object identifier of the M objects is located in the table, a combination of uppercase english letter and lowercase english letter is used to indicate the position indication of the cell where the object identifier of the M objects is located in the table, and so on.
(2) Object information of the M objects is distributed and stored in at least two tables, and the object information may include an object identification and a mailbox address.
Any two tables of the at least two tables can be represented as a j-th table and a k-th table; object information of any P objects in M objects is stored in a j-th table; object information of any Q objects except P objects in M objects is stored in a k-th table; wherein j, k, P, Q is a positive integer, the values of j and k are smaller than or equal to the total number of the at least two tables, and P < M, Q < M; the column A of the jth table is used for storing object identifiers of P objects, the column B of the jth table is used for storing mailbox addresses of the P objects, and the object identifiers and the mailbox addresses of the same object in the P objects are positioned in the same row of the jth table; the row C of the kth table is used for storing the object identifications of the Q objects, the row D of the kth table is used for storing the mailbox addresses of the Q objects, and the object identifications and the mailbox addresses of the same object in the Q objects are positioned in the same column of the kth table; the associated position indication information may include table identifiers of at least two tables, and a position indication of a row or column or cell where an object identifier including M objects is located in the at least two tables. For example, object information of 8 objects is stored in two tables shown in fig. 3c and 3d, object information of 7 objects is stored in the table shown in fig. 3c, and object information of another 1 object is stored in the table shown in fig. 3 d; wherein, the object identifiers of 7 objects are stored in column A of the table shown in FIG. 3c, and the mailbox addresses of 7 objects are stored in column B of the table shown in FIG. 3 c; the object identification of the other 1 object is stored in row C of the table shown in fig. 3D, and the mailbox address of the other 1 object is stored in row D of the table shown in fig. 3D; the table of the table shown in fig. 3c is identified as table 1, and the table of the table shown in fig. 3d is identified as table 2; then the associated location indication information may be represented as "table 1A; table 2C ", the object identification distribution representing 8 objects is stored in column a of the table whose table identification is" table 1 "shown in fig. 3C and row C of the table whose table identification is" table 2 "shown in fig. 3 d; the associated location indication information may also be expressed as "table 1a2: a8; table 22C ", which represents an object identification distribution of 8 objects, is stored in the table identified as" table 1 "shown in fig. 3C, with cell A2 beginning to increment by column to the area formed by cell A8, and in cell 2C of the table identified as" table 2 "shown in fig. 3 d.
S203, generating M mails according to mail content and object information of M objects.
Any one of the M objects can be expressed as an ith object, the ith object corresponds to an ith mail piece in the M mail, and the ith mail piece is generated by adopting an object identifier of the ith object to replace a name-replacing placeholder in mail content and adding a mailbox address of the ith object. The interface schematic diagrams of the mail sending methods shown in fig. 3a and 3b show the ith mail piece 31, the generation process of the ith mail piece 31 can be referred to fig. 3e, fig. 3e shows a schematic diagram of a mail generation process provided in an exemplary embodiment of the present application, and as shown in fig. 3e, a substitution placeholder in the mail content in the ith mail piece is substituted by an object identifier "Zhang three" of the ith object, and a mailbox address "zhangsan@XXX.com" of the ith object is added as a recipient address to the ith mail piece. In addition, as shown in fig. 3a, in the process of generating the ith email according to the email content and the object information of the ith object, the content of the first row in the email content can be "Zhang Sanyouhao," which is the investigation from the XX document, "as the email subject of the ith email, in this way, the email subject can be automatically determined in the email content, so that the email generating process is more intelligent.
The specific process of generating the M mail according to the mail content and the object information of the M objects may include: firstly, taking i=1, and reading an object identifier and a mailbox address of an i-th object according to the associated position indication information in the named replacement placeholder; secondly, the object identification of the ith object can be adopted to replace the name replacement placeholder in the mail content, so that updated mail content is obtained; and adding a receiver address for the updated mail content, wherein the receiver address is the mailbox address of the ith object, and the ith mail can be generated according to the updated mail content and the receiver address; and then taking i=i+1, wherein i+1 is less than or equal to M, and repeating the steps of reading the object identification and the mailbox address, adopting the object identification to replace the name to replace the placeholder and adding the mailbox address until the object information of M objects is traversed, and generating M mail.
Taking the table in which the object identifications of M objects are summarized and stored in fig. 3c as an example, the position indication "a column" of the column where the object identifications of M objects are located in the table indicated by the association position indication information "a" in the substitution placeholder "$a" may be referred to, the object identification "Zhang san" of the 1 st object is read from the a column of the table, and the mailbox address "zhangsan@XXX.com" of the 1 st object is read from the cell B2 of the same row as the cell A2 where the object identifications of the 1 st object are located in the B column of the table; then the 1 st mail can be generated according to the mail content, the object identification of the 1 st object and the mailbox address of the 1 st object; then the table can be traversed according to the columns, and the object identification and the mailbox address of the 2 nd object are read from the table until the object identification and the mailbox address of the 7 objects are traversed, and 7 mail pieces are generated.
Taking the example that the object identifications of the M objects are distributed and stored in two tables shown in fig. 3c and 3d, the placeholder can be replaced according to the name "table 1A; table 2C; the associated location indication information in $ "", table 1A; table 2C; reading an object identifier of the 1 st object, namely 'Zhang san', from an A column of a first table with a table identifier of 'table 1', and reading a mailbox address of the 1 st object from a cell B2 which is positioned in the same row with a cell A2 in which the object identifier of the 1 st object is positioned in a B column of the first table; then the 1 st mail can be generated according to the mail content, the object identification of the 1 st object and the mailbox address of the 1 st object; then the first table can be traversed according to the columns, the object identification and the mailbox address of the 2 nd object are read from the first table until the object identification and the mailbox address of the 7 objects are traversed, and after 7 mail pieces are generated, the first table is traversed. After the first table is traversed, the object identifier "Wu Shi" of the 8 th object may be read from the row C of the second table identified as "table 2", the mailbox address "wushi@XXX.com" of the 8 th object is read from the row D of the second table and the cell 2D of the same column as the cell 2C where the object identifier of the 8 th object is located, and then the 8 th email may be generated according to the email content, the object identifier of the 8 th object and the mailbox address of the 8 th object, where the two tables are traversed, so as to generate the 8 emails.
The content editing interface may include a mail generation control, which may be used to trigger generation of M mail according to mail content and object information of M objects. When the mail generation control is selected, M mails can be generated according to mail content and object information of M objects. As shown in fig. 3a, the content editing interface 30 includes a mail generation control 301, and the generated M mail may also be displayed in the content editing interface 30, that is, the M mail may be previewed in the content editing interface 30, and the mail corresponding to the object "Zhang san" is displayed in the content editing interface shown in fig. 3 a. In addition, any one or more mails in the M mails can be deleted in the content editing interface, so that the mail deletion requirement of the sender user is met, and the mail use experience of the sender user is further improved.
S204, respectively sending the M mail pieces to the M objects.
A mailing control may be included in the content editing interface, which may be used to trigger a mailing event. When the mail sending control is selected, the mails such as M can be respectively sent to M objects according to the addressee addresses of the M mails; as shown in fig. 3a, a mail transmission control 302 may be included in the content editing interface 30. It should be noted that, the function of the mail generation control and the function of the mail sending control may be integrated in the same control, for example, integrated in the mail sending control, that is, when the mail sending control is selected, M mails may be generated according to the mail content and the object information of M objects, and after the M mails are generated, the M mails may be automatically sent to the M objects respectively; as shown in fig. 3b, the functionality of the mail generation control and the functionality of the mail transmission control are integrated in the mail transmission control 302 displayed in the content editing interface 30. Or, the content editing interface may include a mail sending control, and the mail sending control is not included, after the mail content editing is completed and the association relationship between the mail content and the M objects is established, the M mail may be automatically generated according to the mail content and the object information of the M objects, and after the M mail is generated, the M mail may not be automatically sent to the M objects respectively, but when the mail sending control is selected, the M mail may be sent to the M objects respectively.
According to the embodiment of the application, the mails can be automatically generated and sent in batches according to the mail content and the object information of the plurality of objects, so that the sending efficiency of the mails is improved; in addition, the mailbox address can be automatically added, so that the time cost caused by repeated copying and pasting operations of the mailbox address by a sender user can be reduced, and the mail use experience of the sender user can be improved while the mail sending efficiency is improved; the object identification is adopted to replace the name replacement placeholder in the mail content, so that the mail content received by each receiving user is different and personalized, and the mail use experience of the receiving user is improved. The storage modes of the object information of the M objects are various, the object information of the M objects can be summarized and stored in the same table, the object information of the M objects can be distributed and stored in at least two tables, the storage modes of the object information of the M objects are different, and the display modes of the associated position indication information for indicating the storage addresses of the object information of the M objects are correspondingly different, so that the object information can be quickly acquired based on the associated position indication information in the mail generation process, and the mail generation efficiency is improved.
Fig. 4 is a flowchart illustrating a mail sending method according to another exemplary embodiment of the present application, where the mail sending method may be performed by a terminal, and the mail sending method may include the following steps S401 to S405:
s401, displaying a content editing interface.
As can be seen from the description of step S201 in the embodiment shown in fig. 2, the content editing interface may be a document content editing interface in a document content editing client, or may be a mail content editing interface in a mail client. In one implementation, when the content editing interface is a document content editing interface in the document content editing client, the document content editing client may be bound to a mailbox address of the target user, and the mailbox address of the target user is determined as a sender address of the M email. The process of binding the document content editing client with the mailbox address of the target user may be referred to as fig. 5a, fig. 5a is an interface schematic diagram illustrating the mailbox address binding process provided in an exemplary embodiment of the present application, and the process of binding the document content editing client with the mailbox address of the target user may be referred to as follows: the document content editing interface 50 may include a mailbox binding entry 501, and when the mailbox binding entry 501 is selected, a mailbox binding window 502 may be displayed, and the mailbox binding window 502 may include a mailbox address filling field 503 and a binding confirmation option 504; the mailbox address of the target user (e.g., "mubiao@XXX.com") may be filled in the mailbox address filling field 503, and after filling in the mailbox address of the target user, when the binding confirmation option 504 is selected, the mailbox address of the target user may be bound with the document content editing client, and the mailbox address of the target user may be determined as the sender address of the M-mail. The mailbox binding window 502 may further include a user identifier filling field 505 and a mailbox password filling field 506, where the user identifier filling field 505 may be used to fill in a user identifier (e.g., "sabiao") of the target user, and the mailbox password filling field 506 may be used to fill in a mailbox password (e.g., "mailbox password") of the target user. In another implementation, when the content editing interface is a mail content editing interface in the mail client, the mail client may already be bound to the mailbox address of the target user, and then the mailbox address of the target user may be directly determined as the sender address of the M mail.
Except for the above, the execution process of step S401 in the embodiment of the present application is the same as the execution process of step S201 in the embodiment of fig. 2, and the description of step S201 in the embodiment of fig. 2 is referred to above, and is not repeated here.
S402, editing mail content in a content editing interface.
After the content editing interface is displayed, the mail content may be edited in the content editing interface. In addition, when the content editing interface is a document content editing interface in the document content editing client, the document content editing client may be an online document client, and the online document client may support a plurality of users to perform collaborative editing on the document content in the online document client, that is, support the plurality of users to view or edit the document content at the same time or in the same time period, and may update the document content in real time according to the collaborative editing result; that is, mail content can be shared with a plurality of sharing users for collaborative editing, then mail content can be updated according to the result of collaborative editing, M new mails are generated according to the updated mail content and the objects of M objects, and the M new mails are respectively sent to the M objects. By collaborative editing of the mail content, time cost of editing the mail content by a plurality of sharing users can be reduced, sharing of the mail content can be enhanced, and the mail content can be updated in real time according to the collaborative editing result, so that timeliness of the mail content can be enhanced.
Except for the above, the execution process of step S402 in the embodiment of the present application is the same as the execution process of step S202 in the embodiment of fig. 2, and the description of step S202 in the embodiment of fig. 2 is omitted here.
S403, establishing association relation between mail content and M objects.
The triggering modes for establishing the association relation between the mail content and the M objects can comprise two triggering modes, wherein one triggering mode can be triggered through an object association entry in the content editing interface, the other triggering mode can be triggered when a name substitution placeholder is input in the content editing interface, and the following description is respectively carried out on the association process between the mail content and the M objects under the two triggering modes:
(1) Triggering through an object association entry in the content editing interface. The content editing interface can comprise an object association entry, when the object association entry is selected, a table selection window can be displayed, the table selection window can comprise table identifiers of a plurality of tables, and each table can store object information of one or more objects; when the table identification of N tables is selected in the table selection window, an association relationship can be established between the mail content and M objects stored in the N tables, wherein N is a positive integer; then, according to the established association relationship, association position indication information can be added in the title replacement placeholder in the content editing interface, and the association position indication information can be used for indicating the storage addresses of the object information of the M objects in the N tables. In addition, if there are a plurality of (e.g., two or more) name-substitution placeholders in the mail content, the associated position indication information may be added to each name-substitution placeholder in the content editing interface.
FIG. 5b is a schematic diagram of an interface of a manner of associating mail content with object information according to an exemplary embodiment of the present application, where, as shown in FIG. 5b, the content editing interface 30 may include an object association entry 303, and when the object association entry 303 is selected, a table selection window 304 may be displayed, where the table selection window 304 may include table identifiers of multiple tables, for example, table 1, table 2, and table 3; when the first table identified as "table 1" in the table selection window 304 and the second table identified as "table 2" in the table selection window 304 are selected, and the association determination option 305 in the table selection window 304 is selected, an association relationship may be established between the mail content and the objects stored in the first table, the second table, and then the association position indication information "table 1" may be displayed in the title-replace placeholder; table 2; if the mail content shown in fig. 5b includes two name-substituted placeholders, the associated position indication information table 1 may be added to both of the two name-substituted placeholders included in the mail content; table 2; ".
(2) Triggering when a title replacement placeholder is input in a content editing interface. When a title replacement placeholder is input in the content editing interface, for example, when a marker "$" in the title replacement placeholder is input in the content editing interface, a table selection window may be output, a table identifier of a plurality of tables may be included in the table selection window, and object information of one or more objects may be stored in each table; when the table identification of N tables is selected in the table selection window, an association relationship can be established between the mail content and M objects stored in the N tables, wherein N is a positive integer; and then, according to the established association relation, adding association position indication information in the title replacement placeholder in the content editing interface, wherein the association position indication information can be used for indicating the storage addresses of the object information of the M objects in the N tables.
FIG. 5c is a schematic diagram of an interface of a manner of associating mail content with object information according to another exemplary embodiment of the present application, where, as shown in FIG. 5c, when a tag "$" in a title replacement placeholder is input in the content editing interface 30, a table selection window 304 may be displayed, where table identifiers of multiple tables, such as table 1, table 2, and table 3, may be included in the table selection window 304; when the first table identified as "table 1" in the table selection window 304 and the second table identified as "table 2" in the table selection window 304 are selected, and the association determination option 305 in the table selection window 304 is selected, an association relationship may be established between the mail content and the objects stored in the first table, the second table, and then the association position indication information "table 1" may be displayed in the title-replace placeholder; table 2; ".
In summary, the (1) and (2) can be used for triggering and establishing the association relation between the mail content and the M objects through the object association entry in the content editing interface, and also can be used for establishing the association relation between the mail content and the M objects when the name substitution placeholder is input, so that the manner of triggering and establishing the association relation is flexible and various, a user can select any one of the manners to establish the association relation, and the requirements of various mail content editing and mail content association of the user are met.
In addition, when the form identifier of any form in the form selection window is selected, a preview window of the selected form may be displayed, and the preview window may include object information of one or more objects stored in the selected form; when screening is performed in the selected form, an association relationship can be established between the mail content and the objects in the selected form; then, according to the established association relationship, association position indication information can be added in the title replacement placeholder in the content editing interface, and at this time, the association position indication information can be used for indicating the storage address of the object information of the object under screening. FIG. 5d is a schematic diagram illustrating an interface of an object screening process according to an exemplary embodiment of the present application, as shown in FIG. 5d, when the form identifier 306 of the first form in the form selection window 304 is selected, a preview window 307 of the first form may be displayed; when the cell where the object "li" and the object "wang" are located in the preview window 307 is selected, an association relationship may be established between the mail content and the object "li" and the object "wang", and then, according to the established association relationship, association position indication information "table 1a3:a4" may be added in the title replacement placeholder in the content editing interface, where the association position indication information "table 1a3:a4" is used to indicate that the object identifications of the object "li" and the object "wang" are stored in the cell A3 and the cell A4 of the first table whose table identification is "table 1". Through the screening function provided by the preview window, the user can select the object needing to be associated with the mail content in the preview window more intuitively and clearly without associating the mail content with all objects stored in the selected form, so that the association process is more selective.
When the table identification of any one table in the table selection window is selected, a preview window of the selected table can be displayed, and the preview window can comprise object information of one or more objects stored in the selected table; the selected form may be edited in the preview window and the content stored in the selected form may be updated according to the editing operation, where the editing operation may include, but is not limited to, at least one of: adding object information of an object in the preview window, deleting object information of an object in the preview window, modifying object information of an original object in the preview window, and the like. After editing the selected form, the selected form may be screened, an association relationship may be established between the mail content and the object in the selected form, and association position indication information may be added in the title replacement placeholder in the content editing interface according to the established association relationship. By the real-time editing function provided by the preview window, the object information stored in the table can be updated in real time in the association process, new object information is added, and wrong object information is deleted or modified, so that timeliness of the object information associated with the mail content is enhanced.
Object information of the M objects can be stored in N tables, the N tables can be online tables or local tables, and N is a positive integer; the online form is a form which can support a plurality of users to perform collaborative editing, namely, the form is supported to be checked or edited by the plurality of users at the same time or in the same time period, and the form can be updated in real time according to the collaborative editing result, and the online form is generally stored in a cloud, for example, in a cloud server; the local table is a table that does not support collaborative editing by a plurality of users, and is generally stored in a local storage space, for example, a storage space of a terminal. When the N tables are online tables, the N tables can be shared to a plurality of users for collaborative editing, and then the N tables can be updated according to the collaborative editing result. By cooperatively editing the N tables, object information of M objects stored in the N tables can be updated in real time, new object information is added, and wrong object information is deleted or modified, so that timeliness of the object information can be enhanced, time cost for respectively editing the object information by a plurality of sharing users can be reduced by cooperatively editing, and sharing of the object information can be enhanced.
It should be noted that, in the embodiment of the present application, the execution sequence of step S402 and step S403 is not sequential, that is, the execution sequence of the step of editing the mail content in the content editing interface and the step of establishing the association relationship between the mail content and the M objects is not sequential; after the association relation is established between the mail content and M objects, the association position indication information can be added in the name substitution placeholder of the mail content; or, in the process of editing the mail content in the content editing interface, an association relationship is established between the mail content and the M objects, for example, a marker in a name substitution placeholder is input in the content editing interface, so as to trigger the establishment of the association relationship between the mail content and the M objects; alternatively, after the association relationship between the mail content and the M objects is established, the mail content may be edited in the content editing interface, where the establishment of the association relationship between the mail content and the M objects may be understood as: and after the mail content containing the title replacement placeholders is edited in the content editing interface, the association relationship is automatically established between the mail content and the M objects.
S404, generating M mails according to mail content and object information of M objects.
The execution process of step S404 in the embodiment of the present application is the same as the execution process of step S203 in the embodiment of fig. 2, and reference may be made to the description of step S203 in the embodiment of fig. 2, which is not repeated here.
S405, M mail pieces are respectively sent to M objects.
The execution process of step S405 in the embodiment of the present application is the same as the execution process of step S204 in the embodiment of fig. 2, and the description of step S204 in the embodiment of fig. 2 is omitted here.
According to the embodiment of the application, the mails can be automatically generated and sent in batches according to the mail content and the object information of the plurality of objects, so that the sending efficiency of the mails is improved; in addition, the mailbox address can be automatically added, so that the time cost caused by repeated copying and pasting operations of the mailbox address by a sender user can be reduced, and the mail use experience of the sender user can be improved while the mail sending efficiency is improved; the object identification is adopted to replace the name replacement placeholder in the mail content, so that the mail content received by each receiving user is different and personalized, and the mail use experience of the receiving user is improved. In addition, the mail content and the M pieces of object information support sharing and collaborative editing, so that the time cost for respectively editing the mail content and the object information by a plurality of users can be reduced, the sharing property of the mail content and the object information can be enhanced, the object information and the mail content can be updated in real time according to the collaborative editing result, and the timeliness of the mail content and the object information is enhanced. In addition, the association relation between the mail content and the M objects can be triggered and established through the object association entry of the content editing interface, and the association relation between the mail content and the object information of the M objects can be triggered and established in the process of inputting the name substitution placeholder in the content editing interface, so that the association requirement of various mail contents of users is met.
Fig. 6 is a schematic flow chart of a mail sending method according to another exemplary embodiment of the present application, where the embodiment shown in fig. 6 is an example in which the content editing interface is a document content editing interface in a document content editing client, and the whole flow of the mail sending method is described, and the mail sending method may be specifically executed by the document content editing client running in the terminal, and the mail sending method may include the following steps S601 to S609:
s601, acquiring a mail binding request initiated by a target user.
A target user can initiate a mail binding request to a document content editing client through a mailbox binding entry in a document content editing interface; it can be understood that the target user selects the mailbox binding entry in the document content editing interface, and the document content editing client can generate a mail binding request according to the operation of the target user selecting the mailbox binding entry and acquire the mail binding request.
S602, binding the document content editing client with the mailbox address of the target user.
The process of binding the document content editing client with the mailbox address of the target user may refer to the specific description of step S401 in the embodiment shown in fig. 4, and after binding the document content editing client with the mailbox address of the target user, the mailbox address of the target user may be determined as the sender address of the M mail.
S603, acquiring mail content input by the target user in a mail editing interface.
S604, establishing association relation between mail content and M objects.
The process of establishing the association relationship between the mail content and the M objects can be described in detail in step S403 in the embodiment shown in fig. 4. The mail content can comprise a name substitution placeholder, object information of M objects can be stored in N tables, and N is a positive integer; mail content may be associated with M objects based on associated location indication information contained in the title replacement placeholder, which may be used to indicate storage addresses of object information of the M objects in the N tables.
S605, a mail generation request initiated by a target user is acquired.
The target user can initiate a mail generation request to the document content editing client through a mail generation control in the document content editing interface; it can be understood that the target user selects the mail generation control in the document content editing interface, and the document content editing client can generate a mail binding request according to the operation that the target user selects the mail generation control, and acquire the mail binding request.
S606, object information of M objects is acquired.
S607, generating M mail according to mail content and object information of M objects.
In steps S606 to S607, the document content editing client may sequentially acquire object information of M objects from the N tables, and generate M emails according to the email content and the object information of M objects. Taking n=1, that is, object information of M objects is stored in the same table as an example, and describing the process of obtaining object information of M objects with reference to the flowchart shown in fig. 7a, describing the process of generating M emails with reference to the flowchart shown in fig. 7b, specifically may be described as follows:
fig. 7a is a schematic flow chart of an object information obtaining process according to an exemplary embodiment of the present application, where the object information obtaining process shown in fig. 7a may include: (1) Reading mail content edited in a content editing interface; (2) When the name replacement placeholder is read in the mail content, the associated position indication information can be acquired from the name replacement placeholder; as can be seen from the foregoing, the reference replacement placeholder may include a marker and associated location indicating information, and when the marker is read from the mail content, it may be determined that the reference replacement placeholder is read, and then the associated location indicating information may be obtained from a neighboring location after the marker, or the associated location indicating information may be obtained from a neighboring location before the marker, or the associated location indicating information hidden and carried in the marker may be obtained. (3) The associated position information may include a position indication, and the position indication included in the associated position indication information may be detected; if the position indication contained in the associated position indication information is a line position indication, the line position indication can be used for indicating that the object identifications of the M objects are stored in a C line of the table, the line number can be kept fixed, and the object information of the M objects is obtained in the C line in a sequential increasing mode according to the line until the object information of the M objects is traversed; if the position indication included in the associated position indication information is a column position indication, the column position indication may be used to indicate that object identifiers of M objects are stored in column a of the table, and the column number may be kept fixed, and object information of M objects may be obtained by sequentially increasing in column a according to rows until the object information of M objects is traversed.
Fig. 7b is a schematic flow chart of a mail generating process according to an exemplary embodiment of the present application, where fig. 7b illustrates a mail generating process by taking a column position indication as a position indication included in the associated position indication information, and the mail generating process may include: (1) The mail content edited in the content editing interface is read. (2) When the title replacement placeholder is read in the mail content, the associated position indication information may be read from the title replacement placeholder, and the associated position indication information may include a column position indication, where the column position indication may be used to indicate that object identifiers of M objects are stored in column a of the table. (3) The initialized index value may be indicated according to a column position included in the associated position indication information, and the initialized index value may be used to indicate a cell formed by crossing the a column of the table with the first row of the table. (4) The object identifier may be obtained from the cell indicated by the initialized index value, and the obtained object identifier may be used to replace a name replacement placeholder in the mail content, so as to obtain updated mail content. (5) Mailbox address matching may be performed in a row where a cell indicated by the initialized index value is located, and mailbox address matching performed in a row where a cell indicated by the initialized index value is located means that: determining the cells with the same number of rows and one column increased as the number of the cells indicated by the initialized index value, and acquiring the mailbox address from the determined cells, namely acquiring the mailbox address from the cells formed by intersecting the column B of the table with the first row of the table, if the mailbox address is acquired, successfully matching the mailbox address, and if the mailbox address is not acquired, not successfully matching the mailbox address; if the mail address is successfully matched, the mail address can be added into updated mail content as a receiver address, a mail is generated, and the mail is sent to the matched mail address; if the mailbox address is not successfully matched, updating the index value, wherein the updated index value can be used for indicating a cell formed by intersecting the column A of the table with the second row of the table; the processes described in step (4) and step (5) may then be repeated until the cells indicated by the updated index values do not store the object identifiers, i.e., until the object information of the M objects is traversed, to generate M emails.
When the object information of M objects is stored in at least two tables, the process is similar to the process when the object information of M objects is stored in the same table, the process starts from the first table according to the steps (1) to (5), and after the first table is traversed, the process continues to traverse the second table according to the steps (1) to (5) until all the tables storing the object information of M objects are traversed, and M seal is generated.
S608, acquiring a mail sending request sent by the target user.
The target user can initiate a mail sending request to the document content editing client through a mail sending control in the document content editing interface; it can be understood that the target user selects the mail sending control in the document content editing interface, and the document content editing client can generate a mail binding request according to the operation that the target user selects the mail sending control, and acquire the mail binding request.
S609, the M mail pieces are respectively sent to the M objects.
In the embodiment of the application, when M mail pieces are respectively sent to M objects, the M mail pieces are sent based on a mail transmission protocol; the mail transfer protocol may be, for example, SMTP (Simple Mail Transfer Protocol ), which is a set of specifications for transferring mail from a source address (i.e., a mailbox address of a target user) to a destination address (i.e., mailbox addresses of M objects), by which a transfer manner of the mail can be controlled, and SMTP belongs to a TCP/IP (Transmission Control Protocol/Internet Protoc ol ) protocol cluster, and can find a next destination when sending or transferring the mail; the TCP/IP protocol cluster refers to a protocol cluster capable of implementing information transmission between a plurality of different networks.
It should be noted that the mail generation request and the mail transmission request may be the same request, that is, when the document content editing client obtains the mail generation request or the mail transmission request, M pieces of mail may be generated according to the mail content and object information of M objects; after the M-mail pieces are generated, the M-mail pieces may be automatically sent to the M objects, respectively. Or the mail generation request and the mail sending request are different requests, and when the document content editing client acquires the mail generation request, M mails can be generated according to the mail content and object information of M objects; when the document content editing client acquires the mail sending request, the M email may be sent to the M objects, respectively. Alternatively, only the mail transmission request may exist, and no mail generation request may exist; in this case, after object information of M objects is obtained and an association relationship is established between mail content and M objects, M mails may be automatically generated according to the mail content and the object information of M objects; the generated M mail is not automatically sent to the M objects, and when the document content editing client acquires a mail sending request, the M mail can be sent to the M objects respectively.
According to the embodiment of the application, the object information of the plurality of objects in the table is traversed in a row increment or column increment mode, so that the traversing completeness and traversing accuracy of the object information can be ensured; mail can be automatically generated and sent in batches according to mail content and object information of a plurality of objects, and the sending efficiency of the mail is effectively improved; and the mail contents in the generated mails are different, so that the personalized requirements of batch generation of mails are met, and the mail generation process is flexible and various.
In summary, the mail generating method provided in the embodiments of the present application may be summarized as a scenario diagram shown in fig. 8, fig. 8 shows a scenario diagram of a mail sending method provided in an exemplary embodiment of the present application, where a target user (for example, user a shown in fig. 8) and multiple sharing users (for example, user B shown in fig. 8) may be employees of a certain company; when the company has a need to send mails to multiple clients (i.e., multiple objects) in batches, the target user may trigger the document content editing client to bind the mailbox address of the target user with the document content editing client. Secondly, the target user can edit the mail content in a document content editing interface of the document content editing client, and trigger the document content editing client to correlate the mail content with N tables storing client information of a plurality of clients so as to correlate the mail content with the client information of the plurality of clients, wherein the client information can comprise client identifications (such as user names, enterprise names and the like) and mailbox addresses of the clients; the target user can share the mail content with a plurality of sharing users, the target user and the sharing users carry out collaborative editing, and the document content editing client can update the mail content according to the collaborative editing result to obtain updated mail content; the target user can share the N tables with a plurality of sharing users, so that the target user and the sharing users can cooperatively edit the client information in the N tables, and the document content editing client can update the client information of a plurality of clients according to the result of the cooperative editing to obtain updated client information. Then, the document content editing client can generate a plurality of mails according to the mail content and the client information of a plurality of clients, and respectively send the plurality of mails to the plurality of clients, wherein one client corresponds to one mail.
Therefore, when the requirement of sending the mails to a plurality of clients in batches exists, the complicated operation of sending the mails in batches by the sender user can be avoided, the mail sending efficiency is improved, the mail using requirement of the sender user can be improved, and the requirement of sending personalized mails in batches by enterprises can be met; for clients, the mails received by each client are personalized mails containing client identifications (such as user names and company names) of the clients, but not mass-sending mails with the same mail content, so that the sense of the client to the company or the enterprise can be improved, and the mail using experience is improved.
The foregoing details of the method of embodiments of the present application are set forth in order to provide a better understanding of the foregoing aspects of embodiments of the present application, and accordingly, the following provides a device of embodiments of the present application.
Referring to fig. 9, fig. 9 is a schematic diagram showing a structure of a mail sending device according to an exemplary embodiment of the present application, where the mail sending device may be provided in a mail sending apparatus according to an embodiment of the present application, and the mail sending apparatus may be a terminal mentioned in the foregoing method embodiment; in some embodiments, the mail generating means may be a client (e.g. a document content editing client or mail client, etc. as described above) running in a mail generating device, and the mail sending means may be adapted to perform the respective steps in the method embodiments shown in fig. 2, 4 or 6. Referring to fig. 9, the mail transmission apparatus may include the following units:
A display unit 901 for displaying a content editing interface;
the display unit 901 is further configured to edit mail content in the content editing interface, where the mail content includes a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an i-th object, i and M are both positive integers, and i is less than or equal to M;
a processing unit 902, configured to generate M mail according to mail content and object information of M objects; the method comprises the steps that object information comprises an object identifier and a mailbox address, wherein an ith mail piece in M mails is generated by adopting the object identifier of the ith object to replace a name replacement placeholder in mail content and adding the mailbox address of the ith object;
the processing unit 902 is further configured to send M email to M objects respectively.
In one implementation, the replacement placeholder includes associated location indication information, where the associated location indication information is used to indicate a storage address of object information of the M objects; the mail content establishes an association relationship with the M objects based on the association position indication information.
In one implementation, object information of M objects is summarized and stored in the same table;
column A of the table is used for storing object identifications of M objects, column B of the table is used for storing mailbox addresses of M objects, and the object identifications and the mailbox addresses of the same object are positioned on the same row of the table;
Or, row C of the table is used for storing object identifications of M objects, row D of the table is used for storing mailbox addresses of M objects, and the object identifications and mailbox addresses of the same object are located in the same column of the table;
the associated position indication information contains position indications of rows or columns or cells where object identifications of M objects are located in a table.
In one implementation, object information of the M objects is distributed and stored in at least two tables, any two tables in the at least two tables being represented as a j-th table and a k-th table; object information of any P objects in M objects is stored in a j-th table; object information of any Q objects except P objects in M objects is stored in a k-th table; wherein j, k, P, Q is a positive integer, the values of j and k are smaller than or equal to the total number of at least two tables, and P < M, Q < M;
the column A of the jth table is used for storing object identifiers of P objects, the column B of the jth table is used for storing mailbox addresses of the P objects, and the object identifiers and the mailbox addresses of the same object in the P objects are positioned in the same row of the jth table;
the row C of the kth table is used for storing the object identifications of the Q objects, the row D of the kth table is used for storing the mailbox addresses of the Q objects, and the object identifications and the mailbox addresses of the same object in the Q objects are positioned in the same column of the kth table;
The associated position indication information comprises table identifications of at least two tables and position indications of rows or columns or cells of object identifications of M objects in the at least two tables.
In one implementation, the replacement placeholder is referred to as a marker; in the designation of the replacement placeholder, the display relationship between the marker and the associated position indication information includes any one of the following:
the marker is displayed as a prefix, and the associated position indication information is displayed at a position adjacent to the prefix;
the marker is displayed as a suffix, and the associated position indication information is displayed at a neighboring position in front of the suffix;
the associated position indication information is carried hidden in the marker.
In one implementation, the processing unit 902 is configured to, when generating M mail according to mail content and object information of M objects, specifically perform the following steps:
taking i=1, and reading an object identifier and a mailbox address of an i-th object according to the associated position indication information in the named replacement placeholder;
adopting the object identification of the ith object to replace a name replacement placeholder in the mail content to obtain updated mail content;
adding a receiver address for the updated mail content, wherein the receiver address is a mailbox address of an ith object;
Generating an ith email according to the updated email content and the addressee address;
taking i=i+1, and i+1 is less than or equal to M, repeating the steps until the object information of M objects is traversed, and generating M mail.
In one implementation, the content editing interface includes an object association entry; the display unit 901 is further configured to perform the following steps:
when the object association entry is selected, a table selection window is displayed, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a title replacement placeholder in the content editing interface according to the established association relation.
In one implementation, the display unit 901 is further configured to perform the following steps:
when a title replacement placeholder is input in a content editing interface, outputting a table selection window, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
When the table identification of N tables is selected in the table selection window, establishing an association relationship between mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a title replacement placeholder in the content editing interface according to the established association relation.
In one implementation, the display unit 901 is further configured to perform the following steps:
when the table identification of any one table in the table selection window is selected, displaying a preview window of the selected table, wherein the preview window comprises object information of one or more objects stored in the selected table;
when screening is performed in the selected form, an association is established between the mail content and the object in the selected form that is being screened.
In one implementation, the display unit 901 is further configured to perform the following steps:
when the table identification of any table in the table selection window is selected, displaying a preview window of the selected table;
and editing the selected table in the preview window, and updating the content stored in the selected table according to the editing operation.
In one implementation, object information of M objects is stored in N tables, the tables being online tables, N being a positive integer; the display unit 901 is further configured to perform the following steps:
And sharing the N tables into a plurality of sharing users for collaborative editing, and updating the N tables according to the collaborative editing result.
In one implementation, the content editing interface is a document content editing interface in the document content editing client, the document content editing interface including a mailbox binding entry; the display unit 901 is further configured to perform the following steps:
when the mailbox binding entry is selected, a mailbox binding window is displayed, wherein the mailbox binding window comprises a mailbox address filling column;
filling a mailbox address of a target user in a mailbox address filling column, and binding the mailbox address of the target user with a document content editing client; and determining the mailbox address of the target user as the sender address of the M emails.
In one implementation, the display unit 901 is further configured to perform the following steps:
and sharing the mail content to a plurality of sharing users for collaborative editing, and updating the mail content according to the collaborative editing result.
In one implementation, the content editing interface is a mail content editing interface in a mail client, the mail client being bound to a mailbox address of a target user; the processing unit 902 is further configured to perform the following steps:
And determining the mailbox address of the target user as the address of the sender of the M mails.
According to one embodiment of the present application, the various method steps involved in the method shown in fig. 2, 4 or 6 may be performed by various units in the mail sending device shown in fig. 9. For example, steps S201 to S202 shown in fig. 2 may be performed by the display unit 901 shown in fig. 9, and steps S203 to S204 shown in fig. 2 may be performed by the processing unit 902 shown in fig. 9. As another example, steps S401 to S402 shown in fig. 4 may be performed by the display unit 901 shown in fig. 9, and steps S403 to S405 shown in fig. 4 may be performed by the processing unit 902 shown in fig. 9. For another example, steps S601 to S609 shown in fig. 6 may be performed by the processing unit 902 shown in fig. 9.
According to another embodiment of the present application, each unit in the mail sending device shown in fig. 9 may be separately or completely combined into one or several other units, or some unit(s) thereof may be further split into a plurality of units with smaller functions, which may achieve the same operation without affecting the implementation of the technical effects of the embodiments of the present application. The above units are divided based on logic functions, and in practical applications, the functions of one unit may be implemented by a plurality of units, or the functions of a plurality of units may be implemented by one unit. In other embodiments of the present application, the mail sending device may also include other units, and in practical applications, these functions may also be implemented with assistance of other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present application, the mail transmission apparatus as shown in fig. 9, and the mail transmission method of the present application may be implemented by running a computer program (including program code) capable of executing the steps involved in the respective methods as shown in fig. 2, 4 or 6 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like, and a storage element. The computer program may be recorded on, for example, a computer readable storage medium, and loaded into and executed by the computing device described above.
According to the embodiment of the application, through intelligent association of mail content and a plurality of objects, a plurality of mails can be automatically generated according to the mail content and object information of the plurality of objects, and the generated plurality of mails are respectively sent to the plurality of objects, and one object corresponds to one mail; wherein, mail content can include name substitution placeholder, object information can include object identification and mailbox address; in the process of automatically generating multiple mails, the object identification of any object can be adopted to replace the name replacement placeholder in the mail content, and the mailbox address of the object is added to generate a personalized mail of the object. Therefore, the mails can be automatically generated and sent in batches according to the mail content and the object information of the plurality of objects, so that the sending efficiency of the mails is improved; in addition, the mailbox address can be automatically added, so that the time cost caused by repeated copying and pasting operations of the mailbox address by a sender user can be reduced, and the mail use experience of the sender user can be improved while the mail sending efficiency is improved; the object identification is adopted to replace the name replacement placeholder in the mail content, so that the mail content received by each receiving user is different and personalized, and the mail use experience of the receiving user is improved.
Referring to fig. 10, fig. 10 shows a schematic structural diagram of a mail sending device according to an exemplary embodiment of the present application, where the mail sending device includes at least a processor 1001, a computer readable storage medium 1002, and a communication interface 1003. Wherein the processor 1001, the computer-readable storage medium 1002, and the communication interface 1003 may be connected by a bus or other means. Communication interface 1003 may include input devices and output devices; wherein a keyboard or touch screen in the input device may be used to capture user input operations (e.g., user clicking on mailbox binding entry, object association entry), a radio frequency receiver in the input device may be used to obtain mail binding requests, mail sending requests, etc.; the output device may output a content editing interface, mail content, mail, etc., to the user. The computer readable storage medium 1002 may be stored in a memory, the computer readable storage medium 1002 for storing a computer program, the computer program comprising computer instructions. The processor 1001 is for executing computer instructions. The processor 1001 (or CPU (Central Processing Unit, central processing unit)) is a computing core and a control core of the mail sending device, which is adapted to implement one or more computer instructions, in particular to load and execute one or more computer instructions to implement a corresponding method flow or a corresponding function.
The embodiment of the application also provides a computer readable storage medium (Memory), which is a Memory device in the mail sending device, for storing programs and data. It is understood that the computer readable storage medium 1002 herein may include a built-in storage medium in the mail sending device, and may include an extended storage medium supported by the mail sending device, of course. The computer-readable storage medium provides a storage space that stores an operating system of the mail sending device. Also stored in this memory space are one or more computer instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor 1001. Note that the computer readable storage medium 1002 can be either a high-speed RAM Memory or a Non-Volatile Memory (Non-Volatile Memory), such as at least one magnetic disk Memory; optionally, at least one computer readable storage medium remotely located from the processor 1001.
The mail sending device may be a terminal mentioned in the above-mentioned method embodiment, and the computer readable storage medium 1002 stores therein a computer program, where the computer program includes one or more computer instructions; one or more computer instructions are loaded and executed by the processor 1001 to implement the corresponding steps in the method embodiments shown in fig. 2, 4, or 6; in particular implementations, computer instructions in computer readable storage medium 1002 are loaded by processor 1001 and perform the steps of:
Displaying a content editing interface;
editing mail content in a content editing interface, wherein the mail content comprises a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an ith object, i and M are positive integers, and i is less than or equal to M;
generating M mails according to mail content and object information of M objects; the method comprises the steps that object information comprises an object identifier and a mailbox address, wherein an ith mail piece in M mails is generated by adopting the object identifier of the ith object to replace a name replacement placeholder in mail content and adding the mailbox address of the ith object;
m mail pieces are sent to M objects respectively.
In one implementation, the replacement placeholder includes associated location indication information, where the associated location indication information is used to indicate a storage address of object information of the M objects; the mail content establishes an association relationship with the M objects based on the association position indication information.
In one implementation, object information of M objects is summarized and stored in the same table;
column A of the table is used for storing object identifications of M objects, column B of the table is used for storing mailbox addresses of M objects, and the object identifications and the mailbox addresses of the same object are positioned on the same row of the table;
Or, row C of the table is used for storing object identifications of M objects, row D of the table is used for storing mailbox addresses of M objects, and the object identifications and mailbox addresses of the same object are located in the same column of the table;
the associated position indication information contains position indications of rows or columns or cells where object identifications of M objects are located in a table.
In one implementation, object information of the M objects is distributed and stored in at least two tables, any two tables in the at least two tables being represented as a j-th table and a k-th table; object information of any P objects in M objects is stored in a j-th table; object information of any Q objects except P objects in M objects is stored in a k-th table; wherein j, k, P, Q is a positive integer, the values of j and k are smaller than or equal to the total number of at least two tables, and P < M, Q < M;
the column A of the jth table is used for storing object identifiers of P objects, the column B of the jth table is used for storing mailbox addresses of the P objects, and the object identifiers and the mailbox addresses of the same object in the P objects are positioned in the same row of the jth table;
the row C of the kth table is used for storing the object identifications of the Q objects, the row D of the kth table is used for storing the mailbox addresses of the Q objects, and the object identifications and the mailbox addresses of the same object in the Q objects are positioned in the same column of the kth table;
The associated position indication information comprises table identifications of at least two tables and position indications of rows or columns or cells of object identifications of M objects in the at least two tables.
In one implementation, the replacement placeholder is referred to as a marker; in the designation of the replacement placeholder, the display relationship between the marker and the associated position indication information includes any one of the following:
the marker is displayed as a prefix, and the associated position indication information is displayed at a position adjacent to the prefix;
the marker is displayed as a suffix, and the associated position indication information is displayed at a neighboring position in front of the suffix;
the associated position indication information is carried hidden in the marker.
In one implementation, when computer instructions in the computer readable storage medium 1002 are loaded by the processor 1001 and execute to generate M mail according to mail content and object information of M objects, the following steps are specifically executed:
taking i=1, and reading an object identifier and a mailbox address of an i-th object according to the associated position indication information in the named replacement placeholder;
adopting the object identification of the ith object to replace a name replacement placeholder in the mail content to obtain updated mail content;
Adding a receiver address for the updated mail content, wherein the receiver address is a mailbox address of an ith object;
generating an ith email according to the updated email content and the addressee address;
taking i=i+1, and i+1 is less than or equal to M, repeating the steps until the object information of M objects is traversed, and generating M mail.
In one implementation, the content editing interface includes an object association entry; computer instructions in the computer-readable storage medium 1002 are loaded by the processor 1001 and further for performing the steps of:
when the object association entry is selected, a table selection window is displayed, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a title replacement placeholder in the content editing interface according to the established association relation.
In one implementation, computer instructions in computer-readable storage medium 1002 are loaded by processor 1001 and are also used to perform the steps of:
When a title replacement placeholder is input in a content editing interface, outputting a table selection window, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a title replacement placeholder in the content editing interface according to the established association relation.
In one implementation, computer instructions in computer-readable storage medium 1002 are loaded by processor 1001 and are also used to perform the steps of:
when the table identification of any one table in the table selection window is selected, displaying a preview window of the selected table, wherein the preview window comprises object information of one or more objects stored in the selected table;
when screening is performed in the selected form, an association is established between the mail content and the object in the selected form that is being screened.
In one implementation, computer instructions in computer-readable storage medium 1002 are loaded by processor 1001 and are also used to perform the steps of:
When the table identification of any table in the table selection window is selected, displaying a preview window of the selected table;
and editing the selected table in the preview window, and updating the content stored in the selected table according to the editing operation.
In one implementation, object information of M objects is stored in N tables, the tables being online tables, N being a positive integer; computer instructions in the computer-readable storage medium 1002 are loaded by the processor 1001 and further for performing the steps of:
and sharing the N tables into a plurality of sharing users for collaborative editing, and updating the N tables according to the collaborative editing result.
In one implementation, the content editing interface is a document content editing interface in the document content editing client, the document content editing interface including a mailbox binding entry; computer instructions in the computer-readable storage medium 1002 are loaded by the processor 1001 and further for performing the steps of:
when the mailbox binding entry is selected, a mailbox binding window is displayed, wherein the mailbox binding window comprises a mailbox address filling column;
filling a mailbox address of a target user in a mailbox address filling column, and binding the mailbox address of the target user with a document content editing client; and determining the mailbox address of the target user as the sender address of the M emails.
In one implementation, computer instructions in computer-readable storage medium 1002 are loaded by processor 1001 and are also used to perform the steps of:
and sharing the mail content to a plurality of sharing users for collaborative editing, and updating the mail content according to the collaborative editing result.
In one implementation, the content editing interface is a mail content editing interface in a mail client, the mail client being bound to a mailbox address of a target user; computer instructions in the computer-readable storage medium 1002 are loaded by the processor 1001 and further for performing the steps of:
and determining the mailbox address of the target user as the address of the sender of the M mails.
According to the embodiment of the application, through intelligent association of mail content and a plurality of objects, a plurality of mails can be automatically generated according to the mail content and object information of the plurality of objects, and the generated plurality of mails are respectively sent to the plurality of objects, and one object corresponds to one mail; wherein, mail content can include name substitution placeholder, object information can include object identification and mailbox address; in the process of automatically generating multiple mails, the object identification of any object can be adopted to replace the name replacement placeholder in the mail content, and the mailbox address of the object is added to generate a personalized mail of the object. Therefore, the mails can be automatically generated and sent in batches according to the mail content and the object information of the plurality of objects, so that the sending efficiency of the mails is improved; in addition, the mailbox address can be automatically added, so that the time cost caused by repeated copying and pasting operations of the mailbox address by a sender user can be reduced, and the mail use experience of the sender user can be improved while the mail sending efficiency is improved; the object identification is adopted to replace the name replacement placeholder in the mail content, so that the mail content received by each receiving user is different and personalized, and the mail use experience of the receiving user is improved.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the mail transmission method provided in the above-described various alternative manners.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A mail sending method, characterized in that the method comprises:
displaying a content editing interface;
editing mail content in the content editing interface, wherein the mail content comprises a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an ith object, i and M are positive integers, and i is less than or equal to M; the mail content is associated with the M objects, including: associating the mail content with N tables storing object information of the M objects to associate the mail content with the M objects, wherein the object information of the M objects comprises object identifications and mailbox addresses of the M objects, and N is a positive integer;
Generating M mails according to the mail content and the object information of the M objects; the method comprises the steps that an ith mail piece in M mails is generated by replacing a name replacement placeholder in the mail content by an object identifier of the ith object and adding a mailbox address of the ith object;
and respectively sending the M mail pieces to the M objects.
2. The method of claim 1, wherein the title replacement placeholder includes associated location indication information, the associated location indication information being used to indicate a storage address of object information of the M objects;
and the mail content establishes an association relation with the M objects based on the association position indication information.
3. The method of claim 2, wherein object information of the M objects is stored together in the same table;
the column A of the table is used for storing object identifiers of the M objects, the column B of the table is used for storing mailbox addresses of the M objects, and the object identifiers and the mailbox addresses of the same object are located in the same row of the table;
or, the row C of the table is used for storing object identifiers of the M objects, the row D of the table is used for storing mailbox addresses of the M objects, and the object identifiers and the mailbox addresses of the same object are located in the same column of the table;
The associated position indication information comprises position indications of rows or columns or cells where object identifications of the M objects are located in the table.
4. The method of claim 2, wherein the object information distribution of the M objects is stored in at least two tables, any two tables of the at least two tables being represented as a j-th table and a k-th table; object information of any P objects in the M objects is stored in the jth table; object information of any Q objects except the P objects in the M objects is stored in the kth table; wherein j, k, P, Q is a positive integer, the values of j and k are smaller than or equal to the total number of the at least two tables, and P < M, Q < M;
the column A of the jth table is used for storing object identifiers of the P objects, the column B of the jth table is used for storing mailbox addresses of the P objects, and the object identifiers and mailbox addresses of the same object in the P objects are positioned in the same row of the jth table;
the row C of the kth table is used for storing the object identifications of the Q objects, the row D of the kth table is used for storing the mailbox addresses of the Q objects, and the object identifications and the mailbox addresses of the same object in the Q objects are positioned in the same column of the kth table;
The associated position indication information comprises table identifiers of the at least two tables and position indications of rows or columns or cells where the object identifiers of the M objects are located in the at least two tables.
5. The method of claim 2, wherein the title replacement placeholder further comprises a marker; in the title replacement placeholder, the display relationship between the marker and the associated position indication information includes any one of the following:
the marker is displayed as a prefix, and the associated position indication information is displayed at a position adjacent to the prefix;
the marker is displayed as a suffix, and the associated position indication information is displayed at a neighboring position in front of the suffix;
the associated position indication information is carried hidden in the marker.
6. The method according to any one of claims 2 to 5, wherein generating M mails according to the mail content and object information of the M objects comprises:
taking i=1, and reading an object identifier and a mailbox address of the i-th object according to the associated position indication information in the title replacement placeholder;
Replacing the title replacement placeholder in the mail content by adopting the object identifier of the ith object to obtain updated mail content;
adding a receiver address for the updated mail content, wherein the receiver address is the mailbox address of the ith object;
generating the ith email according to the updated email content and the addressee address;
taking i=i+1, and i+1 is less than or equal to M, and repeating the steps until the object information of the M objects is traversed, and generating the M mail.
7. The method of claim 1, wherein the content editing interface includes an object association entry therein; the method further comprises the steps of:
when the object association entry is selected, a table selection window is displayed, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between the mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a name substitution placeholder in the content editing interface according to the established association relation.
8. The method of claim 1, wherein the method further comprises:
when the title replacement placeholder is input in the content editing interface, outputting a table selection window, wherein the table selection window comprises table identifiers of a plurality of tables, and object information of one or more objects is stored in each table;
when the table identification of N tables is selected in the table selection window, establishing an association relationship between the mail content and M objects stored in the N tables, wherein N is a positive integer;
and adding association position indication information in a name substitution placeholder in the content editing interface according to the established association relation.
9. The method of claim 7 or 8, wherein the method further comprises:
when the table identification of any table in the table selection window is selected, displaying a preview window of the selected table, wherein the preview window comprises object information of one or more objects stored in the selected table;
when screening is performed in the selected form, an association relationship is established between the mail content and the objects in the selected form.
10. The method of claim 7 or 8, wherein the method further comprises:
when the table identification of any table in the table selection window is selected, displaying a preview window of the selected table;
and editing the selected table in the preview window, and updating the stored content of the selected table according to the editing operation.
11. The method of claim 1, wherein object information of the M objects is stored in N tables, the tables being online tables, N being a positive integer; the method further comprises the steps of:
and sharing the N tables to a plurality of sharing users for collaborative editing, and updating the N tables according to the collaborative editing result.
12. The method of claim 1, wherein the content editing interface is a document content editing interface in a document content editing client, the document content editing interface including a mailbox binding entry therein; the method further comprises the steps of:
when the mailbox binding entry is selected, a mailbox binding window is displayed, wherein the mailbox binding window comprises a mailbox address filling column;
filling a mailbox address of a target user in the mailbox address filling column, and binding the mailbox address of the target user with the document content editing client; the method comprises the steps of,
And determining the mailbox address of the target user as the address of the sender of the M mail.
13. The method of claim 1, wherein the method further comprises:
and sharing the mail content to a plurality of sharing users for collaborative editing, and updating the mail content according to the collaborative editing result.
14. The method of claim 1, wherein the content editing interface is a mail content editing interface in a mail client that is bound to a mailbox address of a target user; the method further comprises the steps of:
and determining the mailbox address of the target user as the address of the sender of the M mail.
15. A mail sending device, characterized in that the mail sending device comprises:
a display unit for displaying the content editing interface;
the display unit is further used for editing mail content in the content editing interface, the mail content comprises a name substitution placeholder, the mail content is associated with M objects, any one of the M objects is represented as an ith object, i and M are positive integers, and i is less than or equal to M; the mail content is associated with the M objects, including: associating the mail content with N tables storing object information of the M objects to associate the mail content with the M objects, wherein the object information of the M objects comprises object identifications and mailbox addresses of the M objects, and N is a positive integer;
The processing unit is used for generating M mails according to the mail content and the object information of the M objects; the method comprises the steps that an ith mail piece in M mails is generated by replacing a name replacement placeholder in the mail content by an object identifier of the ith object and adding a mailbox address of the ith object;
the processing unit is further configured to send the M email to the M objects respectively.
16. A mail sending apparatus, characterized in that the mail sending apparatus comprises:
a processor adapted to implement a computer program; the method comprises the steps of,
a computer readable storage medium storing a computer program adapted to be loaded by the processor and to perform the mail sending method according to any one of claims 1 to 14.
17. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program adapted to be loaded by a processor and to perform the mail sending method according to any of the claims 1 to 14.
CN202110667265.7A 2021-06-16 2021-06-16 Mail sending method, device, equipment and storage medium Active CN113312132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110667265.7A CN113312132B (en) 2021-06-16 2021-06-16 Mail sending method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110667265.7A CN113312132B (en) 2021-06-16 2021-06-16 Mail sending method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113312132A CN113312132A (en) 2021-08-27
CN113312132B true CN113312132B (en) 2023-05-23

Family

ID=77379044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110667265.7A Active CN113312132B (en) 2021-06-16 2021-06-16 Mail sending method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113312132B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302336A (en) * 2018-08-14 2019-02-01 平安科技(深圳)有限公司 Mail generation method, device, computer equipment and storage medium
CN110380951A (en) * 2019-06-13 2019-10-25 平安科技(深圳)有限公司 The sending method and device of Email
CN112769674A (en) * 2019-11-06 2021-05-07 腾讯科技(深圳)有限公司 Mailbox signature generation method and device, readable storage medium and computer equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127945A (en) * 2007-09-20 2008-02-20 黄家昌 A method and system for adding names of target users in SMS group
CN104881279B (en) * 2015-05-12 2018-09-04 广东欧珀移动通信有限公司 A kind of method and device of pocket transmission news
CN106375196A (en) * 2016-09-21 2017-02-01 广州视睿电子科技有限公司 Batch mail sending method and device
CN109450780A (en) * 2018-12-29 2019-03-08 天津字节跳动科技有限公司 E-mail processing method and device
CN111147361B (en) * 2019-12-30 2022-06-07 论客科技(广州)有限公司 Method, device and storage medium for adding mailbox account
CN111211970B (en) * 2019-12-31 2022-03-11 论客科技(广州)有限公司 Mail contact adding method, device and storage medium
CN111641548B (en) * 2020-04-27 2023-01-10 完美世界控股集团有限公司 Method, device and system for processing enterprise collaborative office mails

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302336A (en) * 2018-08-14 2019-02-01 平安科技(深圳)有限公司 Mail generation method, device, computer equipment and storage medium
CN110380951A (en) * 2019-06-13 2019-10-25 平安科技(深圳)有限公司 The sending method and device of Email
CN112769674A (en) * 2019-11-06 2021-05-07 腾讯科技(深圳)有限公司 Mailbox signature generation method and device, readable storage medium and computer equipment

Also Published As

Publication number Publication date
CN113312132A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US10567323B2 (en) Collecting messages from a group chat window that mention a specific user
JP6868705B2 (en) Message processing methods, storage media, and computer equipment
CN109787948B (en) Access method and authority management method and device for shared space
AU2011341505B2 (en) Using text messages to interact with spreadsheets
CN102622406B (en) The expression of people in electrical form
TWI544429B (en) Method and computer-readable storage of push notifications for updating multiple dynamic icon panels
CN103493091B (en) Most recently used list for attaching files to messages
RU2607616C2 (en) Selective linking of message accounts
CN103888547B (en) A kind of bill processing method and server
EP4145310A1 (en) Document sharing processing method and apparatus, device, medium, and system
EP3113418A1 (en) Wireless terminal and method for processing contact information
CN102932521B (en) Method and terminal for displaying interaction records of contacts in mobile equipment
US20220342518A1 (en) Card-based information management method and system
US20130046935A1 (en) Shared copy cache across networked devices
WO2024093474A1 (en) Group chat creation method based on mail event, and electronic device
CN106953924B (en) Processing method of shared information and shared client
CN103078782A (en) Friend note recommendation note implementation method and system
CN112272137B (en) Method, computing device and computer readable memory device for mass data management in a communication application via multiple mailboxes
CN113312132B (en) Mail sending method, device, equipment and storage medium
US20130159992A1 (en) Approach for implementing package-based subscriptions
US9137032B2 (en) Specifying desired list of recipients in electronic mails
CN113256473B (en) Three-dimensional model format conversion method and device, electronic equipment and system
EP3163454A1 (en) Communication device and email server
US20170046448A1 (en) Information processing device and information processing method
CN106970780B (en) Data interaction method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40050579

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant