将附件从邮件存储到数据库 [英] Store a Attachments from mail to database

查看:106
本文介绍了将附件从邮件存储到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用以下方法在运行时显示错误....在global.asax中





System.Web.Hosting.HostingEnvironment .MapPath(上传);

using following method is showing error at runtime....in global.asax


System.Web.Hosting.HostingEnvironment.MapPath("Upload");

推荐答案

从这一点来看,几乎不可能完全准确地解决问题的根源,但很可能是上传文件夹不存在,或者与当前正在执行的网页不在同一文件夹中。你的意思是〜\上载吗?
From that little it is pretty much impossible to be completely accurate as to the source of your problem, but it is likely to be that the folder "Upload" does not exist, or is not in the same folder as the currently executing web page. Did you mean "~\Upload" instead?


这篇关于将附件从邮件存储到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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