ASP电子邮件附件问题 [英] ASP Email Attachment Problem

查看:92
本文介绍了ASP电子邮件附件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个简单的电子邮件应用程序,我能够成功发送邮件,但我无法获取fileUpload工具,以附加任何文件。每次我尝试任何不同的附件代码时,我都会收到错误,邮件也不会发送。我的代码如下:谢谢。

I am working on a simple email application and I am able to send mail successfully through but I cannot get the "fileUpload tool", to attach any files. Each time I try any different attachment code I get errors and the mail will not send. My code is below: Thank you.

展开 | 选择 | Wrap | 行号

推荐答案

你有什么错误正在接收?


博士B


PS转移到.NET论坛 - ASP论坛仅适用于经典ASP。
What are the errors you are receiving?

Dr B

PS Moved to .NET Forum - the ASP Forum is for Classic ASP only.



您收到的错误是什么?


B博士


PS移动到.NET论坛 - ASP论坛仅适用于经典ASP。
What are the errors you are receiving?

Dr B

PS Moved to .NET Forum - the ASP Forum is for Classic ASP only.



好​​吧,在我运行程序之前它会出现这个错误。


"错误3输入''附件''没有定义。 "


在单词New


Well, before I run the program it gives this error.

"Error 3 Type ''Attachment'' is not defined. "

Referring to the word Attachment following the word New


之后引用附件一词如果我在附件前面添加单词Mail,则会抛出错误,指出 AttachmentFile"未声明
If I add the word Mail on the front of attachment it throws errors stating the "AttachmentFile" is not declared


这篇关于ASP电子邮件附件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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