常用:Html Agility PackjchardetThickBoxFCKeditoreWebEditorAjaxProAspNetPager
posts - 46,  comments - 173,  trackbacks - 2
公告
今天使用Gmail发送email时出现Must issue a STARTTLS command first错误,
于是加了一句:
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true");  (mm为System.Web.Mail.MailMessage实例)。

但加了这句后,如果不用Gmail的邮箱发送,如用163的邮箱发送,则又出现错误。

请问有无两全其美的办法?
posted on 2007-08-28 18:01 Bankey 阅读(4768) 评论(7) 编辑 收藏
常用:Html Agility PackjchardetThickBoxFCKeditoreWebEditorAjaxProAspNetPager