2019-10-06
IIS SMTP 寄信失敗,錯誤訊息
傳送郵件失敗。System.UnauthorizedAccessException: 拒絕存取路徑 'C:\inetpub\mailroot\Pickup\0a92027b-c057-4cdf-96df-5ef996fdb276.eml'。 於 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 於 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 於 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) 於 System.IO.FileStream..ctor(String path, FileMode mode) 於 System.Net.Mail.SmtpClient.GetFileMailWriter(String pickupDirectory) 於 System.Net.Mail.SmtpClient.Send(MailMessage message) |
解決方法:
(完)
沒有留言:
張貼留言