《电子邮件模块测试用例例子》由会员分享,可在线阅读,更多相关《电子邮件模块测试用例例子(17页珍藏版)》请在金锄头文库上搜索。
1、电子邮件模块-设置-邮件帐户-测试设置准备工作1. 运行sugarcrm2. 打开sugarcrm数据库,监视inbound_email表3. 运行文件河监视easy2php5目录4. 用ultraedit监视error.log和sugarcrm.log5. 运行winmail邮件服务器管理工具,监视pop3和imap日志记录观察结果做基本功能的运行,获得以下信息Winmail的pop3日志连接本机邮件服务器,输入127.0.0.12009/05/26-14:01:26 6028 Connect from 127.0.0.12009/05/26-14:01:26 6028 command =
2、CAPA2009/05/26-14:01:26 6028 command = QUIT2009/05/26-14:01:26 6028 quit, closing connection2009/05/26-14:01:26 3452 Connect from 127.0.0.12009/05/26-14:01:26 3452 command = CAPA2009/05/26-14:01:26 3452 login success: skinapi2009/05/26-14:01:26 3452 command = CAPA2009/05/26-14:01:26 3452 command = S
3、TAT2009/05/26-14:01:26 3452 command = LIST 2009/05/26-14:01:26 3452 command = QUIT2009/05/26-14:01:26 3452 quit, closing connection连接本机邮件服务器,输入192.168.1.2002009/05/26-14:06:31 5104 Connect from 192.168.1.2002009/05/26-14:06:32 5104 command = CAPA2009/05/26-14:06:32 5104 command = QUIT2009/05/26-14:0
4、6:32 5104 quit, closing connection2009/05/26-14:06:32 4784 Connect from 192.168.1.2002009/05/26-14:06:32 4784 command = CAPA2009/05/26-14:06:32 4784 login success: skinapi2009/05/26-14:06:32 4784 command = CAPA2009/05/26-14:06:32 4784 command = STAT2009/05/26-14:06:32 4784 command = LIST 2009/05/26-
5、14:06:32 4784 command = QUIT2009/05/26-14:06:32 4784 quit, closing connection连接外部邮件服务器,登录192.168.1.8上的sugarcrm,连接192.168.1.200上邮件服务器2009/05/26-14:39:10 4756 Connect from 192.168.1.82009/05/26-14:39:10 4756 command = CAPA2009/05/26-14:39:10 4756 command = QUIT2009/05/26-14:39:10 4756 quit, closing co
6、nnection2009/05/26-14:39:10 5104 Connect from 192.168.1.82009/05/26-14:39:10 5104 command = CAPA2009/05/26-14:39:10 5104 login success: skinapi2009/05/26-14:39:10 5104 command = CAPA2009/05/26-14:39:10 5104 command = STAT2009/05/26-14:39:10 5104 command = LIST 2009/05/26-14:39:10 5104 command = QUIT
7、2009/05/26-14:39:10 5104 quit, closing connectionWinmail的secure pop3日志如果选择使用SSL,将的到以下日志连接本机邮件服务器,输入127.0.0.12009/05/26-14:31:22 5932 Connect from 127.0.0.12009/05/26-14:31:22 5932 exception, closing connection2009/05/26-14:31:22 5932 Error: pop3 receive exception (Receive)2009/05/26-14:31:22 5172 Co
8、nnect from 127.0.0.12009/05/26-14:31:22 5172 command = CAPA2009/05/26-14:31:22 5172 command = QUIT2009/05/26-14:31:22 5172 quit, closing connection2009/05/26-14:31:23 4212 Connect from 127.0.0.12009/05/26-14:31:23 4212 command = CAPA2009/05/26-14:31:23 4212 login success: skinapi2009/05/26-14:31:23
9、4212 command = CAPA2009/05/26-14:31:23 4212 command = STAT2009/05/26-14:31:23 4212 command = LIST 2009/05/26-14:31:23 4212 command = QUIT2009/05/26-14:31:23 4212 quit, closing connection连接本机邮件服务器,输入192.168.1.2002009/05/26-14:30:26 6068 Connect from 192.168.1.2002009/05/26-14:30:30 6068 exception, cl
10、osing connection2009/05/26-14:30:30 6068 Error: pop3 receive exception (Receive)2009/05/26-14:30:31 5964 Connect from 192.168.1.2002009/05/26-14:30:31 5964 exception, closing connection2009/05/26-14:30:31 5964 Error: pop3 receive exception (Receive)2009/05/26-14:30:31 4348 Connect from 192.168.1.200
11、2009/05/26-14:30:31 4348 command = CAPA2009/05/26-14:30:31 4348 command = QUIT2009/05/26-14:30:31 4348 quit, closing connection2009/05/26-14:30:31 4748 Connect from 192.168.1.2002009/05/26-14:30:31 4748 command = CAPA2009/05/26-14:30:31 4748 login success: skinapi2009/05/26-14:30:31 4748 command = C
12、APA2009/05/26-14:30:31 4748 command = STAT2009/05/26-14:30:31 4748 command = LIST 2009/05/26-14:30:31 4748 command = QUIT2009/05/26-14:30:31 4748 quit, closing connection连接外部邮件服务器,登录192.168.1.8上的sugarcrm,连接192.168.1.200上邮件服务器2009/05/26-14:27:11 5400 Connect from 192.168.1.82009/05/26-14:27:11 5400 e
13、xception, closing connection2009/05/26-14:27:11 5400 Error: pop3 receive exception (receive error, socket gracefully closed)2009/05/26-14:27:11 4612 Connect from 192.168.1.82009/05/26-14:27:12 4612 exception, closing connection2009/05/26-14:27:12 4612 Error: pop3 receive exception (receive error, so
14、cket gracefully closed)2009/05/26-14:27:12 6076 Connect from 192.168.1.82009/05/26-14:27:12 6076 command = CAPA2009/05/26-14:27:12 6076 command = QUIT2009/05/26-14:27:12 6076 quit, closing connection2009/05/26-14:27:12 5196 Connect from 192.168.1.82009/05/26-14:27:12 5196 command = CAPA2009/05/26-14
15、:27:12 5196 login success: skinapi2009/05/26-14:27:12 5196 command = CAPA2009/05/26-14:27:12 5196 command = STAT2009/05/26-14:27:12 5196 command = LIST 2009/05/26-14:27:12 5196 command = QUIT2009/05/26-14:27:12 5196 quit, closing connectionWinmail的imap日志连接本机邮件服务器,输入127.0.0.1选择已监视文件夹、垃圾邮件、已发送邮件时,得到以下日志:2009/05/26-15:17:35 2692 Connect from 127.0.0.12009/05/26-15:17:35 2692 00000000 CAPABILITY