使用Gmail发送email时出现Must issue a STARTTLS command first错误!!
摘要: 今天使用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的...
阅读全文
posted @
2007-08-28 18:01 Bankey 阅读(4768) |
评论 (7) 编辑
请教:Windows服务能访问远程SQL Server 2000吗?
摘要: 小弟写了个Windows Service,能访问本地的SQL Server。但访问不了局域网上的另一台主机的SQL Server。请教各位高手。
阅读全文
posted @
2007-08-24 17:17 Bankey 阅读(213) |
评论 (5) 编辑
关于即时消息系统
摘要: 要做一个系统,如下图。系统中用来存放一些消息,如某人注册了某网站,会自动生成一个密码,并发送到注册者的email中。这些email消息我想先用Part1处理,然后存进数据库,Part2每5分钟监测一次Part1,看是否有需要发送的信息,有则发送。小弟不知道用什么实现Part1,至于Part2我想用windows services做,不知这个思路是否正确。请教各位大侠,有无什么好的建议,文章或相似系...
阅读全文
posted @
2007-08-20 13:51 Bankey 阅读(434) |
评论 (6) 编辑