一直使用的配置,最近忽然发不出去了,高手指点下。telnet 邮件服务器端口也是通的。本地防火墙已开例外。错误如下:
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2009-12-15T16:56:28). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated).其他服务器相同配置,没有问题。直接用sp_db_mail发送显示已加入队列,但是过一会儿就会在error log中看到错误信息。一直使用的邮件帐户,咋会忽然没权限了呢?

解决方案 »

  1.   

    看日志好像是the mail server failure
      

  2.   

    The SMTP server requires a secure connection or the client was not authenticated
    >>
    你的SMTP Server是不是配置成了需要安全密码认证(SPA)啊?
      

  3.   

    The SMTP server requires a secure connection or the client was not authenticated.
    ========================================================
    检查邮件帐户的配置。
      

  4.   

    哦,最近服务器有一个症状,就是域名不能解析了,必须配置到host里才行。
    我问IT是否调整过网络设置,IT说没动过。
    应该没关系吧,我都telnet通了邮件服务器端口。
      

  5.   

    如果没有看到 lz 的邮件帐户的配置信息(database mail 上的和 outlook 上的),恐怕很难帮忙。
    贵公司的邮箱是否支持 smtp ?使用的是 windows 身份验证,还是基本身份验证?是否使用 ssl?
      

  6.   

    sql server 是否在域环境中?
    邮件帐户是否使用的是 windows 身份验证?sql server 服务的服务帐户是否是域帐户?
    如果在域环境下,服务器不能正常解析域名,则意味着无法定位 srv 记录,可能无法完整 kerberos 身份验证。
      

  7.   


    非域用户,Stmp,没有spa,,没有ssl,谢谢。
      

  8.   

    问题解决了,比较诡异。
    我删除掉配置文件和账户,用配置向导重新做了一次可以了。
    之前我的做法是分开建立配置和账户,错误提示中一直显示Account1发送错误、Account2发送错误等等,事实上我只一个Account,囧啊。
      

  9.   

    是传统的“sql mail” 还是 新的 “数据库邮件”?
    传统的:确保outlook的配置文件 必须和sqlserver的启动账户一致!!!且 能够在进入 sqlserver的启动账户的windows 下 outlook 能够正常发生邮件。
    新的:大不了删除配置,重新配一下。或者更换一个新的配置!
      

  10.   


    数据库邮件,跟outlook无关。