CN101072195B - Method and system for displaying mail content - Google Patents

Method and system for displaying mail content Download PDF

Info

Publication number
CN101072195B
CN101072195B CN200710074691A CN200710074691A CN101072195B CN 101072195 B CN101072195 B CN 101072195B CN 200710074691 A CN200710074691 A CN 200710074691A CN 200710074691 A CN200710074691 A CN 200710074691A CN 101072195 B CN101072195 B CN 101072195B
Authority
CN
China
Prior art keywords
mail
server
webmail
user
email
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
CN200710074691A
Other languages
Chinese (zh)
Other versions
CN101072195A (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 CN200710074691A priority Critical patent/CN101072195B/en
Publication of CN101072195A publication Critical patent/CN101072195A/en
Application granted granted Critical
Publication of CN101072195B publication Critical patent/CN101072195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method includes steps: saving Email; reading the Email, and carrying HTML encoding; sending the Email to browser for display. The invention also discloses system for displaying content of Email based on the method. Through the disclosed method and system, when sending, receiving or drafting out an Email, user can see text content of Email and specific representation form clearly so that user does not need to click again to enter into file folder for browsing Email. The invention saves time for users, and raises users' experience sense.

Description

A kind of method and system that show Mail Contents
Technical field
The present invention relates to the mail communication technology, particularly a kind of method and system that show Mail Contents.
Background technology
In today of rapid development of information technology, an indispensable part during information communication has become that people are daily and survives, and Email is being played the part of important role just therein, becomes the important means that the network user can realize the transmission of non-instant message.By the network receiving and dispatching mail, be the function that the E-mail address user often uses.
Present Email is not done any preservation and demonstration to sending mail after sending, and a link perhaps only is provided, and needs the user to click just and can see the text that has sent mail.
Basic performing step is:
Mail server sends user's mail;
Server is saved in certain position of WEBMAIL server to the mail that has sent;
Generate a link, send to user's browser.
In this process, the user can only see a link after sending, and also needs to click once again and can see the effect that has sent mail.
Some WEB mail server also needs the user in advance the attribute that sends mail to be provided with, and promptly preserves setting, just can reach after mail sends to browse the purpose that sends mail.
The user can't see the message body that oneself edits and send immediately after sending mail like this, does not have the sense of security.The shortcoming of these methods can be summarized as:
1, operates more loaded down with trivial detailsly, and be not suitable for every user's use habit;
2, unreliable, need to click request more once, network interrupts causing the interruption of data transmission;
3, waste user's time, reduced user's experience sense.
Therefore when the user sends mail, often there is a kind of like this demand, can immediately the body matter that sends mail be presented on the computer screen, be convenient to the user body matter and the concrete manifestation form that send mail are checked.
Summary of the invention
The purpose of this invention is to provide a kind of method and system that shows Mail Contents, make the user after sending or receive or having drafted an envelope mail, can browse described mail immediately.In order to achieve the above object, technical scheme provided by the invention is:
A kind of method that shows Mail Contents may further comprise the steps: draft or edit mail by the Webmail client browser, and send by the Webmail server; Sending or confirming to finish and the ID of described mail is preserved, write down to mail when drafting mail; Receive described mail and be saved in the instruction that has sent mailbox or draft or inbox, according to described instruction, cgi script in the Webmail server reads described mail by the ID of described mail, earlier mail is carried out the MIME decoding, return to the Webmail server again it is carried out the HTML coding; Described mail is sent to browser display.
A kind of system that shows Mail Contents comprises:
The SMTP mail server, be used for writing down the ID of described mail, and reading described mail by the ID of described mail sending or confirming to finish and mail is preserved when drafting mail, automatically call decoder module afterwards described mail is carried out the MIME decoding, and return to the Webmail server;
The Webmail server is used for after receiving the mail that described SMTP mail server returns, and it is carried out the HTML coding, and the mail with html format sends to the demonstration of Webmail client browser then.
By method and system provided by the invention, after the user sends or receives or drafted an envelope mail, can find out the body matter and the concrete manifestation form of described mail immediately at a glance, having removed the user from clicks once more to enter and browses mail in the file, save user's time, promoted the user experience sense simultaneously.
Description of drawings
Fig. 1 is a kind of schematic flow sheet that shows the method for Mail Contents provided by the invention;
Fig. 2 is the method flow schematic diagram according to the embodiment of the invention one;
Fig. 3 is the system architecture schematic diagram according to the embodiment of the invention one;
Fig. 4 is the method flow schematic diagram according to the embodiment of the invention two;
Fig. 5 is the method flow schematic diagram according to the embodiment of the invention three.
Embodiment
For making purpose of the present invention, technical scheme clearer, below with reference to accompanying drawing and in conjunction with the embodiments, the present invention is described in further detail.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As shown in Figure 1, a kind of method that shows Mail Contents provided by the invention comprises:
Step 110 is preserved mail;
Step 120 reads described mail and it is carried out the HTML coding;
Step 130 sends to browser display with described mail.
Pass through said method, no matter the user sends out after the envelope mail, still after receiving or drafted an envelope mail, can open-and-shutly immediately see the body matter and the concrete manifestation form of this mail, having removed the user from clicks once more to enter in the file of preserving the respective type mail and browses this mail, save user's time, promoted the user experience sense simultaneously.
Consulting Fig. 2, is to send the method that shows Mail Contents behind the mail immediately according to the embodiment of the invention one a kind of, and this method comprises:
In step 210, the Webmail server receives mail to be delivered;
The user has edited Mail Contents on the Web interface, after clicking the transmission button, the Web page is connected to the Webmail server by http protocol, cgi script in the Webmail server (being called for short CGI down) is accepted user data, mail header, data such as message body become the EML data file by the MIME standard code.In step 220, the mail server delivering mail;
CGI is connected to No. 25 ports of backstage SMTP mail server, arrives the SMTP mail server by smtp protocol transmission EML data file and relevant information, and the SMTP mail server arrives destination address to mail delivery.
In step 230, mail is saved in sends in the mailbox, and write down the ID of this mail;
Behind the CGI delivering mail, the EML data file is saved in backstage email storage server, the mail index information is saved in user data server, the ID of this mail is recorded in the index information.Simultaneously note this envelope mail in the mailbox sending.
The ID of described mail be one can this envelope mail of unique identification data message, for example: user 12345@qq.com has sent an envelope Email for the user of 67890@qq.com at the webpage mailbox, also generate simultaneously the ID of the mail of a correspondence, its form is: (this mail sign can generate globally unique N figure place word string by preset algorithm to 12345_XX...X, N can be 31), and be recorded in the mail index information.In step 240, the ID by this mail reads described mail, returns to the Webmail server after decoding;
One receives described mail when being saved in the instruction that has sent mailbox, CGI just reads out described EML data file again by the ID of this mail from the email storage server, and decode according to the MIME standard, decoded mail is returned to the Webmail server.
In step 250, the Webmail server carries out the HTML coding and sends to the Webmail client browser showing to mail;
Cgi script simply makes up decoded mail and mail index information, carries out the HTML coding again, reads the Web Page Template then, fills information such as message body, generates the final Web page and returns to the client browser demonstration.
In the above-described embodiments, after the user a bit pulls the trigger and send the button of mail, the body matter and the concrete manifestation form that just can present described mail immediately at the Webmail client browser to the user, having removed the user from enters once more and has sent mailbox and check, save the time, promoted the user experience sense.
Fig. 3 sends the system architecture schematic diagram that shows Mail Contents behind the mail immediately according to the embodiment of the invention one a kind of, this system comprises: Webmail client browser 31, Webmail server 32 and SMTP mail server 33, also comprise user data server 34 and email storage server 35, wherein, on the one hand, Webmail server 32 receives request for sending E-mail and the mail to be sent that Webmail client browser 31 sends over, and mail header, data such as message body become the EML data file by the MIME standard code, and send to SMTP mail server 33 and deliver; On the other hand, it carries out the HTML coding to it after receiving the mail that SMTP mail server 33 returns, and the mail with html format sends to 31 demonstrations of Webmail client browser then.
Aptly, Webmail server 32 comprises MIME coding module 321 and HTML coding module 322.MIME coding module 321 will treat that delivering mail generates the EML data file and sends to SMTP mail server 33 according to the MIME standard code.The mail that HTML coding module 322 promptly returns SMTP mail server 33 carries out the HTML coding, and the message body with html format sends to the demonstration of Webmail client browser then.
SMTP mail server 33, to send mail record is sending in the mailbox, ID by this mail in the mail index information reads described mail simultaneously, automatically call decoder module 331 afterwards and described mail is decoded, and return to HTML coding module 322 in the Webmail server 32 according to the MIME standard.
Preferably, described EML data file is kept in the email storage server 35, and the mail index information is saved in user data server 34, by the ID of mail in the mail index information, can get access to original EML data file from email storage server 35.
Consulting Fig. 4, is to receive the method that shows Mail Contents behind the mail immediately according to the embodiment of the invention two a kind of.In the prior art, when the addressee receives an envelope mail in real time, notification message is usually expressed as Pop-up notice news in brief or carries out figure notation at unread mail number of packages sign place, for example becomes 5 envelopes by 4 envelope unread mails, and can not carry out the reading of Mail Contents in real time.Utilize the technical program then can after receiving mail, show Mail Contents immediately, receive mail and reading mail and almost finish simultaneously, improved customer experience by ID that resolves described mail and then the text that reads described mail.
The specific implementation flow process comprises:
In step 410, preserve the mail of having delivered, and write down the ID of this mail;
Cgi script with after the mail delivery, is saved in backstage email storage server to the EML data file according to sender's request, and the mail index information is saved in user data server, comprises the ID of this mail in the mail index information.In sender's the inbox that sends mailbox and addressee, write down this envelope mail simultaneously.
In step 420, addressee's Webmail client is received the described mail of delivering by mail server, resolves the ID of this mail;
When the addressee logins the Webmail client mailbox is operated, one receive that described mail is saved in instruction in the inbox after, CGI resolves the id information of this mail at once.
In step 430, the ID by this mail reads described mail, returns to the Webmail server after decoding;
CGI reads out described EML data file by the ID of this mail of parsing from the email storage server, and according to the MIME standard EML data file is decoded, and decoded mail is returned to the Webmail server.
In step 440, the Webmail server carries out the HTML coding and sends to the Webmail client browser showing to mail;
Cgi script simply makes up decoded mail and mail index information, carries out the HTML coding again, reads the Web Page Template then, fills information such as message body, generates the final Web page and returns to the client browser demonstration.
In the above-described embodiments, after the user receives an envelope new mail, the Webmail client browser can present the body matter and the concrete manifestation form of described mail immediately to the user, the user can enter the detailed content that inbox is just seen new mail, not only save the time, also promoted the user experience sense.
Consulting Fig. 5, is to draft the method that shows Mail Contents behind the mail immediately according to the embodiment of the invention three a kind of.
In step 510, the Webmail server receives and preserves the mail of drafting, and generates a mail ID;
The user has edited Mail Contents on the Web interface, after clicking save button, the Web page is connected to the Webmail server by http protocol, and the cgi script in the Webmail server is accepted user data, is saved in described mail in the server and generates a mail ID.In draft, write down this envelope mail simultaneously.
The ID of described mail be one can this envelope mail of unique identification data message, for example: user 12345@qq.com is ready for sending the Email that an envelope is entitled as " hello ", also generate simultaneously the ID of the mail of a correspondence, its form can be: 12345_XX...X (this mail sign can generate globally unique N figure place word string by preset algorithm, and N can be 31).
In step 520, the ID by this mail reads described mail, and the Webmail server carries out the HTML coding to mail;
One receives that described mail has been saved in the instruction of draft, and CGI just reads out described mail by mail ID from server, and the Webmail server carries out the HTML coding to mail then;
In step 530, send to the Webmail client browser and show;
Read the Web Page Template, fill information such as message body, generate the final Web page and return to the client browser demonstration.
In the above-described embodiments, after the user has drafted an envelope mail, some save button Webmail client browsers just present the body matter and the concrete manifestation form of described mail immediately to the user, the user needn't enter draft and just can check and check the mail of drafting, not only save the time, also promoted the user experience sense.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. a method that shows Mail Contents is characterized in that, may further comprise the steps:
Draft or edit mail by the Webmail client browser, and send by the Webmail server;
Sending or confirming to finish and the ID of described mail is preserved, write down to mail when drafting mail;
Receive described mail and be saved in the instruction that has sent mailbox or draft or inbox, according to described instruction, cgi script in the Webmail server reads described mail by the ID of described mail, earlier mail is carried out the MIME decoding, return to the Webmail server again it is carried out the HTML coding;
Described mail is sent to browser display.
2. a system that shows Mail Contents is characterized in that, comprising:
The SMTP mail server, be used for writing down the ID of described mail, and reading described mail by the ID of described mail sending or confirming to finish and mail is preserved when drafting mail, automatically call decoder module afterwards described mail is carried out the MIME decoding, and return to the Webmail server;
The Webmail server is used for after receiving the mail that described SMTP mail server returns, and it is carried out the HTML coding, and the mail with html format sends to the demonstration of Webmail client browser then.
3. a kind of system that shows Mail Contents according to claim 2 is characterized in that the Webmail server comprises:
The MIME coding module generates the EML data file with mail according to the MIME standard code;
The HTML coding module, the mail that the SMTP mail server is returned carries out the HTML coding.
4. a kind of system that shows Mail Contents according to claim 3 is characterized in that, also comprises:
User data server is used to preserve customer data base, and the ID of described mail is kept in the mail index information of customer data base;
The email storage server is used to preserve the EML data file.
CN200710074691A 2007-05-30 2007-05-30 Method and system for displaying mail content Active CN101072195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710074691A CN101072195B (en) 2007-05-30 2007-05-30 Method and system for displaying mail content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710074691A CN101072195B (en) 2007-05-30 2007-05-30 Method and system for displaying mail content

Publications (2)

Publication Number Publication Date
CN101072195A CN101072195A (en) 2007-11-14
CN101072195B true CN101072195B (en) 2010-05-26

Family

ID=38899189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710074691A Active CN101072195B (en) 2007-05-30 2007-05-30 Method and system for displaying mail content

Country Status (1)

Country Link
CN (1) CN101072195B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937530A (en) 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Method and device for displaying information of email
CN103986705B (en) * 2014-05-13 2017-11-17 宇龙计算机通信科技(深圳)有限公司 A kind of method and device of Information Sharing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437146A (en) * 2002-02-05 2003-08-20 国际商业机器公司 Method for writing, browsing, answering and transmitting E-mail and E-mail customer machine
CN1725239A (en) * 2004-07-21 2006-01-25 陈正雄 Method for displaying E-mail

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437146A (en) * 2002-02-05 2003-08-20 国际商业机器公司 Method for writing, browsing, answering and transmitting E-mail and E-mail customer machine
CN1725239A (en) * 2004-07-21 2006-01-25 陈正雄 Method for displaying E-mail

Also Published As

Publication number Publication date
CN101072195A (en) 2007-11-14

Similar Documents

Publication Publication Date Title
US20200252360A1 (en) Apparatus and Method for Maintaining a Message Thread with Opt-In Permanence for Entries
US9747268B2 (en) Making document changes by replying to electronic messages
US6707472B1 (en) Method of graphically formatting e-mail message headers
US20170039592A1 (en) Advertisement coordination
US20030110227A1 (en) Real time streaming media communication system
CN101917520B (en) Conversion/backup method, equipment and system for mobile terminal data
KR20140018332A (en) Changes to documents are automatically summarized in electronic messages
WO2008122225A1 (en) System and method of screeing catching on webmail
US20160112356A1 (en) Network Device and Method for Processing Email Request
US7979500B2 (en) Email composition and processing
TW200524381A (en) Multi-language wireless email transmission method for mobile communication
US20060167976A1 (en) Compressible display of e-mail message string to facilitate readability
CN101924640A (en) Method and system for group sending of email
CN101072195B (en) Method and system for displaying mail content
CN101588542A (en) Method and terminal for processing messages
CN1971595B (en) System and method for merging e-mails
US8725812B2 (en) Method for providing a memo function in electronic mail service
CN102130997B (en) Message transmitting method and device
US20080120385A1 (en) Method and system for generating a referencing secondary electronic mail message from a primary electronic mail message
WO2009065351A1 (en) Method, device and system for realizing personalized themes for electronic mail
KR20030055817A (en) Mail control method of receiving and deleting mails selectively using mail header information and mail client terminal
JP2002215539A (en) Www-browser applicable electronic mail access system and computer program used for the same
JP2000270013A (en) Electronic mail repeater device and program recording medium
CN104579927A (en) Method for achieving fast and convenient WebMail reply
Harold JavaMail API: Sending and Receiving Email with Java

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant