Search

CN-116668395-B - Mail content sharing method and device, storage medium and electronic equipment

CN116668395BCN 116668395 BCN116668395 BCN 116668395BCN-116668395-B

Abstract

The invention discloses a mail content sharing method and device, a storage medium and electronic equipment. The method comprises the steps of displaying a mail list of currently received mails, responding to conversation sharing operation executed on target mails in the mail list, storing mail contents of the target mails as target mail files according to target file formats, obtaining target mail description information matched with the target mail files, and sharing target conversation messages carrying the target mail description information into conversation windows of selected target conversations. The invention solves the technical problem that the existing mail content sharing operation mode is complex.

Inventors

  • HUANG TIEMING
  • ZHOU SHILONG
  • LI YOUYAO
  • LI BIN
  • Liang Baiyi

Assignees

  • 腾讯科技(深圳)有限公司

Dates

Publication Date
20260512
Application Date
20220221

Claims (12)

  1. 1. A mail content sharing method, comprising: Displaying an instant messaging application inlet and a mail application inlet in an application interface; displaying a mail list of currently received mails under the condition that the mail application entry is selected; Responding to a session sharing operation executed on a target mail in the mail list, storing mail content of the target mail as a target mail file according to a target file format, uploading the target mail file to a file transmission network, generating a file identifier of the target mail file, and generating target mail description information matched with the target mail file according to the file identifier; Under the condition that a forwarding session selection floating window is displayed on a tab of the mail list in a superimposed manner, determining a target session message based on the target mail file and the target mail description information in response to a selection operation of a target session in at least one candidate session, and sharing the target session message to a selected session window of the target session, wherein the forwarding session selection floating window displays at least one candidate session corresponding to the instant messaging application entry; After sharing the target session message into the selected session window of the target session, at least one of the following is further included: Responding to the viewing operation of the target session message, and viewing the target session message through a native mail display window when the target session message is a file message; storing the target session message in a user operable directory in response to a triggering operation on the target session message; and in response to the mail sharing operation performed on the target session message, sharing the target session message in the user operable directory to a reference instant messaging application client.
  2. 2. The method of claim 1, wherein in response to a session sharing operation performed on a target mail in the mail list, saving mail content of the target mail as a target mail file in a target file format, and obtaining target mail description information that matches the target mail file comprises: Responding to the conversation sharing operation executed on the target mail, storing mail content of the target mail as the target mail file according to a general mail file format, and sending the target mail file to a background server through a file transmission network; And under the condition that file identification information of the target mail file returned by the background server is received, generating target mail description information by utilizing the file identification information and the title of the target mail, wherein the file identification information comprises a file identification and a file size.
  3. 3. The method of claim 1, further comprising, prior to sharing the target session message carrying the target mail description information into a session window of the selected target session: A forwarding session selection floating window is overlapped and displayed on a mail tab where the mail list is located, wherein the forwarding session selection floating window comprises a candidate session list area and a sharing confirmation operation area corresponding to the mail description information; determining at least one candidate session selected in the candidate session list area as the target session in response to a selection operation performed on the at least one candidate session; And responding to the confirmation operation executed on the confirmation control corresponding to the target mail description information in the sharing confirmation operation area, generating the target session message carrying the file type message mark by utilizing the target mail description information, and determining to share the target session message into a session window of the target session.
  4. 4. The method of claim 1, further comprising, after sharing the target session message carrying the target mail description information into a session window of the selected target session: displaying the target session message in a session window of the target session; In response to a view operation triggered on the target session message, a first presentation window is created over a session window of the target session and the mail content of the target mail is presented within the first presentation window.
  5. 5. The method of claim 1, further comprising, after sharing the target session message carrying the target mail description information into a session window of the selected target session: And in response to mail sharing operation executed on the target session message, sharing the stored target mail file into a target instant messaging application client outside the current instant messaging application client in the current terminal equipment.
  6. 6. The method of claim 5, wherein sharing the saved target mail file to a target instant messaging application client other than the current instant messaging application client in the current terminal device comprises: Copying the target mail file stored in the first file mapping directory corresponding to the current instant messaging application client into the second file mapping directory corresponding to the target instant messaging application client, wherein the target mail file is generated based on binary file data corresponding to the target mail file downloaded from a background server.
  7. 7. The method of claim 1, further comprising, after sharing the target session message carrying the target mail description information into a session window of the selected target session: receiving a reference session message sent by a reference instant messaging application client, wherein the reference session message carries reference mail description information of a reference mail; Downloading a reference mail file and displaying the reference session message in a session window of the reference session; in response to a view operation triggered on the reference conversation message, a second presentation window is created over a conversation window of the reference conversation and mail content of the reference mail is presented within the second presentation window.
  8. 8. The method of claim 7, further comprising, after displaying the reference session message within a session window of a reference session: And in response to the mail sharing operation executed on the reference session message, sharing the downloaded reference mail file to a target instant messaging application client outside the current instant messaging application client in the current terminal equipment.
  9. 9. A mail content sharing apparatus, comprising: The display unit is used for displaying an instant messaging application portal and a mail application portal in an application interface, and displaying a mail list of currently received mails under the condition that the mail application portal is selected; The acquiring unit is used for responding to the session sharing operation executed on the target mail in the mail list, storing the mail content of the target mail as a target mail file according to a target file format, uploading the target mail file to a file transmission network, generating a file identifier of the target mail file, and generating target mail description information matched with the target mail file according to the file identifier; The sharing unit is used for determining a target session message based on the target mail file and the target mail description information in response to a selection operation of a target session in at least one candidate session under the condition that a forwarding session selection floating window is displayed on a page tag where the mail list is located, and sharing the target session message into a selected session window of the target session, wherein at least one candidate session corresponding to the instant messaging application portal is displayed in the forwarding session selection floating window, at least one of responding to a viewing operation of the target session message after the target session message is shared into the selected session window of the target session, viewing the target session message through a native mail display window in response to a viewing operation of the target session message, viewing the target session message through a viewing operation of a native mail display window in the case that the target session message is a page card message, storing the target session message carrying the target mail description information into the selected session window of the target web page, responding to a triggering operation of the target session message, and storing the target session message in a directory of the instant messaging application in response to a client.
  10. 10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run by a processor performs the method of any of claims 1 to 8.
  11. 11. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the method of any of claims 1 to 8.
  12. 12. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 8 by means of the computer program.

Description

Mail content sharing method and device, storage medium and electronic equipment Technical Field The present invention relates to the field of computers, and in particular, to a mail content sharing method and apparatus, a storage medium, and an electronic device. Background In many scenarios requiring information interaction today, users often choose to deliver information by sending mail for some important, formal message content. However, in conventional email technology, the email content is typically forwarded and transferred to each other based on separate email Applications (APP). That is, the user can only show the mail content to be viewed in the mail APP installed in the terminal. If the user wants to share the mail content in the instant messaging APP in a specific occasion, the user needs to withdraw from the instant messaging APP, open the mail APP, then manually save the mail content in the mail APP, and send the saved mail content to a session window corresponding to the instant messaging APP. Obviously, the mail content sharing method provided by the prior art has the problem of higher operation complexity. In view of the above problems, no effective solution has been proposed at present. Disclosure of Invention The embodiment of the invention provides a mail content sharing method and device, a storage medium and electronic equipment, which are used for at least solving the technical problem that the existing mail content sharing operation mode is complex. According to one aspect of the embodiment of the invention, a mail content sharing method is provided, which comprises the steps of displaying a mail list of currently received mails, responding to a session sharing operation performed on target mails in the mail list, storing mail content of the target mails as target mail files according to target file formats, acquiring target mail description information matched with the target mail files, and sharing target session messages carrying the target mail description information into a session window of a selected target session. According to another aspect of the embodiment of the invention, the mail content sharing device comprises a display unit, an acquisition unit and a sharing unit, wherein the display unit is used for displaying a mail list of currently received mails, the acquisition unit is used for responding to a session sharing operation performed on target mails in the mail list, storing mail content of the target mails as target mail files according to target file formats and acquiring target mail description information matched with the target mail files, and the sharing unit is used for sharing target session messages carrying the target mail description information into a session window of a selected target session. According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the mail content sharing method described above when executed. According to yet another aspect of embodiments 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 content sharing method as above. According to still another aspect of the embodiments of the present invention, there is also provided an electronic device including a memory, in which a computer program is stored, and a processor configured to execute the mail content sharing method described above by the computer program. In the embodiment of the invention, a mail list of the currently received mails is displayed, the mail content of the target mails is saved as target mail files according to target file formats in response to session sharing operation performed on the target mails in the mail list, target mail description information matched with the target mail files is acquired, and the target session information carrying the target mail description information is shared into a session window of the selected target session, so that the mails are saved as target mail files and are rapidly shared through response to the sharing operation in the mail list, the operation of switching back and forth among a plurality of application programs is avoided, and the technical problem of high complexity of the operation mode of the existing mail content sharing is solved. Drawings The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and