在项目里面需要设置mqc发送email服务。但是MQC 9不支持ESMTP认证,真土!太土了!居然这么普通的业界标准都不支持!一般折衷的方式是用一些支持esmtp的邮件中转软件来做转发。但是遇到反垃圾邮件策略比较严谨的邮件服务器就转发不成功。严谨的发垃圾邮件策略是会校验发邮件的用户ID和ESMTP用户登录的用户是否一致。如果不一致就会禁止用户发送邮件,这个设置是为了防止盗用他人的ESMTP帐号来伪装发件者发送垃圾邮件,这策略很普通很通用。因为MQC生成邮件的方式是使用注册帐号里面登记的邮件地址生产的,所以即便是用邮件中转软件也不能发送。因为转发软件只是纯转发,不能帮你把发送人修正成ESMTP的验证帐号。
根据多年的工作经验,作为一个商业软件,如果连这么基本通用的协议都不支持。那他肯定卖不好,他肯有新的版本或者补丁包更新来支持这个功能。MQC的维保厂商不给力,最后只能靠自己Google。再次证明Google就是生产力啊!在HP QC10 Patch15 readme里面找到了关于ESMTP的更新!

Enhancements

SMTP Authentication

Defect ID: 232925
Problem: SMTP authentication is now supported.

The following SMTP settings are supported by Quality Center:
Basic authentication
Use of TLS (Transport Layer Security) which uses base64 encryption of the communication between Quality Center and the SMTP server.
Only authenticated users can send emails.

To enable the feature:

Note: if the SMTP_AUTHENTICATION parameter is set to ‘N’ or deleted, the above fields are hidden again, and Quality Center will not use authentication to login. You must restart the Quality Center service to apply the changes.
Thanks & Best Regards

又经过一轮讨价还价,终于在测试环境把补丁打上了!测试一切正常。