这个问题遇到的人非常多,在网上也搜了不少,基本上都是讲权限的问题:
http://blog.joycode.com/ghj/archive/2004/10/22/36274.aspx

不过,上面的方法全试过了,确实还是有不少人没有成功,后来找到一个人说的:
把:SmtpServer的属性改用SmtpServer.Insert()方法就可以了,如下:

SmtpMail.SmtpServer = "127.0.0.1"
try
SmtpMail.SmtpServer.Insert( 0, "127.0.0.1 or your mail server name here")

我试了下,果然好了!真是奇怪又高兴!因为我实在是不想动服务器的配置!

如果有人权限也是搞不定的,不防试试这个看:)

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2021-05-25
  • 2021-10-15
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案