无法获取iis提取目录 [英] can not get iis pickup directory

查看:69
本文介绍了无法获取iis提取目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当时我使用Windows Server 2003作为我发送邮件的服务器,我正在使用代码

i had windows server 2003 as my server at that time for sending mails i was using code

MySmtp = New SmtpClient("localhost")
MySmtp.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis
MySmtp.PickupDirectoryLocation = "C:\Inetpub\mailroot\Pickup\"
MySmtp.Send(MyMsg)


它运行得很好,但现在我已经安装了Windows Server 2008,并且此代码未发送邮件,此代码显示了无法获取iis提取目录的错误....
任何建议或解决方案plz ??????
如果您还有其他发送邮件的代码,也可以张贴它,可能对我有用..


it was runnig well and fine but now i have installed windows server 2008 and mails are not sent by this code this code shows error that can not get iis pickup directory....
any suggestion or sollutions plz??????
if You have any other code for sending mail you can also post it, may be that work for me..

推荐答案

使用此位置C:\\ Inetpub \ \ mailroot \\ Pickup
use this as location C:\\Inetpub\\mailroot\\Pickup


这篇关于无法获取iis提取目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆