[go: up one dir, main page]

CN101083788B - Method and system for automatically selecting email sending account - Google Patents

Method and system for automatically selecting email sending account Download PDF

Info

Publication number
CN101083788B
CN101083788B CN2006100836803A CN200610083680A CN101083788B CN 101083788 B CN101083788 B CN 101083788B CN 2006100836803 A CN2006100836803 A CN 2006100836803A CN 200610083680 A CN200610083680 A CN 200610083680A CN 101083788 B CN101083788 B CN 101083788B
Authority
CN
China
Prior art keywords
account
mail
field
address
sender address
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.)
Expired - Fee Related
Application number
CN2006100836803A
Other languages
Chinese (zh)
Other versions
CN101083788A (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.)
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
Priority to CN2006100836803A priority Critical patent/CN101083788B/en
Publication of CN101083788A publication Critical patent/CN101083788A/en
Application granted granted Critical
Publication of CN101083788B publication Critical patent/CN101083788B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种自动选择邮件发送账户的方法及系统,其关键是,预先设置包含发送者地址的账户选择条件列表,在发送邮件时,根据所述账户选择条件列表选择发送者地址,将该地址填入到邮件头域中的发送账户字段内。应用本发明,实现了自动地选择邮件发送账户,方便地更改了发送账户。而且避免了现有的手工改动发送账户的方式,提高了用户体验,同时减少了选择错误发送账户的几率。

Figure 200610083680

The present invention discloses a method and system for automatically selecting an account for sending emails. The key is to pre-set an account selection condition list containing the sender's address, and when sending an email, select the sender's address according to the list of account selection conditions, and set the The address is filled in the sending account field in the email header field. By applying the present invention, the automatic selection of the mail sending account is realized, and the sending account is changed conveniently. Moreover, the existing method of manually changing the sending account is avoided, the user experience is improved, and the probability of selecting a wrong sending account is reduced at the same time.

Figure 200610083680

Description

自动选择邮件发送账户的方法及系统 Method and system for automatically selecting email sending account

技术领域technical field

本发明涉及移动通信技术领域,特别是指一种自动选择邮件发送账户的方法及系统。The invention relates to the technical field of mobile communication, in particular to a method and system for automatically selecting an email sending account.

背景技术Background technique

随着移动通信技术的发展,Internet应用被扩展到移动应用领域。移动通信网络包括现有的2G、2.5G,未来的3G、以及多媒体子域等等。第三代移动通信技术加速了电信网和Internet的融合,Internet应用向移动网络的延伸扩展了移动网络的业务能力,而移动网络的固有特点又对这些应用提出了新的需求。With the development of mobile communication technology, Internet applications have been extended to the field of mobile applications. The mobile communication network includes the existing 2G, 2.5G, the future 3G, and the multimedia sub-domain and so on. The third-generation mobile communication technology has accelerated the integration of the telecommunication network and the Internet. The extension of Internet applications to the mobile network has expanded the service capabilities of the mobile network, and the inherent characteristics of the mobile network have put forward new requirements for these applications.

电子邮件在Internet应用中占有重要的地位,移动邮件业务是对传统互联网电子邮件的扩展,支持利用移动终端设备编辑收发电子邮件,并可以和Internet的电子邮件业务进行无缝融合。E-mail plays an important role in Internet applications. The mobile e-mail service is an extension of traditional Internet e-mail. It supports editing and sending e-mails using mobile terminal equipment, and can seamlessly integrate with Internet e-mail services.

用户可以同时拥有多个邮件账户,即多个发送邮件的地址,当用户利用移动终端发送邮件的时候可以根据不同的接收者手动选择不同的邮件账户进行发送。用户可以设置一个默认邮件账户,每次发送邮件均以默认账户进行发送,当用户有特殊需要时可以手工选择其他的邮件账户进行发送。A user can have multiple email accounts at the same time, that is, multiple addresses for sending emails. When the user uses a mobile terminal to send emails, he can manually select different email accounts to send according to different recipients. Users can set a default email account, and send emails with the default account every time. When users have special needs, they can manually select other email accounts to send.

在实际应用中,经常出现这样的情况:对于不同的接收者,用户希望用不同的地址进行发送。而应用现有的手工改动发送账户的方式,不但实现麻烦,而且出错的机率也较大。In practical applications, such a situation often occurs: for different recipients, the user wishes to use different addresses for sending. However, using the existing method of manually changing the sending account is not only troublesome, but also has a higher probability of making mistakes.

再有,如果用户设置了一个容量相对较小如2M的账户作为默认账户,那么当该用户应用该账户发送大于2M的邮件时就会出错,这同样也增加了出错的机率。一般而言,用户不太清楚自己所发邮件的具体大小,所以用户在发送的时候并不一定会选择其他邮箱作为发送地址。Have again, if the user sets up a relatively small account such as 2M as the default account, then when the user uses this account to send mails greater than 2M, an error will occur, which also increases the probability of error. Generally speaking, users don't know the specific size of the email they send, so they don't necessarily choose other mailboxes as the sending address when sending.

可见,在实际应用中,如果用户需要更改发送账户是非常不方便的。It can be seen that in practical applications, it is very inconvenient if the user needs to change the sending account.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种自动选择邮件发送账户的方法及系统,可以自动地选择邮件发送账户。In view of this, the object of the present invention is to provide a method and system for automatically selecting an email sending account, which can automatically select an email sending account.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种自动选择邮件发送账户的方法,设置包含发送者地址的账户选择条件列表,在发送邮件时,根据所述账户选择条件列表选择发送者地址,将该地址填入到邮件头域中的发送账户字段内。A method for automatically selecting an email sending account, setting an account selection condition list containing the sender's address, when sending an email, selecting the sender's address according to the account selection condition list, and filling the address into the sending email header field account field.

较佳地,在发送邮件时,根据所述账户选择条件列表选择发送者地址之前,进一步包括:识别该邮件头域中的发送账户字段,Preferably, when sending an email, before selecting the sender's address according to the account selection condition list, the method further includes: identifying the sending account field in the header field of the email,

如果该发送账户字段中存在已注册账户,则不做处理;If there is a registered account in the sending account field, it will not be processed;

如果该发送账户字段存在非已注册账户或该字段内为空,则再执行后续步骤;If there is a non-registered account in the sending account field or the field is empty, then perform the next steps;

如果不存在该字段,则创建该发送账户字段后,再执行后续步骤。If this field does not exist, perform the next steps after creating the sending account field.

较佳地,所述账户选择条件列表中包含接收者地址和发送者地址的对应关系;Preferably, the list of account selection conditions includes the corresponding relationship between the receiver's address and the sender's address;

所述根据所述账户选择条件列表选择发送者地址的过程为:获取所述邮件的接收者地址,根据所述账户选择条件列表中接收者地址和发送者地址的对应关系,选择与该接收者地址对应的发送者地址。The process of selecting the address of the sender according to the list of account selection conditions is as follows: obtaining the address of the recipient of the email, and selecting an address corresponding to the recipient according to the correspondence between the address of the recipient and the address of the sender in the list of account selection conditions. The sender address corresponding to the address.

较佳地,所述一个发送者地址与一个或一个以上接收者地址相对应。Preferably, the one sender address corresponds to one or more recipient addresses.

较佳地,所述账户选择条件列表中包含发送时间和发送者地址的对应关系;Preferably, the list of account selection conditions includes a corresponding relationship between sending time and sender's address;

所述根据所述账户选择条件列表选择发送者地址的过程为:获取当前时间,根据所述账户选择条件列表中发送时间和发送者地址的对应关系,选择与该发送时间对应的发送者地址。The process of selecting the sender's address according to the account selection condition list is: obtaining the current time, and selecting the sender's address corresponding to the sending time according to the corresponding relationship between the sending time and the sender's address in the account selection condition list.

较佳地,所述账户选择条件列表中包含邮件属性和发送者地址的对应关系;Preferably, the list of account selection conditions includes correspondence between email attributes and sender addresses;

所述根据所述账户选择条件列表选择发送者地址的过程为:获取当前待发送邮件的属性,根据所述账户选择条件列表中邮件属性和发送者地址的对应关系,选择与该邮件属性对应的发送者地址。The process of selecting the sender's address according to the account selection condition list is: obtaining the attribute of the email to be sent currently, and selecting the email address corresponding to the email attribute according to the correspondence between the email attribute and the sender's address in the account selection condition list. sender address.

较佳地,所述邮件属性为邮件大小。Preferably, the mail attribute is mail size.

较佳地,根据所述账户选择条件列表选择发送者地址之后,进一步包括:向移动终端返回所选择的发送者地址,并接收到来自用户的确认信息后,再执行后续步骤。Preferably, after selecting the sender address according to the list of account selection conditions, the method further includes: returning the selected sender address to the mobile terminal, and performing subsequent steps after receiving confirmation information from the user.

较佳地,该方法进一步包括:将所选择的发送者地址填入到邮件头域中的回复账户字段内。Preferably, the method further includes: filling the selected sender's address into the reply account field in the mail header field.

较佳地,所述账户选择条件列表位于移动终端内,所述选择及填入发送者地址的操作由移动终端完成;或者,Preferably, the list of account selection conditions is located in the mobile terminal, and the operation of selecting and filling in the sender's address is completed by the mobile terminal; or,

所述账户选择条件列表位于移动电子邮件服务器内,所述选择及填入发送者地址的操作由移动电子邮件服务器完成。The list of account selection conditions is located in the mobile email server, and the operations of selecting and filling in the sender's address are completed by the mobile email server.

较佳地,所述发送账户字段为From字段,所述回复账户字段为Reply-To字段。Preferably, the sending account field is a From field, and the replying account field is a Reply-To field.

较佳地,如果所述账户选择条件列表位于移动电子邮件服务器内,则所述账户选择条件列表通过网页的方式设置,或通过短消息发送信令的方式设置,或通过语音提示的方式设置,或通过人工语音电话的方式设置;Preferably, if the list of account selection conditions is located in the mobile email server, the list of account selection conditions is set through a webpage, or through a short message sending signaling, or through a voice prompt, Or set by artificial voice phone;

如果所述账户选择条件列表位于移动终端内,则直接在移动终端上进行设置。If the list of account selection conditions is located in the mobile terminal, it is directly set on the mobile terminal.

一种自动选择邮件发送账户的系统,包括移动终端、移动电子邮件服务器,一个或一个以上邮件服务器,所述移动终端用于创建、编辑待发送邮件,所述移动电子邮件服务器,用于将待发送移动邮件发送给邮件服务器,或将来自邮件服务器的邮件传送给移动终端,所述邮件服务器用于对外收发电子邮件;该系统还包括发送账户选择模块,A system for automatically selecting email sending accounts, including a mobile terminal, a mobile email server, and one or more email servers, the mobile terminal is used to create and edit emails to be sent, and the mobile email server is used to send emails to be sent Sending mobile mail to the mail server, or sending mail from the mail server to the mobile terminal, the mail server is used to send and receive e-mail; the system also includes a sending account selection module,

所述发送账户选择模块,用于在发送邮件时,根据已设置的账户选择条件列表选择发送者地址,将该地址填入到邮件头域中的发送账户字段内。The sending account selection module is used to select the sender's address according to the set account selection condition list when sending the mail, and fill the address into the sending account field in the mail header field.

较佳地,所述发送账户选择模块包括:邮件账户选择模块和账户选择条件列表;Preferably, the sending account selection module includes: a mail account selection module and an account selection condition list;

所述邮件账户选择模块,用于在发送邮件时,从账户选择条件列表中选择发送者地址,将该地址填入到邮件头域中的发送账户字段内;The mail account selection module is used to select the sender's address from the account selection condition list when sending mail, and fill the address into the sending account field in the mail header field;

所述账户选择条件列表,用于存储包含发送者地址的选择条件。The account selection condition list is used to store the selection conditions including the sender's address.

较佳地,所述邮件账户选择模块进一步用于:向移动终端返回所选择的发送者地址,并接收到来自用户的确认信息后,再将所述地址填入到邮件头域中的发送账户字段内。Preferably, the mail account selection module is further configured to: return the selected sender address to the mobile terminal, and after receiving confirmation information from the user, fill the address into the sending account in the mail header field field.

较佳地,所述邮件账户选择模块进一步用于:将所选择的发送者地址填入到邮件头域中的回复账户字段内。Preferably, the email account selection module is further configured to: fill the selected sender's address into the reply account field in the email header field.

较佳地,所述发送账户字段为From字段,所述回复账户字段为Reply-To字段。Preferably, the sending account field is a From field, and the replying account field is a Reply-To field.

较佳地,所述发送账户选择模块位于移动终端内,或位于移动电子邮件服务器内。Preferably, the sending account selection module is located in the mobile terminal, or in the mobile email server.

较佳地,如果所述账户选择条件列表位于移动电子邮件服务器内,则所述账户选择条件列表通过网页的方式设置,或通过短消息发送信令的方式设置,或通过语音提示的方式设置,或通过人工语音电话的方式设置,Preferably, if the list of account selection conditions is located in the mobile email server, the list of account selection conditions is set through a webpage, or through a short message sending signaling, or through a voice prompt, Or set by artificial voice call,

如果所述账户选择条件列表位于移动终端内,则直接在移动终端上进行设置。If the list of account selection conditions is located in the mobile terminal, it is directly set on the mobile terminal.

本发明的关键是,预先设置包含发送者地址的账户选择条件列表,在发送邮件时,根据所述账户选择条件列表选择发送者地址,实现了自动地选择邮件发送账户,方便地更改了发送账户。而且避免了现有的手工改动发送账户的方式,提高了用户体验,同时减少了选择错误发送账户的几率。The key of the present invention is to pre-set the account selection condition list containing the sender's address. When sending mail, the sender address is selected according to the account selection condition list, which realizes the automatic selection of the mail sending account and conveniently changes the sending account. . Moreover, the existing method of manually changing the sending account is avoided, the user experience is improved, and the probability of selecting a wrong sending account is reduced at the same time.

附图说明Description of drawings

图1是根据本发明一实施例的实现流程示意图;Fig. 1 is a schematic diagram of an implementation process according to an embodiment of the present invention;

图2是根据本发明一实施例的系统结构示意图;Fig. 2 is a schematic diagram of a system structure according to an embodiment of the present invention;

图3是根据本发明另一实施例的系统结构示意图。Fig. 3 is a schematic structural diagram of a system according to another embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图及具体实施例对本发明再做进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明的思路是:预先设置包含发送者地址的账户选择条件列表,在发送邮件时,根据账户选择条件列表选择发送者地址,将该地址填入到邮件头域中的发送账户字段内。再有,在发送邮件时,根据账户选择条件列表选择发送者地址之前,可以进一步包括:识别该邮件头域中的发送账户字段,如果该发送账户字段中存在已注册账户,则不做处理;如果该发送账户字段存在非已注册账户或该字段内为空,则再执行后续步骤;如果不存在该字段,则创建该发送账户字段后,再执行后续步骤。也就是说,既可以在完全不考虑发送账户字段的情况下,直接根据账户选择条件列表选择发送者地址,也可以在发送账户为非已注册账户或该字段内为空或不存在发送账户字段时,再根据账户选择条件列表选择发送者地址。The idea of the present invention is: preset an account selection condition list including the sender's address, select the sender's address according to the account selection condition list when sending an email, and fill the address into the sending account field in the email header field. Furthermore, when sending an email, before selecting the sender's address according to the account selection condition list, it may further include: identifying the sending account field in the header field of the email, and if there is a registered account in the sending account field, no processing is performed; If there is a non-registered account in the sending account field or the field is empty, then perform the subsequent steps; if the field does not exist, create the sending account field before performing the subsequent steps. That is to say, the sender address can be selected directly according to the account selection criteria list without considering the sending account field at all, or the sending account can be selected if the sending account is not a registered account or the field is empty or there is no sending account field , select the sender address according to the account selection criteria list.

通常,发送账户字段在邮件的头域中由From表示,以下将发送账户字段通称为From字段。Usually, the sending account field is represented by From in the header field of the email, and the sending account field is generally referred to as the From field hereinafter.

账户选择条件有很多种,比如可以根据接收者地址选择发送邮件的地址账户;根据发送邮件的时间不同选择不同的发送邮件地址账户;根据所发送邮件的属性,如邮件大小等,选择不同的发送邮件的地址账户。由于账户选择条件的不同,邮件账户的选择方法也有一些细小的不同,但总体而言就是查询用户的事先设置。下面举例介绍几种设置账户选择条件列表的方式。There are many account selection conditions. For example, you can select the address account for sending emails according to the recipient's address; select different sending email address accounts according to the time of sending emails; Email address account. Due to the different account selection conditions, the selection method of the mail account is also slightly different, but in general it is to query the user's prior settings. The following examples introduce several methods of setting the account selection criteria list.

方式一:账户选择条件列表中包含接收者地址和发送者地址的对应关系,此时账户选择条件列表可以设置成如表1所示形式:Method 1: The account selection condition list contains the corresponding relationship between the receiver address and the sender address. At this time, the account selection condition list can be set as shown in Table 1:

  ToTo   FromFrom   jack@nakia.comjack@nakia.com   zhangsan@huawei.comzhangsan@huawei.com   father@sohu.comfather@sohu.com   zhangsan@sohu.comzhangsan@sohu.com   classmates@163.comclassmates@163.com   zhangsan@chinaren.comzhangsan@chinaren.com   othersothers   zhangsan@sina.comzhangsan@sina.com

                    表1 Table 1

如表1所示,选择发送者地址的方法如下:As shown in Table 1, the method of selecting the sender address is as follows:

在发送的邮件后,读取From字段,检测From字段的地址是否为该用户已注册的邮箱账户,如果不属于已注册账户或From字段为空或没有From字段,则根据邮件头域中的To字段即接收者地址字段查找账户选择条件列表,找到相应的发送地址,并将邮件头域中的From字段的值设置成该地址。当然,可以进一步将回复账户字段即Reply-To字段的值也设置成该地址。After sending the email, read the From field and check whether the address in the From field is the registered email account of the user. If it does not belong to the registered account or the From field is empty or there is no From field, then according to the To in the mail header field The field is the receiver's address field to search the list of account selection conditions, find the corresponding sending address, and set the value of the From field in the mail header field to this address. Of course, the value of the reply account field, that is, the Reply-To field, may be further set to the address.

另外:表1也可以设置成如表2所示形式:In addition: Table 1 can also be set as shown in Table 2:

  ToTo   FromFrom   *@nakia.com*@nakia.com   zhangsan@huawei.comzhangsan@huawei.com   *@huawei.com*@huawei.com   zhangsan@huawei.comzhangsan@huawei.com   *@chinamobile.com*@chinamobile.com   zhangsan@huawei.comzhangsan@huawei.com

                     表2 Table 2

上面的表利用了正则表达式,表示所有发往nokia,huawei和chinamobile的信都用zhangsan@huawei.com的信箱发送。The above table uses regular expressions, indicating that all letters sent to nokia, huawei and chinamobile are sent to the mailbox of zhangsan@huawei.com.

也就是说,一个发送者地址可以与一个或一个以上接收者地址相对应,而且,当接收者是一个以上时,其可以属于同一邮件服务器,也可以属于不同的邮件服务器。That is to say, one sender's address can correspond to one or more receiver's addresses, and when there are more than one receiver, they can belong to the same mail server, or can belong to different mail servers.

方式二:账户选择条件列表中包含发送时间和发送者地址的对应关系,此时账户选择条件列表可以设置成如表3所示形式:Method 2: The account selection condition list contains the corresponding relationship between the sending time and the sender's address. At this time, the account selection condition list can be set as shown in Table 3:

  开始时间(Begin_Time)Start time (Begin_Time)   结束时间(End_Time)End time (End_Time)   FromFrom   00:0000:00   7:597:59   zhangsan@sohu.comzhangsan@sohu.com

  开始时间(Begin_Time)Start time (Begin_Time)   结束时间(End_Time)End time (End_Time)   FromFrom   8:008:00   11:5911:59   zhangsan@huawei.comzhangsan@huawei.com   12:0012:00   13:5913:59   zhangsan@sohu.comzhangsan@sohu.com   14:0014:00   17:5917:59   zhangsan@huawei.comzhangsan@huawei.com   18:0018:00   23:5923:59   zhangsan@sohu.comzhangsan@sohu.com

                      表3 table 3

如表3所示,选择发送者地址的方法如下:As shown in Table 3, the method of selecting the sender address is as follows:

在发送邮件时,读取From字段,检测From字段的地址是否为该用户已注册的邮箱账户,如果不属于已注册账户或From字段为空或没有From字段,则根据时间查找账户选择条件列表,找到相应的发送地址,并将邮件头域中的From字段的值设置成该地址。当然,可以进一步将回复账户字段即Reply-To字段的值也设置成该地址。When sending an email, read the From field and check whether the address in the From field is the registered email account of the user. If it does not belong to the registered account or the From field is empty or there is no From field, then search the account selection condition list according to the time, Find the corresponding sending address, and set the value of the From field in the mail header field to this address. Of course, the value of the reply account field, that is, the Reply-To field, may be further set to the address.

方式三:账户选择条件列表中包含邮件属性和发送者地址的对应关系,如邮件大小和发送者地址的对应关系,此时账户选择条件列表可以设置成如表4所示形式:Method 3: The list of account selection criteria includes the correspondence between email attributes and sender addresses, such as the correspondence between email size and sender address. At this time, the list of account selection criteria can be set as shown in Table 4:

  邮件大小(Size)Mail size (Size)   FromFrom   Size<1MSize<1M   zhangsan@sohu.comzhangsan@sohu.com   1M<=Size<2M1M<=Size<2M   zhangsan@sina.comzhangsan@sina.com   2M<=Size<10M2M<=Size<10M   zhangsan@163.comzhangsan@163.com   Size>=10MSize>=10M   zhangsan@xxx.comzhangsan@xxx.com

                    表4 Table 4

如表3所示,选择发送者地址的方法如下:As shown in Table 3, the method of selecting the sender address is as follows:

在发送邮件时,读取From字段,检测From字段的地址是否为该用户已注册的邮箱账户,如果不属于已注册账户或From字段为空或没有From字段,则首先判断该待发送邮件的大小,然后查找账户选择条件列表,找到相应的发送地址,并将邮件头域中的From字段的值设置成该地址。当然,可以进一步将回复账户字段即reply-to字段的值也设置成该地址。When sending an email, read the From field and check whether the address in the From field is the registered email account of the user. If it does not belong to a registered account or the From field is empty or there is no From field, first determine the size of the email to be sent , and then search the list of account selection conditions, find the corresponding sending address, and set the value of the From field in the mail header field to this address. Of course, the value of the reply account field, that is, the reply-to field, may be further set to the address.

在具体应用时,可以通过多种方式对邮件选择条件表的处理条件或处理规则进行设置,如果所述账户选择条件列表位于移动电子邮件服务器内,则账户选择条件列表通过网页的方式设置,或通过短消息发送信令的方式设置,或通过语音提示的方式设置,或通过人工语音电话的方式设置;如果账户选择条件列表位于移动终端内,则可以直接在移动终端上进行设置。不论采用哪种方式,用户在进行策略设置时都要输入对应的邮箱账户的用户名、密码进行鉴权。具体采用何种方式本发明不做限定。In specific applications, the processing conditions or processing rules of the mail selection condition table can be set in various ways. If the account selection condition list is located in the mobile email server, the account selection condition list is set through a web page, or It is set by means of short message sending signaling, or by voice prompt, or by artificial voice call; if the list of account selection conditions is located in the mobile terminal, it can be set directly on the mobile terminal. No matter which method is used, the user must enter the user name and password of the corresponding email account for authentication when setting the policy. The method to be adopted is not limited in the present invention.

另外需要说明一点:账户选择条件列表中的From属性为用户已经注册过的邮件账户,如表1中的账户zhangsan@huawei.com,zhangsan@sohu.com,zhangsan@chinaren.com,zhangsan@sina.com均为张三已经成功注册过的邮件账户。From属性值即发送账户必须为注册过的,如果没有注册则不能用于发送,即From字段内只能是已经注册过的账户,如果不是已经注册过的则不能应用,这样可以防止出现冒用他人信箱发信的错误。In addition, one point needs to be explained: the From attribute in the account selection condition list is the email account that the user has registered, such as the accounts zhangsan@huawei.com, zhangsan@sohu.com, zhangsan@chinaren.com, and zhangsan@sina in Table 1. com is Zhang San's email account that has been successfully registered. The From attribute value means that the sending account must be registered. If it is not registered, it cannot be used for sending. That is, the From field can only be a registered account. If it is not registered, it cannot be applied, which can prevent fraudulent use. An error in sending a letter from someone else's mailbox.

图1所示为根据本发明一实施例的实现流程示意图。FIG. 1 is a schematic diagram of an implementation process according to an embodiment of the present invention.

步骤1)移动电子邮件服务器(MEN Server)接收来自移动电子邮件客户端(MEM Client)的邮件;Step 1) mobile email server (MEN Server) receives the mail from mobile email client (MEM Client);

步骤2)移动电子邮件服务器读取From字段,检测From字段的地址是否为该用户已注册的邮件账户,如果不属于已注册账户或From字段为空或没有From字段,则表明需要自动设置,转步骤3),否则转步骤5)。Step 2) The mobile email server reads the From field, and detects whether the address of the From field is the registered mail account of the user. If it does not belong to a registered account or the From field is empty or does not have a From field, it indicates that it needs to be automatically set. Step 3), otherwise go to step 5).

步骤3)查找账户选择条件列表,选择出正确的发送地址。账户选择条件列表的内容以及具体的查找方式已经在前面说明,此处不再赘述。Step 3) Find the list of account selection conditions and select the correct sending address. The content of the account selection criteria list and the specific search method have been described above, and will not be repeated here.

步骤4)将邮件头域中的From字段设置成上述选择的出的地址,且可以进一步将reply-to字段的值也设置成该地址。Step 4) Set the From field in the email header field to the address selected above, and further set the value of the reply-to field to this address.

步骤5)移动电子邮件服务器根据From字段中的地址将邮件发送给对应的邮件服务器。Step 5) The mobile email server sends the email to the corresponding email server according to the address in the From field.

步骤6)邮件服务器接到该邮件后,将根据邮件中的To地址进行发送。Step 6) After the mail server receives the mail, it will send it according to the To address in the mail.

在图1所示实施例中,是由移动电子邮件服务器执行选择及填入发送者地址操作的,当然该选择及填入发送者地址操作的也可以由移动终端完成,此时,移动电子邮件服务器只需根据From字段中的地址将邮件发送给对应的邮件服务器即可,即与现有的执行方式完全相同。In the embodiment shown in Fig. 1, the operation of selecting and filling in the sender's address is performed by the mobile email server, and of course the selection and filling in of the sender's address operation can also be completed by the mobile terminal. The server only needs to send the mail to the corresponding mail server according to the address in the From field, which is exactly the same as the existing execution method.

再有,在图1所示流程中,在步骤3)之后可以进一步包括:移动电子邮件服务器向移动终端返回所选择的发送者地址,并接收到来自用户的确认信息后,再执行后续步骤。Furthermore, in the process shown in FIG. 1 , after step 3), it may further include: the mobile email server returns the selected sender address to the mobile terminal, and after receiving confirmation information from the user, the subsequent steps are performed.

本发明还提供了一种自动选择邮件发送账户的系统,参见图2和图3,该系统包括移动终端10、移动电子邮件服务器20,一个或一个以上邮件服务器30,其中,移动终端10用于创建、编辑,如修改、转发、删除等,待发送邮件,移动电子邮件服务器20用于将待发送移动邮件发送给邮件服务器30,或将来自邮件服务器30的邮件转发给移动终端10,邮件服务器30用于对外收发电子邮件;该系统还包括发送账户选择模块40,用于在发送邮件时,根据已设置的账户选择条件列表选择发送者地址,将该地址填入到邮件头域中的发送账户字段内。The present invention also provides a system for automatically selecting an email sending account, referring to Fig. 2 and Fig. 3, the system includes a mobile terminal 10, a mobile email server 20, and one or more mail servers 30, wherein the mobile terminal 10 is used for Creation, editing, such as modification, forwarding, deletion, etc., the mail to be sent, the mobile email server 20 is used to send the mobile mail to be sent to the mail server 30, or forward the mail from the mail server 30 to the mobile terminal 10, the mail server 30 is used to send and receive e-mails externally; the system also includes a sending account selection module 40, which is used to select the sender's address according to the set account selection condition list when sending mail, and fill the address into the sending account in the mail header field. account field.

图2所示为根据本发明一实施例的系统结构示意图。在本实施例中,发送账户选择模块40位于移动电子邮件服务器20内,参见图2,发送账户选择模块40中包括:邮件账户选择模块41和账户选择条件列表42;其中,FIG. 2 is a schematic structural diagram of a system according to an embodiment of the present invention. In this embodiment, the sending account selection module 40 is located in the mobile email server 20. Referring to FIG. 2, the sending account selection module 40 includes: a mail account selection module 41 and an account selection condition list 42; wherein,

邮件账户选择模块41,用于在发送邮件时,从账户选择条件列表42中选择发送者地址,将该地址填入到邮件头域中的发送账户字段内;The mail account selection module 41 is used to select the sender's address from the account selection condition list 42 when sending mail, and fill the address into the sending account field in the mail header field;

账户选择条件列表42,用于存储包含发送者地址的选择条件。The account selection condition list 42 is used to store the selection conditions including the sender's address.

图3所示为根据本发明另一实施例的系统结构示意图。在本实施例中,发送账户选择模块40位于移动终端10内,参见图3,发送账户选择模块40中包括:邮件账户选择模块41和账户选择条件列表41;其中,Fig. 3 is a schematic structural diagram of a system according to another embodiment of the present invention. In this embodiment, the sending account selection module 40 is located in the mobile terminal 10. Referring to FIG. 3 , the sending account selection module 40 includes: a mail account selection module 41 and an account selection condition list 41; wherein,

邮件账户选择模块41,用于在发送邮件时,从账户选择条件列表42中选择发送者地址,将该地址填入到邮件头域中的发送账户字段内;The mail account selection module 41 is used to select the sender's address from the account selection condition list 42 when sending mail, and fill the address into the sending account field in the mail header field;

账户选择条件列表42,用于存储包含发送者地址的选择条件。The account selection condition list 42 is used to store the selection conditions including the sender's address.

如果上述账户选择条件列表位于移动电子邮件服务器内,则账户选择条件列表通过网页的方式设置,或通过短消息发送信令的方式设置,或通过语音提示的方式设置,或通过人工语音电话的方式设置。如果账户选择条件列表位于移动终端内,则可以直接在移动终端上进行设置。If the above list of account selection conditions is located in the mobile email server, the list of account selection conditions is set through a web page, or through a short message sending signaling, or through a voice prompt, or through an artificial voice call set up. If the account selection condition list is located in the mobile terminal, it can be set directly on the mobile terminal.

针对图2、图3所示实施例,For the embodiment shown in Fig. 2 and Fig. 3,

邮件账户选择模块进一步用于:向移动终端返回所选择的发送者地址,并接收到来自用户的确认信息后,再将所述地址填入到邮件头域中的发送账户字段内。The mail account selection module is further configured to: return the selected sender address to the mobile terminal, and fill the address into the sender account field in the mail header field after receiving confirmation information from the user.

邮件账户选择模块进一步用于:将所选择的发送者地址填入到邮件头域中的回复账户字段内。The mail account selection module is further used for: filling the selected sender's address into the reply account field in the mail header field.

邮件头域中的发送账户字段为From字段,回复账户字段为Reply-To字段。The sending account field in the mail header field is the From field, and the replying account field is the Reply-To field.

下面结合具体实例说明。The following will be described in conjunction with specific examples.

实施例一:假设张三预设的账户选择条件列表如表1所示。张三要给诺基亚的Jack发送邮件,他在自己的移动终端上编辑好邮件,然后选择接收者地址为jack@nokia.com,并提交给移动电子邮件服务器,本例中张三没选择发送邮箱账户,即From字段为空。Embodiment 1: Assume that Zhang San's preset list of account selection conditions is as shown in Table 1. Zhang San wants to send an email to Jack of Nokia. He edits the email on his mobile terminal, then selects the recipient address as jack@nokia.com, and submits it to the mobile email server. In this example, Zhang San does not choose to send an email Account, that is, the From field is empty.

处理流程如下:The processing flow is as follows:

1)移动电子邮件服务器接收移动终端发送的邮件后;1) After the mobile email server receives the email sent by the mobile terminal;

2)移动电子邮件服务器读取From字段,发现From字段为空,转下一步;2) The mobile email server reads the From field, finds that the From field is empty, and turns to the next step;

3)移动电子邮件服务器读取To字段,查找账户选择条件列表,根据To字段指示的接收者邮件地址找出对应的发送邮件地址为zhangsan@huawei.com,将邮件头域中的From字段和Reply-To字段设置成该地址;3) The mobile email server reads the To field, searches the list of account selection conditions, finds out the corresponding sending email address according to the receiver's email address indicated in the To field is zhangsan@huawei.com, and combines the From field and the Reply -To field is set to this address;

4)移动电子邮件服务器向移动终端返回选择的邮件地址zhangsan@huawei.com;4) The mobile email server returns the selected email address zhangsan@huawei.com to the mobile terminal;

5)收到用户的确认发送信息后,移动电子邮件服务器将邮件发送给对应的邮件服务器huawei.com;5) After receiving the confirmation message from the user, the mobile email server sends the email to the corresponding email server huawei.com;

邮件服务器huawei.com接到该邮件后,将邮件根据To中的地址进行发送。After the email server huawei.com receives the email, it sends the email according to the address in To.

实施例二:张三的账户选择条件列表如表2所示。张三要发送一封邮件,他在自己的移动终端上编辑好邮件,选择接收者地址,并将发送邮箱地址误填为lisi@huawei.com提交给移动电子邮件服务器。Embodiment 2: Table 2 shows Zhang San's list of account selection conditions. Zhang San wants to send an email. He edits the email on his mobile terminal, selects the recipient address, and fills in the sending email address as lisi@huawei.com by mistake and submits it to the mobile email server.

处理流程如下:The processing flow is as follows:

1)移动电子邮件服务器接收移动终端发送的邮件;1) The mobile email server receives the email sent by the mobile terminal;

2)移动电子邮件服务器读取From字段,检测该地址是否为张三注册到移动电子邮件服务器上的地址,假设已注册地址为:zhangshan@huawei.com和zhangshan@sohu.com,根据已注册地址判断出lisi@huawei.com不是张三的已注册地址,转下一步;2) The mobile email server reads the From field and checks whether the address is Zhang San’s registered address on the mobile email server. Suppose the registered addresses are: zhangshan@huawei.com and zhangshan@sohu.com, according to the registered address Judging that lisi@huawei.com is not Zhang San's registered address, go to the next step;

3)移动电子邮件服务器查找账户选择条件列表,根据接收到的时间,假设为16:25,找出对应的发送邮件地址为zhangsan@huawei.com,将邮件头域中的From字段和Reply-To字段设置成该地址;3) The mobile email server searches the list of account selection criteria. According to the received time, assuming it is 16:25, find out the corresponding sending email address is zhangsan@huawei.com, and replace the From field and the Reply-To field is set to this address;

4)移动电子邮件服务器向移动终端返回选择的邮件地址zhangsan@huawei.com;4) The mobile email server returns the selected email address zhangsan@huawei.com to the mobile terminal;

5)收到用户的确认发送信息后,移动电子邮件服务器将邮件发送给对应的邮件服务器huawei.com;5) After receiving the confirmation message from the user, the mobile email server sends the email to the corresponding email server huawei.com;

邮件服务器huawei.com接到该邮件后,将邮件根据To中的地址进行发送。After the email server huawei.com receives the email, it sends the email according to the address in To.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (17)

1. a method of selecting mail transmitting account automatically is characterized in that, comprising:
The setting of mobile E-mail server comprises the account alternative condition tabulation of sender address,
When receiving the mail that the mobile E-mail client request sends, the mobile E-mail server is selected the sender address according to described account alternative condition tabulation, this address is filled in the transmission account field in the mail header field,
Send mail by the mail server corresponding with selected sender address.
2. method according to claim 1 is characterized in that, when sending mail, the mobile E-mail server is selected according to described account alternative condition tabulation further to comprise before the sender address: discern the transmission account field in this mail header field,
If have registered account in this transmission account field, then do not process;
If it is empty that this transmission account field exists in non-registered account or this field, then carry out subsequent step again;
If there is no this field, then create this transmission account field after, carry out subsequent step again.
3. method according to claim 1 and 2 is characterized in that,
The corresponding relation that comprises recipient address and sender address in the described account alternative condition tabulation;
Described process according to described account alternative condition tabulation selection sender address is: the recipient address that obtains described mail, according to the corresponding relation of recipient address and sender address in the described account alternative condition tabulation, select the sender address corresponding with this recipient address.
4. method according to claim 3 is characterized in that, a described sender address is corresponding with one or more recipient addresses.
5. method according to claim 1 and 2 is characterized in that,
The corresponding relation that comprises transmitting time and sender address in the described account alternative condition tabulation;
Described process according to described account alternative condition tabulation selection sender address is: obtain the current time, according to the corresponding relation of transmitting time and sender address in the described account alternative condition tabulation, select the sender address corresponding with this transmitting time.
6. method according to claim 1 and 2 is characterized in that,
The corresponding relation that comprises mail attribute and sender address in the described account alternative condition tabulation;
Described process according to described account alternative condition tabulation selection sender address is: the attribute that obtains current mail to be sent, according to the corresponding relation of mail attribute and sender address in the described account alternative condition tabulation, select the sender address corresponding with this mail attribute.
7. method according to claim 6 is characterized in that, described mail attribute is the mail size.
8. method according to claim 1 and 2, it is characterized in that, after described account alternative condition tabulation selection sender address, further comprise: return selected sender address to portable terminal, and after receiving affirmation information, carry out subsequent step again from the user.
9. method according to claim 1 is characterized in that, this method further comprises: selected sender address is filled in the answer account field in the mail header field.
10. method according to claim 9 is characterized in that, described transmission account field is the From field, and described answer account field is the Reply-To field.
11. method according to claim 1 is characterized in that,
The tabulation of described account alternative condition is provided with by the mode of webpage, or sends the means of signaling setting by short message, or by the voice prompting mode setting, or is provided with by the mode of artificial speech phone.
12. system of selecting mail transmitting account automatically, comprise portable terminal, mobile E-mail server, one or more mail servers, described portable terminal is used for creating, editing mail to be sent, described mobile E-mail server, be used for mobile e-mail to be sent is sent to mail server, or will send portable terminal to from the mail of mail server, described mail server is used for externally sending and receiving e-mail;
It is characterized in that the mobile E-mail server comprises that also sending account selects module,
Described transmission account is selected module, be used for when sending mail, the sender address is selected in tabulation according to the account alternative condition that has been provided with, and this address is filled in the transmission account field in the mail header field, sends mail by the mail server corresponding with selected sender address.
13. system according to claim 12 is characterized in that, described transmission account selects module to comprise: mail account is selected module and the tabulation of account alternative condition;
Described mail account is selected module, is used for when sending mail, selects the sender address from the tabulation of account alternative condition, and this address is filled in the transmission account field in the mail header field;
Described account alternative condition tabulation is used to store the alternative condition that comprises the sender address.
14. system according to claim 13, it is characterized in that, described mail account selects module to be further used for: return selected sender address to portable terminal, and after receiving affirmation information from the user, more described address is filled in the transmission account field in the mail header field.
15., it is characterized in that described mail account selects module to be further used for according to claim 13 or 14 described systems: selected sender address is filled in the answer account field in the mail header field.
16. system according to claim 15 is characterized in that, described transmission account field is the From field, and described answer account field is the Reply-To field.
17. system according to claim 12 is characterized in that,
The tabulation of described account alternative condition is provided with by the mode of webpage, or sends the means of signaling setting by short message, or by the voice prompting mode setting, or is provided with by the mode of artificial speech phone.
CN2006100836803A 2006-06-02 2006-06-02 Method and system for automatically selecting email sending account Expired - Fee Related CN101083788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100836803A CN101083788B (en) 2006-06-02 2006-06-02 Method and system for automatically selecting email sending account

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100836803A CN101083788B (en) 2006-06-02 2006-06-02 Method and system for automatically selecting email sending account

Publications (2)

Publication Number Publication Date
CN101083788A CN101083788A (en) 2007-12-05
CN101083788B true CN101083788B (en) 2010-09-08

Family

ID=38913013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100836803A Expired - Fee Related CN101083788B (en) 2006-06-02 2006-06-02 Method and system for automatically selecting email sending account

Country Status (1)

Country Link
CN (1) CN101083788B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729438A (en) * 2008-10-27 2010-06-09 华为技术有限公司 Method and device for forwarding electronic mail
CN101795324A (en) * 2010-02-09 2010-08-04 中兴通讯股份有限公司 Method and device for switching e-mail client account on mobile phone terminal
CN102546449A (en) * 2010-12-16 2012-07-04 金蝶软件(中国)有限公司 Method and device for automatically sending mails
JP5639511B2 (en) * 2011-03-18 2014-12-10 株式会社沖データ Information processing apparatus, composite apparatus, image reading apparatus, and information processing method
CN102231715A (en) * 2011-06-23 2011-11-02 莫雅静 An e-mail processing method and e-mail server
CN109639471A (en) * 2018-12-03 2019-04-16 郑州云海信息技术有限公司 A kind of method and system of automatic transmission Email

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000051323A1 (en) * 1999-02-26 2000-08-31 Bellsouth Intellectual Property Corporation Methods and systems to provide a message in a messaging system without revealing an identity of the sending party
CN1445688A (en) * 2002-03-18 2003-10-01 富士通株式会社 E-mail control method, E-mail control device and computer product
CN1606296A (en) * 2003-10-09 2005-04-13 国际商业机器公司 Enabling a sender to control future recipients of an email

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000051323A1 (en) * 1999-02-26 2000-08-31 Bellsouth Intellectual Property Corporation Methods and systems to provide a message in a messaging system without revealing an identity of the sending party
CN1445688A (en) * 2002-03-18 2003-10-01 富士通株式会社 E-mail control method, E-mail control device and computer product
CN1606296A (en) * 2003-10-09 2005-04-13 国际商业机器公司 Enabling a sender to control future recipients of an email

Also Published As

Publication number Publication date
CN101083788A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
KR101117451B1 (en) Electronic message transmission method, electronic message transmission device and program storage medium
US9887940B2 (en) Selectively translating portions of electronic messages
US8849927B2 (en) Method for implementing real-time voice messaging on a server node
CN101330662B (en) Business content information inquiry method, system and service provider platform
US7464141B2 (en) Method and system for associating related messages of different types
US8645477B2 (en) Progressive messaging apparatus and method capable of supporting near real-time communication
US20100198922A1 (en) Methods for using the addressing, protocols and the infrastructure of email to support near real-time communication
IL180566A (en) Electronic messaging system and method
CN1574796A (en) System and method of message transport selection
US20110004666A1 (en) E-mail server
CN101951577A (en) Short message processing method and device thereof
US8930466B2 (en) Method for internet-based messaging
CN102710538A (en) Message server and method for the notification of a user with respect to the reception of an electronic message
US8249560B2 (en) Sending method, receiving method, and system for email transfer by short message
CN101083788B (en) Method and system for automatically selecting email sending account
US20060168038A1 (en) Message gateways and methods and systems for message dispatching based on group communication
CN102223318A (en) Method and system for processing emails
CN101137094B (en) Electronic mail notifying method and device and system
US8341396B1 (en) Dynamic selection and insertion of signature blocks during message transmission
CN1322725C (en) Method for receiving and transmitting e-mail using digital number and its mail system
CN109218162B (en) Mail delivery method and device
CN1288202A (en) Method of preventing refuse E-mail
EP1689138A1 (en) Method and interface for filtering SMS and MMS messages
CN101764766B (en) Method and terminal for email attachment information prompt
US7623506B2 (en) Method for transmitting data via communication networks

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100908