473,498 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

attachments from network resource in an aspx web mail application

Hi all
There seem to be a problem when i attempt to add
attachment from the client machine to the mail message sent from the
web aspx server application.
I am using dot net and i expect security issues to block
attempts from aspx code to access the file system on client machine but not
sure how to
over come this.
I suspect security because the same code runs just fine when executed
by a console application.

Here's the error message i get:

"Could not access 'CDO.Message' object.
Exception has been thrown by the target of an invocation. The network path
was not found."

Have any of you had some expirience in this sort of mission?

TIA
Rea

Nov 18 '05 #1
1 1114
Hi Rea:

It certainly is a permissions issue.

Gaining access from the server to each client machine would surely be
problematic.

Another option would be to let the client upload the attachment to the
server, keep the file in a temp directory, attach and send the email,
then delete the file (unless you keep it around for audit purposes).

Take a look at the uploading file section of the following document:
http://msdn.microsoft.com/library/en...duploading.asp

--
Scott
http://www.OdeToCode.com

On Sat, 7 Aug 2004 04:11:32 +0200, "Rea Peleg"
<re******@barak-online.net> wrote:
Hi all
There seem to be a problem when i attempt to add
attachment from the client machine to the mail message sent from the
web aspx server application.
I am using dot net and i expect security issues to block
attempts from aspx code to access the file system on client machine but not
sure how to
over come this.
I suspect security because the same code runs just fine when executed
by a console application.

Here's the error message i get:

"Could not access 'CDO.Message' object.
Exception has been thrown by the target of an invocation. The network path
was not found."

Have any of you had some expirience in this sort of mission?

TIA
Rea


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2438
by: S_p_ike | last post by:
Hi all, I have a problem with mail with attachments. To send e-mail with attachments from a form, I use Setec Astronomy's libmail class (v 1.4) (available here http://www.phpclasses.org/) ...
0
5903
by: John P | last post by:
Hello, I'm building email messages and attachments via the JavaMail API, which are then sent via sendmail. The attachments are mime attachments of type "application/octet-stream". They are...
3
2401
by: AspDotNetDeveloper | last post by:
I'm trying to troubleshoot why my ASP application can no longer send file attachments larger than 100K, and I have eliminated many possibilities already, but I'm running out of ideas. I think I...
3
9178
by: Jack Parker | last post by:
Early this year I wrote an article on utl_smtp and working through all of the issues surrounding it. I've offered it to Oracle - who have not fallen over themselves to take it. I've also got...
1
8178
by: Trond A. S. Andersen | last post by:
Hi all, I'm working on a project in which i need to send mail attachments in the form of Excel documents from a .NET C# application. I've written a class which creates the Excel document using...
5
3089
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
4
3956
by: Liz Patton | last post by:
Here's the exception: System.Exception: Unable to send mail: Could not access 'CDO.Message' object. ---> System.Web.HttpException: Could not access 'CDO.Message' object. --->...
1
4954
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
0
3765
by: bambi | last post by:
I am facing issues while adding attachments in an E-mail via Mapisend. The code I use is below. If I try to send , I am getting error messgae in Mailmessage.12. Mailmessage.12 is expected as numeric,...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7197
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.