US20090204681A1 - Method, server and client for processing emails - Google Patents

Method, server and client for processing emails Download PDF

Info

Publication number
US20090204681A1
US20090204681A1 US12/428,647 US42864709A US2009204681A1 US 20090204681 A1 US20090204681 A1 US 20090204681A1 US 42864709 A US42864709 A US 42864709A US 2009204681 A1 US2009204681 A1 US 2009204681A1
Authority
US
United States
Prior art keywords
email
message
notification
reply
client
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.)
Abandoned
Application number
US12/428,647
Inventor
Qian Sun
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Assigned to HUAWEI TECHNOLOGIES CO., LTD. reassignment HUAWEI TECHNOLOGIES CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SUN, QIAN
Publication of US20090204681A1 publication Critical patent/US20090204681A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Definitions

  • the present invention relates to the email service in the communication field, and in particular, to a method, server and client for processing emails.
  • Some email services provide the function for notifying arrival of new emails.
  • the email box of a user receives a new email
  • the email system sends a short message to the user automatically, notifying arrival of the new email.
  • the short message may also carry such information as the subject and sender of the new email.
  • users generally do not expect to receive the notifications of arrival of all new emails if numerous emails are received.
  • the present invention proposes a method, server and client for processing emails so that a user may receive an instant notification upon arrival of a reply to an email and retrieve the reply information in time.
  • a method for processing emails includes:
  • a message receiving module adapted to receive an email
  • a message delivering module adapted to send the email received by the message receiving module
  • a reply notifying module adapted to detect a new email received by the message receiving module, and generate and send a notification if the received new email is a reply to the email.
  • an email delivering module adapted to send an email out
  • a reply notification setting module adapted to set indication information which indicates notification of reply to the email sent by the email delivering module.
  • a reply notification is set for the sent email, so that the sender of the email may receive an instant notification upon arrival of a reply to the email and retrieve the reply information in time.
  • FIG. 1 is a flowchart of processing emails according to an embodiment of the present invention.
  • FIG. 2 shows a structure of an email server according to an embodiment of the present invention.
  • FIG. 3 shows a structure of an email client according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of processing emails according to an embodiment of the present invention. The flowchart includes the following steps:
  • Block 101 The client sends an email.
  • the client may set an indication of instant notification upon arrival of a reply to the email in the sending command.
  • the email server delivers the email.
  • a Transport Control Protocol (TCP) connection may be set up between the email server of the sender and the email server of the recipient, and then the email is sent through the Simple Mail Transfer Protocol (SMTP).
  • TCP Transport Control Protocol
  • SMTP Simple Mail Transfer Protocol
  • the email server sends a notification upon receiving a reply to the email.
  • the notification is sent in a preset mode.
  • the notification may be sent in the form of a short message, which ensures timeliness, or in the form of an instant message.
  • Multiple notification modes may be applied concurrently, and preferably, a priority is specified for each mode.
  • the email server may indicate that an Instant Message Disposition Notification (IMDN) is required. If the peer fails to receive the instant message notification because the instant message service is unavailable, the notification may be sent in other modes such as short message.
  • IMDN Instant Message Disposition Notification
  • the user may set various available notification modes and priorities beforehand, and the notification mode of a higher priority is attempted first for sending the notification.
  • the Simple Mail Transfer Protocol is extended to set a notification at the time of sending an email so that the notification is sent upon arrival of a reply email.
  • the name of the extension may be defined as “Reply Mail Notification”, and the keyword corresponding to the greeting command EHLO is supposed to be “RMN”.
  • the EHLO command is sent by the client to indicate start of an Extended SMTP (ESMTP) session.
  • ESMTP Extended SMTP
  • the server may indicate support of the ESMTP features such as Reply Mail arrival Notification (RMN) provided in an embodiment of the present invention.
  • the notification mode supported by the email server is specified, for example, Short Message Service (SMS), Multimedia Message Service (MMS), or Extensible Message and Presence Protocol (XMPP) instant message.
  • SMS Short Message Service
  • MMS Multimedia Message Service
  • XMPP Extensible Message and Presence Protocol
  • a notification mode corresponds to a Uniform Resource Identifier (URI).
  • URI Uniform Resource Identifier
  • the URI corresponding to the “sip” method may be “sip:[email protected]”.
  • the method and destination address of sending the RMN are specified through a Notification Mode (NM) parameter.
  • NM Notification Mode
  • the value of the NM parameter is a URI, for example, an SMS URI “sms:+8613010010001” which carries a telephone number, or an XMPP URI “xmpp:[email protected]” which carries an XMPP identifier.
  • an email which requires notification of reply to the email is delivered through ESMTP, where the user's client (for example, user agent) sends a message to the SMTP email server through a Message submission for Mail (MSM) port 587.
  • MSM Message Submission for Mail
  • the messages after “ ⁇ ” are sent by the server, and the messages after “>>>” are sent by the client.
  • the process of delivering an email includes the following steps:
  • Step 201 The client sends an EHLO command to start a session.
  • the SMTP server returns the supported extension (for example, “RMN”) and its parameter “sms” which indicates support of sending an RMN through a short message.
  • the response to the EHLO may carry many other ESMTP extensions; in this embodiment, it carries an RMN for ease of description.
  • Step 202 The client sends a MAIL command, which carries the sender address “FROM” and the NM parameter.
  • the NM parameter carries an indication of notification through a short message, and a specific notification address such as “sms:+8613010010001”.
  • Step 203 The subsequent steps are the same as those in the conventional art. That is, the recipient address and the email content are specified through an RCPT command, and finally, the client executes a QUIT command to end the session.
  • Step 204 Before delivering the email, the SMTP server checks whether the email message carries a message ID header field. If the message ID header field is absent or empty, the SMTP server adds the corresponding message ID header field for the email automatically. The field is designed to match new emails and determine which email is a reply to the email.
  • the SMTP server delivers the email out.
  • the server Upon receiving a new email of the sender, the server checks whether the “In-Reply-To” header field of the new email carries a message ID identical with the message ID of the old email which requires sending of an RMN. If the message ID is matched, the server determines the new email to be a reply to the old email, and sends a notification to the short message address specified in the reply notification mode. By default, the short message carries the subject of the old email and the relevant prompt. Supposing the subject of the old email is “Weekend Activity Plan”, the content of the notification message is exemplified below:
  • the content of the notification message may be preconfigured by the user, for example, through a web-based management interface provided by the email service. Through setting, the sending time, recipient address or summary of the old email can be carried in the message. The setting is effective on all reply email notifications. Moreover, the content of the notification message may be set for each email separately. That is, the content of the notification message may be specified through the notification content message parameter such as “NC” of the MAIL command before sending of the email, as exemplified below:
  • the notification content is set to carry the sender address and subject.
  • the notification content may even include the whole text of the email.
  • the email server supports MMS
  • the email may be converted into an MMS message and sent to the notification address.
  • the conversion method is detailed in RFC 4356 (Mapping Between the Multimedia Messaging Service (MMS) and Internet Mail).
  • MMS Multimedia Messaging Service
  • MAIL An example of the MAIL command is given below:
  • the email server may send the corresponding short message notification to the short message gateway or short message service center, which is similar to the short message Value Added Service (VAS) in the conventional art where a short message is sent to the user. That is based on the conventional art and is not described further.
  • the email server acts as an instant message client, and sends an instant message to the user's client through an instant message protocol such as XMPP, where the instant message carries the notification content and may be delivered to the client through the instant message server.
  • the email server sends the email content converted into an MMS message to the multimedia message service center through an MM7 interface, and the multimedia message service center delivers the MMS message to the end user.
  • E-Mail Notification may be used to let the client retrieve the reply email automatically.
  • the email server sends an EMN text to the push proxy or gateway, as exemplified below:
  • the push proxy or gateway sends the EMN content encoded in binary format to the client through the Push Over-The-Air (Push OTA) protocol.
  • Push OTA Push Over-The-Air
  • the client may use the POP3 protocol or IMAP4 protocol automatically to request the email server for the corresponding reply email, for example, use a RETR command of the POP3 protocol, where the parameter is a unique identifier of the message, namely, the “uid” in the foregoing EMN attribute.
  • the EMN may also include the email content directly.
  • the server may check whether the reply email carries an “Auto-Submitted” header field. If such a field is carried and the value of the field is not “no”, the server determines the email to be an automatic reply email, and therefore, does not generate any notification.
  • a notification may also be sent upon reception of an automatic reply email, but preferably, the sent notification indicates that the reply email is sent automatically.
  • the notification message is:
  • the automatic reply email generated by some servers does not support the header field “Auto-Submitted”, but the subject generally includes the keyword “autoreply”. Therefore, the automatic reply email may also be identified by checking whether the subject of the new email includes the keyword “autoreply”.
  • a Multi-purpose Internet Mail Extension (MIME) header field such as “Reply-Notification-To” is extended.
  • the client adds the MIME header field “Reply-Notification-To” to the sent email, and the sent email also includes the notification mode and address, as exemplified below:
  • the email may include multiple addresses, for example:
  • the email server After detecting that the email to be sent includes a reply notification header field such as “Reply-Notification-To”, the email server checks the message ID header field of the email. If this field is absent or empty, the email server sets the corresponding message ID header field for the email automatically. The email server records the relevant information, for example, the message ID and notification address of the email which requires notification of reply to the email. Subsequently, if the email server finds that the “In-Reply-To” header field of the new email matches the message ID header field of the email which requires notification of reply to the email, the email server sends a notification to the specified notification address.
  • a reply notification header field such as “Reply-Notification-To”
  • the user may receive and send emails repeatedly for the same subject, and expect to receive notifications of all the reply emails of the same subject, namely, the same email thread.
  • the user may require notification of reply in the email thread, and specify a thread reply notification parameter “thread”, for example, set the “thread” parameter in the reply notification header field in the second embodiment:
  • the email server finds that the “References” header field of the new email includes the value of the message ID header field of the email which requires notification of reply to the email, the email server sends a notification to the specified notification address. In this way, the user avoids the trouble of setting a reply notification requirement separately for every email sent in an email thread.
  • the reply notification of the email is specified by setting a sieve notification.
  • the client may send the email first, obtain the message ID header field of the email upon completion of sending, and then generate a sieve notification script which is stored in the email server.
  • the client Preferably, in this embodiment, the client itself generates the message ID header field. Otherwise, it is difficult to obtain the message ID header field generated by the server for the email.
  • An example of a sieve script is given below:
  • the “require [enotify]” indicates the requirement for the sieve notification capability; the subsequent “if” statement indicates that the header field includes the conditions set when the “In-Reply-To” field value is “[email protected]”; afterward, the “notify” action is triggered; the notification message includes the “You got reply mail” text, or includes the content of the “from” field and “subject” field of the new email, and the notification address is the short message URI address “sms:+8613010010001”.
  • the notification message is sent if the email server finds that the new email complies with the notification conditions of the foregoing “if” statement.
  • the “References” field may include multiple message IDs. Therefore, a wildcard “*” needs to be placed before or after the message ID.
  • the notification address is a SIP URI or a SIPS URI
  • the generated notification message may be converted into the Common Presence and Instant Messaging (CPIM) format or plain text format, and then sent to the corresponding SIP URI or SIPS URI through the SIP MESSAGE.
  • CPIM Common Presence and Instant Messaging
  • both the email format and the CPIM format include the corresponding “from” and “subject” header fields.
  • the “Content-Disposition” header field may be used to indicate that the CPIM message needs to be treated as a reply email notification.
  • the corresponding “Content-Disposition” value is “reply-mail-notification” or “sieve-notification”.
  • the content of the “message” parameter may be converted into the CPIM message body content in the plain text (text/plain) format.
  • the client that receives the notification can identify the plain text (text/plain) content type, and this implementation mode is highly compatible.
  • the notification message may also include the foregoing plain text content and the content in other notification formats such as CPIM. In this way, the necessary notification information can be obtained through the plain text content even if the client is unable to identify the notification content of other formats.
  • the URI parameter includes a “body” parameter which specifies the content of the message body, and the sieve script contains no “message” parameter
  • the content in the “body” parameter of the URI is used as the message body of the SIP MESSAGE. If the “body” parameter and the “message” parameter are both contained, it is preferable to use the content of the “message” parameter and ignore the “body” parameter, or both of them are included in the finally generated notification message content.
  • the “From” header field of the generated SIP MESSAGE is generally set to be the SIP URI address of the email server notification service rather than the address of the email sender.
  • General email sieve notifications may also be sent through a SIP message like the practice in this embodiment.
  • a SIP MESSAGE carrying a CPIM message body is sent as a notification.
  • the corresponding “Content-Disposition” value may be “sieve-notification”.
  • the notification mode is a SIP URI or a SIPS URI
  • the “mode” parameter in the URI may be used to specify the SIP method.
  • the SIP method is not limited to the SIP MESSAGE, and may be implemented through other messages such as INVITE, INFO or REFER.
  • the values of some header fields of the SIP message may also be specified.
  • the flexibility of the sieve notification is greatly improved and the prevalent SIP protocol is fully used for sending notifications.
  • SIP URI or SIPS URI see also Internet Engineering Task Force (IETF) RFC 3261.
  • IETF Internet Engineering Task Force
  • the SIP method has more powerful functions than other modes such as SMS. For example, if an email includes multimedia contents such as voice, the SIP INVITE method may be applied so that the email server connects to the client actively. After a session is created, the email with multimedia contents is played or transmitted to the user through the Real-time Transport Protocol (RTP) or Message Session Relay Protocol (MSRP).
  • RTP Real-time Transport Protocol
  • MSRP Message Session Relay Protocol
  • the foregoing script lacks a “message” parameter. Therefore, by default, the email subject is used as the subject field of the SIP INVITE message to provide necessary information related to the email.
  • the Uniform Resource Locator (URL) as a hyperlink address of the email may also be included in the notification. Therefore, the user may access the reply emails in the mailbox through the hyperlink directly through the Internet Message Access Protocol (IMAP).
  • the notification content may be carried not only in a CPIM format, but also in a sieve notification format such as “application/sieve-notification+xml”. The following is an example of the content of a notification which includes a hyperlink:
  • both the notification message text and the URL are included in a message body of the Extensible Markup Language (XML) format, with the Content-Type being “application/sieve-notification+xml”.
  • the Content-Type may also be included in the messages such as a SIP INVITE message to provide necessary information of the email.
  • the sieve script may also specify the importance of the notification through an “importance” parameter.
  • the parameter value “1” indicates highest importance, “2” indicates high importance, and “3” indicates low importance.
  • the following is an example of a sieve script:
  • the “Priority” header field in the SIP header field is set according to the importance of the sieve script. For example, the “importance” parameter values “1”, “2” and “3” correspond to “urgent”, “normal” and “non-urgent” values of the “Priority” field.
  • the email server After sending the SIP MESSAGE, if the email server receives an error response such as a 6XX response (namely, the message is sent successfully but rejected), it is preferable not to resend the message. If the response is “513 Message Too Large”, the message needs to be shortened before it is resent. That is, the email server judges whether the message needs to be resent according to the type of the returned error. Besides, it is preferable to set an upper threshold (such as 10 times) of resending.
  • an upper threshold such as 10 times
  • a smallest EMN text may be sent to the push proxy or gateway through the email server through the Push Access Protocol (Push PAP), and the notification mode may be set to “push”.
  • Push PAP Push Access Protocol
  • the push proxy or gateway converts the notification message into a binary format, and sends it to the client proxy through the Push Over-The-Air (Push OTA) protocol.
  • Push OTA Push Over-The-Air
  • the client software just lets the user choose whether a reply notification is required, without letting the user input the sieve script.
  • the client After finding that the user requires a reply notification and provides a notification address, the client generates the sieve script automatically, and uploads the sieve script to the email server through the File Transfer Protocol (FTP) or Hyper Text Transfer Protocol (HTTP) protocol.
  • FTP File Transfer Protocol
  • HTTP Hyper Text Transfer Protocol
  • the fourth embodiment is applicable to the Webmail scenario.
  • Webmail is a prevalent email service provision mode. The user inputs the recipient address and the email content on the web page, and clicks the button on the web page to send an email. The user may also set some mail options, for example, whether to save sent emails.
  • the Webmail service is easy to use, and is available from many websites.
  • the user when inputting the recipient address and email content on the web page, the user may select the option that requires notification of reply among the mail options on the web page. Therefore, after the content of the web page is delivered to the server through the HTTP protocol, the server records the message ID header field of the sent email while sending the email. Upon arrival of a new email of the user, the server sends a notification message to the preset notification address if the “In-Reply-To” header field of the new email matches the recorded message ID header field.
  • the notification mode expected by the user and the notification address are generally fixed, and therefore, may be preset on the web page and stored in the server, without the need of being specified in the mail options separately for every email that requires notification of reply.
  • the user may also specify the validity period of the notification. For example, if the validity period is set to 1 day, the server sends no notification of the reply received 1 day after the email is sent. The user may also specify whether to require notification of all reply emails in the whole email thread, or require notification of the first reply email in the email thread. The user may also specify the time segment allowed for sending a reply notification. For example, if the specified time segment is 9:00-21:00, the email server generates no reply notification beyond 9:00-21:00.
  • the fifth embodiment describes a scenario which requires notification of all reply emails. For example, a user who seldom uses the email service expects to be notified of reply to any sent email, but not notified of new emails actively sent by others. For that purpose, the user may set a sieve script on the email server. A simple and rough script is given below:
  • the foregoing script means that: The email server needs to send a notification if an “In-Reply-To” header field exists. That is because existence of the “In-Reply-To” header field generally indicates a reply email. However, the original email may not necessarily be sent by this user. Although rough, the script prevents omission of any reply email, and is a practicable solution.
  • the matching precision may be improved by adding conditions. For example, a condition that the “to” field includes the mailbox address of the user is added to the “if” conditions, thus basically ensuring that any matched new email is a reply to the user.
  • the email server records the message ID header field of the email sent by the user, and uses a test command “IsReply” in the sieve script to judge whether the new email is a reply. That is, the email server checks whether the “In-Reply-To” header field of the new email matches the recorded message ID header field according to the test command.
  • the sixth embodiment describes how to obtain a notification message through the event subscription/notification mechanism of the SIP.
  • the client After sending an email, the client obtains the message ID header field of the email, and sends a SUBSCRIBE message to the email server, with the message body carrying the corresponding sieve script, as exemplified below:
  • the email server stores the sieve script, and generates a NOTIFY message once the sieve conditions are met, namely, when a reply email is received.
  • Partial contents of an exemplary notification message are given below:
  • the event package of the foregoing SUBSCRIBE message and NOTIFY message is a “message-summary”.
  • the reply notification processing module 203 finds that the “In-Reply-To” header field of the new email matches the message ID header field of the email which requires notification of reply to the email, the reply notification processing module 203 sends a notification to the short message address specified in the reply notification mode.
  • the reply notification processing module 203 of the email server 20 in the sieve script solution of the present invention is adapted to send the corresponding notification after detecting that a new email received by the message receiving module 201 meets the sieve conditions.
  • the message delivering module 202 checks whether the email carries a message ID. If the email carries no message ID, the message delivering module 202 generates a message ID automatically and records it.
  • an email client 30 of the present invention includes: an email delivering module 301 , adapted to send the email out; and a reply notification setting module 302 , adapted to set reply notification for the sent email.
  • the reply notification setting module 302 may also generate a sieve script automatically in the third embodiment mentioned above, and upload the sieve script to the email server through a protocol such as FTP.
  • the email client 30 may also include an email retrieving module 303 . After the email client receives a reply email notification from the email server 20 , the email retrieving module 303 may retrieve the reply email from the email server automatically according to the information in the reply email notification. For example, the email retrieving module 303 may retrieve new emails from the mailbox through the IMAP protocol or POP3 protocol.
  • the email retrieving module 303 may retrieve the reply email indicated in the reply notification rather than all new emails.
  • the user may retrieve reply emails more quickly in the case that the user uses a mobile network.
  • the mobile network charges the user based on traffic, which saves the expense of the user and reduces the information traffic of the mobile network.
  • Other emails may be received when the user is connected to the fixed network which charges a lower tariff.
  • the reply notification setting module 302 sets reply notification indication information in the command of sending the email from the email delivering module 301 .
  • the reply notification setting module 302 uploads a sieve script carrying reply notification indication information to the email server 20 .
  • the storage medium mentioned above may be a Read-Only Memory (ROM), a magnetic disk or a Compact Disk (CD).
  • ROM Read-Only Memory
  • CD Compact Disk
  • the user may receive an instant notification upon arrival of a reply to the email and retrieve the reply information in time; all or a selected part of the email contents may be notified to the user directly so that the user knows the reply email information in time; the user may set the notification method flexibly to obtain the notification conveniently, for example, select to receive notifications through short messages or instant messages; and the user may be notified of all reply emails.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method, server and client for processing emails are disclosed. The method includes: receiving and delivering an email sent by a client; and sending a notification upon receiving a new email if determining that the received new email is a reply to the email. Through the foregoing technical solution, the user can obtain a notification in time upon arrival of a reply to a specific email, and retrieve the reply information in time.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation of International Application No. PCT/CN2008/072066, filed on Aug. 20, 2008, which claims the benefit of Chinese Patent Application No. 200710076523.4, filed on Aug. 21, 2007, both of which are hereby incorporated by reference in their entireties.
  • FIELD OF THE INVENTION
  • The present invention relates to the email service in the communication field, and in particular, to a method, server and client for processing emails.
  • BACKGROUND OF THE INVENTION
  • Currently, some email services provide the function for notifying arrival of new emails. When the email box of a user receives a new email, the email system sends a short message to the user automatically, notifying arrival of the new email. The short message may also carry such information as the subject and sender of the new email. However, to avoid the trouble of receiving notifications frequently, users generally do not expect to receive the notifications of arrival of all new emails if numerous emails are received.
  • According to the solution in the prior art, after a user sends some emails, the user is not notified immediately upon arrival of the replies to such emails, thus being unable to retrieve the reply information in time.
  • SUMMARY OF THE INVENTION
  • The present invention proposes a method, server and client for processing emails so that a user may receive an instant notification upon arrival of a reply to an email and retrieve the reply information in time.
  • The objectives can be achieved through the following technical solution:
  • A method for processing emails includes:
  • receiving an email from a client;
  • delivering the received email; and
  • notifying the sender of the email upon receiving a new email if determining that the received new email is a reply to the email.
  • An email sieve notification method provided in an embodiment of the present invention includes:
  • setting a parameter of a notification mode to a Session Initiation Protocol (SIP) Uniform Resource Identifier (URI) in a sieve script; and
  • sending a SIP message as a notification according to the notification mode when receiving a new email compliant with conditions of the sieve script.
  • An email server provided in an embodiment of the present invention includes:
  • a message receiving module, adapted to receive an email;
  • a message delivering module, adapted to send the email received by the message receiving module; and
  • a reply notifying module, adapted to detect a new email received by the message receiving module, and generate and send a notification if the received new email is a reply to the email.
  • An email client provided in an embodiment of the present invention includes:
  • an email delivering module, adapted to send an email out; and
  • a reply notification setting module, adapted to set indication information which indicates notification of reply to the email sent by the email delivering module.
  • The foregoing technical solution reveals that: in the embodiments of the present invention, a reply notification is set for the sent email, so that the sender of the email may receive an instant notification upon arrival of a reply to the email and retrieve the reply information in time.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a flowchart of processing emails according to an embodiment of the present invention.
  • FIG. 2 shows a structure of an email server according to an embodiment of the present invention; and
  • FIG. 3 shows a structure of an email client according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS
  • FIG. 1 is a flowchart of processing emails according to an embodiment of the present invention. The flowchart includes the following steps:
  • Block 101: The client sends an email. For example, the client may set an indication of instant notification upon arrival of a reply to the email in the sending command.
  • Block 102: The email server delivers the email. Generally, a Transport Control Protocol (TCP) connection may be set up between the email server of the sender and the email server of the recipient, and then the email is sent through the Simple Mail Transfer Protocol (SMTP).
  • Block 103: The email server sends a notification upon receiving a reply to the email. Generally, the notification is sent in a preset mode. For example, the notification may be sent in the form of a short message, which ensures timeliness, or in the form of an instant message. Multiple notification modes may be applied concurrently, and preferably, a priority is specified for each mode. For example, when sending a notification in the form of an instant message, the email server may indicate that an Instant Message Disposition Notification (IMDN) is required. If the peer fails to receive the instant message notification because the instant message service is unavailable, the notification may be sent in other modes such as short message. The user may set various available notification modes and priorities beforehand, and the notification mode of a higher priority is attempted first for sending the notification.
  • In the first embodiment below, the Simple Mail Transfer Protocol (SMTP) is extended to set a notification at the time of sending an email so that the notification is sent upon arrival of a reply email. The name of the extension may be defined as “Reply Mail Notification”, and the keyword corresponding to the greeting command EHLO is supposed to be “RMN”. The EHLO command is sent by the client to indicate start of an Extended SMTP (ESMTP) session. In the response to the EHLO, the server may indicate support of the ESMTP features such as Reply Mail arrival Notification (RMN) provided in an embodiment of the present invention. Moreover, in the keyword correlation parameter in the response to “EHLO” (the parameter name may be “supported-notify-method”), and the notification mode supported by the email server is specified, for example, Short Message Service (SMS), Multimedia Message Service (MMS), or Extensible Message and Presence Protocol (XMPP) instant message. If the specified notification mode is “sip”, the notification is sent through a SIP MESSAGE. A notification mode corresponds to a Uniform Resource Identifier (URI). For example, the URI corresponding to the “sip” method may be “sip:[email protected]”. The method and destination address of sending the RMN are specified through a Notification Mode (NM) parameter. The value of the NM parameter is a URI, for example, an SMS URI “sms:+8613010010001” which carries a telephone number, or an XMPP URI “xmpp:[email protected]” which carries an XMPP identifier.
  • In the following simple example, an email which requires notification of reply to the email is delivered through ESMTP, where the user's client (for example, user agent) sends a message to the SMTP email server through a Message Submission for Mail (MSM) port 587. Some examples of messages are given below:
  • <<< 220 Example.ORG SMTP server here
    >>> EHLO Example.ORG
    <<< 250-Example.ORG
    <<< 250-RMN sms
    >>> MAIL FROM:<[email protected]> NM=sms:+8613010010001
    <<< 250 <[email protected]> sender ok
    >>> RCPT TO:<[email protected]>
    <<< 250 <[email protected]> recipient ok
    >>> DATA
    <<< 354 okay, send message
    >>> (message goes here)
    >>> .
    <<< 250 message accepted
    >>> QUIT
    <<< 221 goodbye
  • In the foregoing examples, the messages after “<<<” are sent by the server, and the messages after “>>>” are sent by the client. The process of delivering an email includes the following steps:
  • Step 201: The client sends an EHLO command to start a session. The SMTP server returns the supported extension (for example, “RMN”) and its parameter “sms” which indicates support of sending an RMN through a short message. The response to the EHLO may carry many other ESMTP extensions; in this embodiment, it carries an RMN for ease of description.
  • Step 202: The client sends a MAIL command, which carries the sender address “FROM” and the NM parameter. The NM parameter carries an indication of notification through a short message, and a specific notification address such as “sms:+8613010010001”.
  • Step 203: The subsequent steps are the same as those in the conventional art. That is, the recipient address and the email content are specified through an RCPT command, and finally, the client executes a QUIT command to end the session.
  • Step 204: Before delivering the email, the SMTP server checks whether the email message carries a message ID header field. If the message ID header field is absent or empty, the SMTP server adds the corresponding message ID header field for the email automatically. The field is designed to match new emails and determine which email is a reply to the email.
  • The SMTP server delivers the email out. Upon receiving a new email of the sender, the server checks whether the “In-Reply-To” header field of the new email carries a message ID identical with the message ID of the old email which requires sending of an RMN. If the message ID is matched, the server determines the new email to be a reply to the old email, and sends a notification to the short message address specified in the reply notification mode. By default, the short message carries the subject of the old email and the relevant prompt. Supposing the subject of the old email is “Weekend Activity Plan”, the content of the notification message is exemplified below:
  • Your email “Weekend Activity Plan” has been answered. Please read it.
  • The content of the notification message may be preconfigured by the user, for example, through a web-based management interface provided by the email service. Through setting, the sending time, recipient address or summary of the old email can be carried in the message. The setting is effective on all reply email notifications. Moreover, the content of the notification message may be set for each email separately. That is, the content of the notification message may be specified through the notification content message parameter such as “NC” of the MAIL command before sending of the email, as exemplified below:
  • MAIL FROM:<[email protected]> NM=sms:+8613010010001
    NC=from:subject
  • In the foregoing example, the notification content is set to carry the sender address and subject. The notification content may even include the whole text of the email. For example, if the email server supports MMS, the email may be converted into an MMS message and sent to the notification address. The conversion method is detailed in RFC 4356 (Mapping Between the Multimedia Messaging Service (MMS) and Internet Mail). An example of the MAIL command is given below:
  • MAIL FROM:<Alice Example.ORG>NM=mms:+8613010010001 NC=full
  • The email server may send the corresponding short message notification to the short message gateway or short message service center, which is similar to the short message Value Added Service (VAS) in the conventional art where a short message is sent to the user. That is based on the conventional art and is not described further. Alternatively, the email server acts as an instant message client, and sends an instant message to the user's client through an instant message protocol such as XMPP, where the instant message carries the notification content and may be delivered to the client through the instant message server. Alternatively, the email server sends the email content converted into an MMS message to the multimedia message service center through an MM7 interface, and the multimedia message service center delivers the MMS message to the end user.
  • Alternatively, an E-Mail Notification (EMN) may be used to let the client retrieve the reply email automatically. The email server sends an EMN text to the push proxy or gateway, as exemplified below:
  • <xemn
    mailbox=“mailat:[email protected]
    view=“INBOX”
    event=“Reply Message”
    timestamp=“2007-08-09T06:40:00Z”
    sender=“John Smith &lt;[email protected]&gt;”
    datetime=“Thu, 09 Aug 2007 19:50:20 -0600”
    sequence-id=“1”
    uid=“136”
    subject=“Re: plan for this weekend”
     />
  • Afterward, the push proxy or gateway sends the EMN content encoded in binary format to the client through the Push Over-The-Air (Push OTA) protocol. After resolving the content, the client may use the POP3 protocol or IMAP4 protocol automatically to request the email server for the corresponding reply email, for example, use a RETR command of the POP3 protocol, where the parameter is a unique identifier of the message, namely, the “uid” in the foregoing EMN attribute. The EMN may also include the email content directly.
  • Many email servers provide the function of automatic reply, and the user may set an automatic reply message for the duration of absence from the office or the duration of holidays. Generally, the content of a reply email sent automatically is independent of the original email. Therefore, the user may choose to cancel notification of the automatic reply email. Specifically, the server may check whether the reply email carries an “Auto-Submitted” header field. If such a field is carried and the value of the field is not “no”, the server determines the email to be an automatic reply email, and therefore, does not generate any notification. A notification may also be sent upon reception of an automatic reply email, but preferably, the sent notification indicates that the reply email is sent automatically. For example, the notification message is:
  • Your email “Weekend Activity Plan” has been answered automatically.
  • Besides, the automatic reply email generated by some servers does not support the header field “Auto-Submitted”, but the subject generally includes the keyword “autoreply”. Therefore, the automatic reply email may also be identified by checking whether the subject of the new email includes the keyword “autoreply”.
  • In the second embodiment, a Multi-purpose Internet Mail Extension (MIME) header field such as “Reply-Notification-To” is extended. The client adds the MIME header field “Reply-Notification-To” to the sent email, and the sent email also includes the notification mode and address, as exemplified below:
  • Reply-Notification-To: <sms:+8613010010001>
  • The email may include multiple addresses, for example:
  • Reply-Notification-To: <sms:+8613010010001>; <sms:+8613010010002>
  • After detecting that the email to be sent includes a reply notification header field such as “Reply-Notification-To”, the email server checks the message ID header field of the email. If this field is absent or empty, the email server sets the corresponding message ID header field for the email automatically. The email server records the relevant information, for example, the message ID and notification address of the email which requires notification of reply to the email. Subsequently, if the email server finds that the “In-Reply-To” header field of the new email matches the message ID header field of the email which requires notification of reply to the email, the email server sends a notification to the specified notification address.
  • Sometimes the user may receive and send emails repeatedly for the same subject, and expect to receive notifications of all the reply emails of the same subject, namely, the same email thread. In this case, the user may require notification of reply in the email thread, and specify a thread reply notification parameter “thread”, for example, set the “thread” parameter in the reply notification header field in the second embodiment:
  • Reply-Notification-To: <sms:+8613010010001>; thread
  • or set the “thread” parameter in the MAIL command in the first embodiment:
  • MAIL FROM:<Alice Example.ORG>NM=sms:+8613010010001 thread
  • Therefore, if the email server finds that the “References” header field of the new email includes the value of the message ID header field of the email which requires notification of reply to the email, the email server sends a notification to the specified notification address. In this way, the user avoids the trouble of setting a reply notification requirement separately for every email sent in an email thread.
  • In the third embodiment, the reply notification of the email is specified by setting a sieve notification. In this embodiment, the client may send the email first, obtain the message ID header field of the email upon completion of sending, and then generate a sieve notification script which is stored in the email server. Preferably, in this embodiment, the client itself generates the message ID header field. Otherwise, it is difficult to obtain the message ID header field generated by the server for the email. An example of a sieve script is given below:
  • require [“enotify”];
    if header :contains “In-Reply-To” “[email protected]” {
    notify :message “You got reply mail” “sms: +8613010010001”;
    }
    or:
    require [“enotify”];
    if header :contains “References” “*[email protected]*” {
    notify :message “[SIEVE] ${from}: ${subject}” “sip:[email protected]”;
    }
  • In the foregoing sieve script, the “require [enotify]” indicates the requirement for the sieve notification capability; the subsequent “if” statement indicates that the header field includes the conditions set when the “In-Reply-To” field value is “[email protected]”; afterward, the “notify” action is triggered; the notification message includes the “You got reply mail” text, or includes the content of the “from” field and “subject” field of the new email, and the notification address is the short message URI address “sms:+8613010010001”. The notification message is sent if the email server finds that the new email complies with the notification conditions of the foregoing “if” statement. Besides, the “References” field may include multiple message IDs. Therefore, a wildcard “*” needs to be placed before or after the message ID.
  • If the notification address is a SIP URI or a SIPS URI, it is appropriate to send a notification message through a SIP MESSAGE by default. The generated notification message may be converted into the Common Presence and Instant Messaging (CPIM) format or plain text format, and then sent to the corresponding SIP URI or SIPS URI through the SIP MESSAGE. An example of the CPIM content is given below:
  • From: Bob <mailto:[email protected]>
    To: Alice <mailto:[email protected]>
    Subject: Help
    Content-type: text/plain
    Contact me.
  • Because the email format is similar to the CPIM format, it is very easy to perform mapping conversion. For example, both the email format and the CPIM format include the corresponding “from” and “subject” header fields. Besides, the “Content-Disposition” header field may be used to indicate that the CPIM message needs to be treated as a reply email notification. For example, the corresponding “Content-Disposition” value is “reply-mail-notification” or “sieve-notification”. In the sieve script, the content of the “message” parameter may be converted into the CPIM message body content in the plain text (text/plain) format.
  • More simply, a plain text (text/plain) message body may include the “message” parameter value directly such as the “from” and “subject” header field information of the email. The following is an example of the SIP MESSAGE generated by the sieve script:
  • notify :message “[SIEVE] ${from}: ${subject}”
    “sip:[email protected]”;
  • The corresponding SIP MESSAGE is:
  • MESSAGE sip: [email protected] SIP/2.0
    Via: SIP/2.0/TCP notifier.example.com;branch=r44F1gh345asdfd
    Max-Forwards: 70
    From: sip:[email protected];tag=12345
    To: sip:[email protected]
    Call-ID: [email protected]
    CSeq: 1 MESSAGE
    Content-Type: text/plain
    <mailto:[email protected]>; Contact me immediately!
  • In this way, it is appropriate if the client that receives the notification can identify the plain text (text/plain) content type, and this implementation mode is highly compatible. Alternatively, the notification message may also include the foregoing plain text content and the content in other notification formats such as CPIM. In this way, the necessary notification information can be obtained through the plain text content even if the client is unable to identify the notification content of other formats.
  • If the URI parameter includes a “body” parameter which specifies the content of the message body, and the sieve script contains no “message” parameter, the content in the “body” parameter of the URI is used as the message body of the SIP MESSAGE. If the “body” parameter and the “message” parameter are both contained, it is preferable to use the content of the “message” parameter and ignore the “body” parameter, or both of them are included in the finally generated notification message content. Besides, the “From” header field of the generated SIP MESSAGE is generally set to be the SIP URI address of the email server notification service rather than the address of the email sender.
  • General email sieve notifications may also be sent through a SIP message like the practice in this embodiment. For example, a SIP MESSAGE carrying a CPIM message body is sent as a notification. The corresponding “Content-Disposition” value may be “sieve-notification”. If the notification mode is a SIP URI or a SIPS URI, the “mode” parameter in the URI may be used to specify the SIP method. The SIP method is not limited to the SIP MESSAGE, and may be implemented through other messages such as INVITE, INFO or REFER. In the parameter, the values of some header fields of the SIP message may also be specified. Thus the flexibility of the sieve notification is greatly improved and the prevalent SIP protocol is fully used for sending notifications. As regards SIP URI or SIPS URI, see also Internet Engineering Task Force (IETF) RFC 3261. The following is an example of a “notify” sieve script that includes a SIP method:
  • notify :message “Contact Tom immediately!”
    “sip:[email protected]?Subject=SIEVE; method=MESSAGE”
  • The SIP method has more powerful functions than other modes such as SMS. For example, if an email includes multimedia contents such as voice, the SIP INVITE method may be applied so that the email server connects to the client actively. After a session is created, the email with multimedia contents is played or transmitted to the user through the Real-time Transport Protocol (RTP) or Message Session Relay Protocol (MSRP). The following is an example of the corresponding sieve script:
  • notify “sip: [email protected]; method=INVITE”
  • The foregoing script lacks a “message” parameter. Therefore, by default, the email subject is used as the subject field of the SIP INVITE message to provide necessary information related to the email.
  • Besides, the Uniform Resource Locator (URL) as a hyperlink address of the email may also be included in the notification. Therefore, the user may access the reply emails in the mailbox through the hyperlink directly through the Internet Message Access Protocol (IMAP). The notification content may be carried not only in a CPIM format, but also in a sieve notification format such as “application/sieve-notification+xml”. The following is an example of the content of a notification which includes a hyperlink:
  • From: notifier <sip:[email protected]>
    To: Alice <sip:[email protected]>
    Content-Type: application/sieve-notification+xml
    Content-Disposition: sieve-notification
    <?xml version=“1.0”?>
    <sieve-notification>
    <from>[email protected]</from>
    <subject>help</subject>
    <message>You got reply mail</message>
    <url>
    imap://[email protected]/INBOX;UIDVALIDITY=1234567/;UID=11
    </url>
    </sieve-notification>
  • In the foregoing notification, both the notification message text and the URL are included in a message body of the Extensible Markup Language (XML) format, with the Content-Type being “application/sieve-notification+xml”. The Content-Type may also be included in the messages such as a SIP INVITE message to provide necessary information of the email.
  • The sieve script may also specify the importance of the notification through an “importance” parameter. The parameter value “1” indicates highest importance, “2” indicates high importance, and “3” indicates low importance. The following is an example of a sieve script:
  • notify :importance “1”
    :message “Contact Tom immediately!”
    “sip:[email protected]?Subject=SIEVE; method=MESSAGE”
  • If the notification is sent through a SIP method, the “Priority” header field in the SIP header field is set according to the importance of the sieve script. For example, the “importance” parameter values “1”, “2” and “3” correspond to “urgent”, “normal” and “non-urgent” values of the “Priority” field.
  • After sending the SIP MESSAGE, if the email server receives an error response such as a 6XX response (namely, the message is sent successfully but rejected), it is preferable not to resend the message. If the response is “513 Message Too Large”, the message needs to be shortened before it is resent. That is, the email server judges whether the message needs to be resent according to the type of the returned error. Besides, it is preferable to set an upper threshold (such as 10 times) of resending.
  • If the notification message is simple, a smallest EMN text may be sent to the push proxy or gateway through the email server through the Push Access Protocol (Push PAP), and the notification mode may be set to “push”. The following is an example of the sieve script:
  • if header :contains “In-Reply-To” “[email protected]” {
    notify : “push: +8613010010001”;
    }
  • The following is an example of the EMN text:
  • <emn
    mailbox=“mailat:[email protected]
    timestamp=“2007-08-09T06:40:00Z”>
    </emn>
  • Afterward, the push proxy or gateway converts the notification message into a binary format, and sends it to the client proxy through the Push Over-The-Air (Push OTA) protocol.
  • Through the solution based on a sieve script, the user may set the notification more flexibly. In practice, the client software just lets the user choose whether a reply notification is required, without letting the user input the sieve script. After finding that the user requires a reply notification and provides a notification address, the client generates the sieve script automatically, and uploads the sieve script to the email server through the File Transfer Protocol (FTP) or Hyper Text Transfer Protocol (HTTP) protocol.
  • The fourth embodiment is applicable to the Webmail scenario. Webmail is a prevalent email service provision mode. The user inputs the recipient address and the email content on the web page, and clicks the button on the web page to send an email. The user may also set some mail options, for example, whether to save sent emails. The Webmail service is easy to use, and is available from many websites.
  • In the embodiments of the present invention, when inputting the recipient address and email content on the web page, the user may select the option that requires notification of reply among the mail options on the web page. Therefore, after the content of the web page is delivered to the server through the HTTP protocol, the server records the message ID header field of the sent email while sending the email. Upon arrival of a new email of the user, the server sends a notification message to the preset notification address if the “In-Reply-To” header field of the new email matches the recorded message ID header field. The notification mode expected by the user and the notification address are generally fixed, and therefore, may be preset on the web page and stored in the server, without the need of being specified in the mail options separately for every email that requires notification of reply.
  • Besides, when the user selects the option that requires notification of reply among the mail options, the user may also specify the validity period of the notification. For example, if the validity period is set to 1 day, the server sends no notification of the reply received 1 day after the email is sent. The user may also specify whether to require notification of all reply emails in the whole email thread, or require notification of the first reply email in the email thread. The user may also specify the time segment allowed for sending a reply notification. For example, if the specified time segment is 9:00-21:00, the email server generates no reply notification beyond 9:00-21:00.
  • The fifth embodiment describes a scenario which requires notification of all reply emails. For example, a user who seldom uses the email service expects to be notified of reply to any sent email, but not notified of new emails actively sent by others. For that purpose, the user may set a sieve script on the email server. A simple and rough script is given below:
  • if exists [“In-Reply-To”] {
    notify :message “You got reply mail” “sms: +8613010010001”;
    }
  • The foregoing script means that: The email server needs to send a notification if an “In-Reply-To” header field exists. That is because existence of the “In-Reply-To” header field generally indicates a reply email. However, the original email may not necessarily be sent by this user. Although rough, the script prevents omission of any reply email, and is a practicable solution. The matching precision may be improved by adding conditions. For example, a condition that the “to” field includes the mailbox address of the user is added to the “if” conditions, thus basically ensuring that any matched new email is a reply to the user.
  • To implement precise reply notification, the email server records the message ID header field of the email sent by the user, and uses a test command “IsReply” in the sieve script to judge whether the new email is a reply. That is, the email server checks whether the “In-Reply-To” header field of the new email matches the recorded message ID header field according to the test command. The following is an example of the script:
  • if IsReply {
    notify :message “You got reply mail” “sms: +8613010010001”;
    }
  • The sixth embodiment describes how to obtain a notification message through the event subscription/notification mechanism of the SIP. After sending an email, the client obtains the message ID header field of the email, and sends a SUBSCRIBE message to the email server, with the message body carrying the corresponding sieve script, as exemplified below:
  • SUBSCRIBE sip:[email protected] SIP/2.0
    Event: message-summary
    Accept: application/sieve-notification+xml
    Content-Type: application/sieve
    require [“enotify”];
    if header :contains “In-Reply-To” “[email protected]” {
    notify :message “You got reply mail”;
    }
  • For brevity, the foregoing message text omits some contents. The email server stores the sieve script, and generates a NOTIFY message once the sieve conditions are met, namely, when a reply email is received. Partial contents of an exemplary notification message are given below:
  • NOTIFY sip:[email protected] SIP/2.0
    Event: message-summary
    Content-Type: application/sieve-notification+xml
    <?xml version=“1.0”?>
    <sieve-notifications notify-counter=“100”><notification>
    <message>You got reply mail</message>
    </notification></sieve-notifications>
  • The event package of the foregoing SUBSCRIBE message and NOTIFY message is a “message-summary”.
  • As shown in FIG. 2, an email server 20 of the present invention includes a message receiving module 201, a message delivering module 202, and a reply notification processing module 203. The message receiving module 201 receives the email; the message delivering module 202 sends the email out; and the reply notification processing module 203 generates and sends a notification after detecting that the new email received by the message receiving module 201 is a reply of which the server is required to send a notification. Specifically, as described in the first embodiment, if the reply notification processing module 203 finds that the “In-Reply-To” header field of the new email matches the message ID header field of the email which requires notification of reply to the email, the reply notification processing module 203 sends a notification to the short message address specified in the reply notification mode. The reply notification processing module 203 of the email server 20 in the sieve script solution of the present invention is adapted to send the corresponding notification after detecting that a new email received by the message receiving module 201 meets the sieve conditions. Besides, when the message delivering module 202 sends the email out, if the email requires notification of reply to the email, the message delivering module 202 checks whether the email carries a message ID. If the email carries no message ID, the message delivering module 202 generates a message ID automatically and records it.
  • As shown in FIG. 3, an email client 30 of the present invention includes: an email delivering module 301, adapted to send the email out; and a reply notification setting module 302, adapted to set reply notification for the sent email. The reply notification setting module 302 may also generate a sieve script automatically in the third embodiment mentioned above, and upload the sieve script to the email server through a protocol such as FTP. The email client 30 may also include an email retrieving module 303. After the email client receives a reply email notification from the email server 20, the email retrieving module 303 may retrieve the reply email from the email server automatically according to the information in the reply email notification. For example, the email retrieving module 303 may retrieve new emails from the mailbox through the IMAP protocol or POP3 protocol. Specially, the email retrieving module 303 may retrieve the reply email indicated in the reply notification rather than all new emails. In this way, the user may retrieve reply emails more quickly in the case that the user uses a mobile network. Generally, the mobile network charges the user based on traffic, which saves the expense of the user and reduces the information traffic of the mobile network. Other emails may be received when the user is connected to the fixed network which charges a lower tariff. The reply notification setting module 302 sets reply notification indication information in the command of sending the email from the email delivering module 301. Alternatively, the reply notification setting module 302 uploads a sieve script carrying reply notification indication information to the email server 20.
  • It is understandable to those skilled in the art that all or partial steps of the foregoing embodiments can be implemented by hardware instructed by a program. The program may be stored in a computer readable storage medium. When executed, the program includes the following steps:
  • receiving an email from a client;
  • delivering the received email; and
  • notifying the sender of the email upon receiving a new email if determining that the received new email is a reply to the email.
  • The storage medium mentioned above may be a Read-Only Memory (ROM), a magnetic disk or a Compact Disk (CD).
  • In summary, through embodiments of the present invention, the user may receive an instant notification upon arrival of a reply to the email and retrieve the reply information in time; all or a selected part of the email contents may be notified to the user directly so that the user knows the reply email information in time; the user may set the notification method flexibly to obtain the notification conveniently, for example, select to receive notifications through short messages or instant messages; and the user may be notified of all reply emails.
  • It is apparent that those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. The present invention is intended to cover such modifications and variations provided that they fall in the scope of protection defined by the following claims or their equivalents.

Claims (22)

1. A method for processing emails, comprising:
receiving an email from a client;
delivering the received email; and
notifying a sender of the email upon receiving a new email if determining that the received new email is a reply to the email.
2. The method of claim 1, wherein the receiving of the email from the client comprises:
receiving and transferring an indication of instant notification upon arrival of the reply to the email while receiving the email from the client.
3. The method of claim 2, comprising: setting a reply email notification indication in parameters of a sent Simple Mail Transfer Protocol (SMTP) MAIL command, wherein the reply email notification indication carries a notification mode and address.
4. The method of claim 2, comprising:
setting the reply email notification indication in a Multi-purpose Internet Mail Extension (MIME) header field of the sent email.
5. The method of claim 1, comprising:
detecting whether the email to be delivered carries a message ID; and
adding the message ID for the email before delivery if no message ID is carried.
6. The method of claim 5, comprising:
recording the message ID of the sent email; and
sending a notification upon receiving the new email if finding that an “In-Reply-To” header field or a “References” header field of the new email carries the recorded message ID.
7. The method of claim 1, comprising:
generating a message ID for the email when the client sends the email;
receiving a sieve script which is generated by the client and requires notification of reply to the email; and
sending a notification after receiving the new email if finding that the new email meets conditions of the sieve script.
8. The method of claim 1, comprising:
by the client, selecting an option that requires notification of reply among mail options on a web page if a Webmail service is in use; and sending email contents and the mail options through a Hyper Text Transfer Protocol (HTTP);
generating and recording a message ID of the email when delivering the received email; and
sending a notification message to a preset notification address after detecting arrival of the new email if an “In-Reply-To” header field of the new email matches the recorded message ID.
9. An email sieve notification method, comprising:
setting a parameter of a notification mode to a Session Initiation Protocol (SIP) Uniform Resource Identifier (URI) in a sieve script; and
sending a SIP message as a notification according to the notification mode when receiving a new email compliant with conditions of the sieve script.
10. The method of claim 9, wherein:
the SIP message is a MESSAGE; and
the notification carries email information and is converted into a sieve notification message format or a Common Presence and Instant Messaging (CPIM) format, and is sent out through the SIP message.
11. The method of claim 9, wherein:
the SIP message is a MESSAGE, and a content type of a message body of the MESSAGE is plain text; and
email information is converted into a plain text format, and carried in the message body of the MESSAGE before being sent out.
12. The method of claim 10, wherein:
a processing mode of the notification is marked as a sieve notification; and
a client that receives the notification handles notification contents in the SIP message according to the sieve notification.
13. The method of claim 9, wherein: the sieve script carries an “Importance” parameter, and a “Priority” header field of the sent SIP message carries a corresponding value.
14. The method of claim 9, wherein: the sieve script carries a “Message” parameter, and therefore, the message body of the sent SIP message carries a value of the “Message” parameter.
15. The method of claim 9, comprising:
playing or transferring email contents to a client through a Real-time Transport Protocol (RTP) or a Message Session Relay Protocol (MSRP) after a session is created between an email server and the client through a SIP INVITE message if a SIP URI method parameter is set to “INVITE”.
16. The method of claim 9, wherein a value of a “From” header field of the SIP message is set to an address of an email server notification service.
17. An email server, comprising:
a message receiving module, adapted to receive an email;
a message delivering module, adapted to send the email received by the message receiving module; and
a reply notifying module, adapted to: detect a new email received by the message receiving module, and generate and send a notification if the received new email is a reply to the email.
18. The server of claim 17, wherein:
the message delivering module is further adapted to check whether the email carries a message ID if the message delivering module finds that the email to be sent requires notification of reply to the email, and generate a message ID for the email automatically and records the message ID as the email carries no message ID; and
the reply notification processing module is further adapted to judge whether the received new email is the reply to the email by detecting whether an “In-Reply-To” header field or “References” header field of the new email carries the recorded message ID.
19. An email client, comprising:
an email delivering module, adapted to send an email out; and
a reply notification setting module, adapted to set indication information which indicates notification of reply to the email sent by the email delivering module.
20. The client of claim 19, further comprising:
an email retrieving module, adapted to retrieve the email, and retrieve a reply email from an email server automatically according to information in a reply email notification upon receiving the reply email notification.
21. The client of claim 19, wherein:
the reply notification setting module sets reply notification indication information in a command of sending the email from the email delivering module; or
the client uploads a sieve script carrying the reply notification indication information to an email server.
22. A computer program product, comprising computer program code, which, when executed by a computer unit, will cause the computer unit to perform the steps of claim 1.
US12/428,647 2007-08-21 2009-04-23 Method, server and client for processing emails Abandoned US20090204681A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CNA2007100765234A CN101374117A (en) 2007-08-21 2007-08-21 Method for processing e-mail, e-mail server and client terminal
CN200710076523.4 2007-08-21
PCT/CN2008/072066 WO2009024088A1 (en) 2007-08-21 2008-08-20 Method for processing electronic mail, electronic mail server and client

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072066 Continuation WO2009024088A1 (en) 2007-08-21 2008-08-20 Method for processing electronic mail, electronic mail server and client

Publications (1)

Publication Number Publication Date
US20090204681A1 true US20090204681A1 (en) 2009-08-13

Family

ID=40377869

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/428,647 Abandoned US20090204681A1 (en) 2007-08-21 2009-04-23 Method, server and client for processing emails

Country Status (3)

Country Link
US (1) US20090204681A1 (en)
CN (1) CN101374117A (en)
WO (1) WO2009024088A1 (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153505A1 (en) * 2008-12-11 2010-06-17 Samsung Electronics Co., Ltd. Method and apparatus for sending instant message disposition notification request and response in a converged-ip messaging service and system thereof
US20100262666A1 (en) * 2009-04-08 2010-10-14 Research In Motion Limited System and Method for Silencing Notifications for A Message Thread
US20110041082A1 (en) * 2009-08-17 2011-02-17 Nguyen David T System for targeting specific users to discussion threads
US20140098716A1 (en) * 2008-09-05 2014-04-10 Telefonaktiebolaget Lm Ericsson (Publ) End-to-End Address Transfer
US20140280755A1 (en) * 2013-03-15 2014-09-18 Adobe Systems Incorporated Transferring Assets via a Server-Based Clipboard
US8898235B2 (en) * 2012-07-18 2014-11-25 Infinite Convergence Solutions, Inc. Method and devices for message disposition notification after session termination
US20150026325A1 (en) * 2013-07-18 2015-01-22 International Business Machines Corporation Notification normalization
US9055018B2 (en) 2010-12-03 2015-06-09 International Business Machines Corporation Related message detection and indication
US20150371040A1 (en) * 2013-02-06 2015-12-24 Beijing Qihoo Technology Company Limited Method, Device And System For Processing Notification Bar Message
US9367149B2 (en) 2013-04-03 2016-06-14 Adobe Systems Incorporated Charging mechanism through a conductive stylus nozzle
US20170005825A1 (en) * 2013-12-20 2017-01-05 Samsung Electronics Co., Ltd. Method and device for event notification in home network system
US9647991B2 (en) 2013-03-15 2017-05-09 Adobe Systems Incorporated Secure cloud-based clipboard for touch devices
US9660477B2 (en) 2013-03-15 2017-05-23 Adobe Systems Incorporated Mobile charging unit for input devices
US9699625B2 (en) 2013-07-18 2017-07-04 International Business Machines Corporation Push notification middleware
US9706002B2 (en) 2013-07-18 2017-07-11 International Business Machines Corporation Push notification via file sharing service synchronization
US10153993B2 (en) * 2016-07-18 2018-12-11 T-Mobile Usa, Inc. RCS origination forking
US10237212B2 (en) 2016-07-18 2019-03-19 T-Mobile Usa, Inc. RCS origination forking
EP3667506A4 (en) * 2017-08-10 2020-11-18 Sony Corporation Information processing device, program, and information processing method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8707420B2 (en) 2010-05-21 2014-04-22 Microsoft Corporation Trusted e-mail communication in a multi-tenant environment
CN102447643B (en) * 2010-10-13 2015-01-14 金蝶软件(中国)有限公司 Active method of business processing message, information system and terminal
CN102546554B (en) * 2010-12-27 2015-01-28 中兴通讯股份有限公司 IP (Internet Protocol) multimedia subsystem and method thereof for recovering user subscription relationship
CN102426683B (en) * 2011-10-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 A kind of Mail Contents based reminding method and system
CN106792577A (en) * 2015-11-23 2017-05-31 中国电信股份有限公司 Method and system for pointing out reception electronic information
CN105791092A (en) * 2016-04-08 2016-07-20 东南大学 A sending method for confirming the successful understanding of the notification message and replying the message and a method for waiting for the reply
CN111080223A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Mail processing method, device and computer readable storage medium
CN115334033A (en) * 2022-08-24 2022-11-11 杭州谱链智能科技有限公司 Enterprise data exchange method and device based on e-mail

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165913A1 (en) * 2004-01-26 2005-07-28 Stephane Coulombe Media adaptation determination for wireless terminals
US20060133335A1 (en) * 2004-12-20 2006-06-22 Nokia Corporation Establishing a push session in a communication system
US20070061423A1 (en) * 2005-09-15 2007-03-15 Accapadi Jos M Facilitating presentation and monitoring of electronic mail messages with reply by constraints
US20070259673A1 (en) * 2006-05-04 2007-11-08 Telefonaktiebolaget Lm Ericsson (Publ) Inactivity monitoring for different traffic or service classifications
US20070264948A1 (en) * 2006-05-15 2007-11-15 Michael Jansson Adaptation of push mail filters to save UE battery power
US20080080677A1 (en) * 2006-09-29 2008-04-03 Microsoft Corporation Missed instant message notification
US20080270545A1 (en) * 2007-04-27 2008-10-30 Howe Anthony C Enhanced message-id as electronic watermark for electronic mail filtering
US20090037541A1 (en) * 2007-08-03 2009-02-05 Research In Motion Limited System and method for automatically responding to a message sent to a user at an email server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1344094A (en) * 2000-09-19 2002-04-10 Agc科技股份有限公司 Electronic information transfer and method and system for identifying electronic mail
CN1260931C (en) * 2003-06-13 2006-06-21 腾讯科技(深圳)有限公司 E-mail processing method and system in instant communication system
CN1801199A (en) * 2005-11-29 2006-07-12 冯志刚 Method for using CC function to filter important emails and sending short message notification to user

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165913A1 (en) * 2004-01-26 2005-07-28 Stephane Coulombe Media adaptation determination for wireless terminals
US20060133335A1 (en) * 2004-12-20 2006-06-22 Nokia Corporation Establishing a push session in a communication system
US20070061423A1 (en) * 2005-09-15 2007-03-15 Accapadi Jos M Facilitating presentation and monitoring of electronic mail messages with reply by constraints
US20070259673A1 (en) * 2006-05-04 2007-11-08 Telefonaktiebolaget Lm Ericsson (Publ) Inactivity monitoring for different traffic or service classifications
US20070264948A1 (en) * 2006-05-15 2007-11-15 Michael Jansson Adaptation of push mail filters to save UE battery power
US20080080677A1 (en) * 2006-09-29 2008-04-03 Microsoft Corporation Missed instant message notification
US20080270545A1 (en) * 2007-04-27 2008-10-30 Howe Anthony C Enhanced message-id as electronic watermark for electronic mail filtering
US20090037541A1 (en) * 2007-08-03 2009-02-05 Research In Motion Limited System and method for automatically responding to a message sent to a user at an email server

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140098716A1 (en) * 2008-09-05 2014-04-10 Telefonaktiebolaget Lm Ericsson (Publ) End-to-End Address Transfer
US9420018B2 (en) * 2008-09-05 2016-08-16 Telefonaktiebolaget Lm Ericsson (Publ) End-to-end address transfer
US7991848B2 (en) * 2008-12-11 2011-08-02 Samsung Electronics Co., Ltd Method and apparatus for sending instant message disposition notification request and response in a converged-IP messaging service and system thereof
US20100153505A1 (en) * 2008-12-11 2010-06-17 Samsung Electronics Co., Ltd. Method and apparatus for sending instant message disposition notification request and response in a converged-ip messaging service and system thereof
US9349120B2 (en) * 2009-04-08 2016-05-24 Blackberry Limited System and method for silencing notifications for a message thread
US20100262666A1 (en) * 2009-04-08 2010-10-14 Research In Motion Limited System and Method for Silencing Notifications for A Message Thread
US20110041082A1 (en) * 2009-08-17 2011-02-17 Nguyen David T System for targeting specific users to discussion threads
US9514435B2 (en) * 2009-08-17 2016-12-06 Accenture Global Services Limited System for targeting specific users to discussion threads
US9055018B2 (en) 2010-12-03 2015-06-09 International Business Machines Corporation Related message detection and indication
US8898235B2 (en) * 2012-07-18 2014-11-25 Infinite Convergence Solutions, Inc. Method and devices for message disposition notification after session termination
US9953161B2 (en) * 2013-02-06 2018-04-24 Beijing Qihoo Technology Company Limited Method, device and system for processing notification bar message
US20150371040A1 (en) * 2013-02-06 2015-12-24 Beijing Qihoo Technology Company Limited Method, Device And System For Processing Notification Bar Message
US9660477B2 (en) 2013-03-15 2017-05-23 Adobe Systems Incorporated Mobile charging unit for input devices
US9467495B2 (en) * 2013-03-15 2016-10-11 Adobe Systems Incorporated Transferring assets via a server-based clipboard
US10382404B2 (en) 2013-03-15 2019-08-13 Adobe Inc. Secure cloud-based clipboard for touch devices
US20140280755A1 (en) * 2013-03-15 2014-09-18 Adobe Systems Incorporated Transferring Assets via a Server-Based Clipboard
US9647991B2 (en) 2013-03-15 2017-05-09 Adobe Systems Incorporated Secure cloud-based clipboard for touch devices
US9367149B2 (en) 2013-04-03 2016-06-14 Adobe Systems Incorporated Charging mechanism through a conductive stylus nozzle
US9780994B2 (en) * 2013-07-18 2017-10-03 International Business Machines Corporation Notification normalization
US20150026324A1 (en) * 2013-07-18 2015-01-22 International Business Machines Corporation Notification normalization
US9706002B2 (en) 2013-07-18 2017-07-11 International Business Machines Corporation Push notification via file sharing service synchronization
US9706371B2 (en) 2013-07-18 2017-07-11 International Business Machines Corporation Push notification middleware
US9712631B2 (en) 2013-07-18 2017-07-18 International Business Machines Corporation Push notification via file sharing service synchronization
US9769012B2 (en) * 2013-07-18 2017-09-19 International Business Machines Corporation Notification normalization
US20150026325A1 (en) * 2013-07-18 2015-01-22 International Business Machines Corporation Notification normalization
US9699625B2 (en) 2013-07-18 2017-07-04 International Business Machines Corporation Push notification middleware
US20170005825A1 (en) * 2013-12-20 2017-01-05 Samsung Electronics Co., Ltd. Method and device for event notification in home network system
US10721090B2 (en) * 2013-12-20 2020-07-21 Samsung Electronics Co., Ltd. Method and device for event notification in home network system
US11516041B2 (en) 2013-12-20 2022-11-29 Samsung Electronics Co., Ltd. Method and device for event notification in home network system
US10153993B2 (en) * 2016-07-18 2018-12-11 T-Mobile Usa, Inc. RCS origination forking
US10237212B2 (en) 2016-07-18 2019-03-19 T-Mobile Usa, Inc. RCS origination forking
EP3667506A4 (en) * 2017-08-10 2020-11-18 Sony Corporation Information processing device, program, and information processing method
US11308956B2 (en) 2017-08-10 2022-04-19 Sony Corporation Information processing device, program, and information processing method

Also Published As

Publication number Publication date
CN101374117A (en) 2009-02-25
WO2009024088A1 (en) 2009-02-26

Similar Documents

Publication Publication Date Title
US20090204681A1 (en) Method, server and client for processing emails
US8478825B2 (en) Method and arrangment in a communication system for delivering messages to a recipient
US7725542B2 (en) Forwarding IM messages to E-mail
US7991848B2 (en) Method and apparatus for sending instant message disposition notification request and response in a converged-IP messaging service and system thereof
US7792913B2 (en) Providing multi-device instant messaging presence indications
US8767543B2 (en) Terminal and method for storing and retrieving messages in a converged IP messaging service
KR20080043264A (en) Method and system for managing message threads in integrated IP messaging service
MX2010012392A (en) A message delivery mechanism.
US20170070459A1 (en) Systems and methods for adding media content to electronic messages
US10129190B2 (en) Method and apparatus for messaging service internetworking
US8930466B2 (en) Method for internet-based messaging
US9450899B2 (en) Systems and methods for messaging and presence modification
US9401812B1 (en) Message presence
US8615554B1 (en) Electronic mail delivery physical delivery backup
JP2007533245A (en) Message linkage system and method between mobile communication terminals
US20100138507A1 (en) Method for processing pager model messages and user agent thereof
US20070214221A1 (en) Method and system for email notification using auto-forwarding and a lightweight mail notification sender
KR20080049289A (en) Real-time integrated messaging system and service method interworking between instant messaging server and mail server
US20170005960A1 (en) Systems methods and computer-readable storage media for messaging and presence modification
Vaudreuil et al. Voice profile for internet mail-version 2 (vpimv2)
CN100561989C (en) Information gateway and information transmission method and system based on group communication
WO2012080930A2 (en) Systems and methods for messaging and presence modifcation
Vaudreuil et al. RFC 3801: Voice Profile for Internet Mail-version 2 (VPIMv2)
Wong Goals for Internet Messaging to Support Diverse Service Environments
CA2581308A1 (en) Method and system for email notification using auto-forwarding and a lightweight mail notification sender

Legal Events

Date Code Title Description
AS Assignment

Owner name: HUAWEI TECHNOLOGIES CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SUN, QIAN;REEL/FRAME:022592/0359

Effective date: 20090403

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

OSZAR »