473,657 Members | 2,432 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mail size limitation of end user(attachment )

Sorry for crossposting - sent to wrong group first

hello ! does anyone have more information regarding this issue?

http://www.systemwebmail.com/faq/2.3.aspx
a.. Attachment Size Limit? [ Reply ]
I am using SMTP Mail Service running under IIS on win2k server to send
word/excel/pdf/etc files as attachments from several in house applications
(windows forms and web apps) using following code;
..Attachments.A dd(New Mail.MailAttach ment(sFullPath,
Mail.MailEncodi ng.UUEncode))
There appears to be a limit to the size that a standard user can send. When
I log in as administrator (or a user who is in administrators group) I can
use the apps to send attachments > 100kb. When logged in as a standard user,
the message is sent ok, but when the attachment is opened by recipient, the
attached file is empty! The message size limit in SMPT Virtual Server
properties under IIS is set to 2048. I changed this to 10 to test and the
apps failed to even send the message. So it appears some setting on the
server is 'emptying' attachments > 100 kb for non-administrator users. Or
somehting like that... Any solutions to this problem?

Oli [ olivert ( at ) ablegroup dot com dot au ], 2004-06-01 18:49:56 #

a.. RE: Attachment Size Limit? [ Reply ]
I have exactly the same problem. Just wonder if you have found a solution.

UB [ becker_web ( at ) web dot de ], 2004-06-29 13:18:56 #

a.. RE RE: Attachment Size Limit? [ Reply ]
I had this same problem, and the way I solved it was this...

We have a web service that creates and sends all the emails.

In the web.config file for that web service, we impersonate a domain user
who we made an administrator on the web server local machine.

It's not the best solution, but it's the only one we could get to work.

Jeremy Halbert [ jeremyh ( at ) leverance dot com ], 2004-09-16 14:32:45 #

a.. RE: RE RE: Attachment Size Limit? [ Reply ]
I have the same problem. Local Admins can send any file regardless of the
size. My end users can only send files <100kb. I am using .Net Framework
1.0. Any other suggestions or fixes?

JSM [ jsmathot ( at ) hotmail dot com ], 2004-10-14 12:41:58 #

Nov 19 '05 #1
1 2518
Lelle wrote:
Sorry for crossposting - sent to wrong group first

hello ! does anyone have more information regarding this issue?

http://www.systemwebmail.com/faq/2.3.aspx


Well the only thing I can mention is that I just encountered this issue as
well. The information in your message (including the possible solution) that
you forwarded to this newsgroups appears to be correct. In my ASP.NET
application, for identity impersonation I was using a low-level login account
that was not an administrator on the PC, and had very little rights except what
was given to it in terms of running the web application. Any attachment sent
(either PDF or text) that was larger than 100KB was "munged". Once I changed
the identity impersonation to an admin account, attachments were sent fine w/no
problems. I have yet to look further into this problem but I wouldn't be
suprised if this was related to some security feature of the SMTP server.

-James Michael Bennett
Nov 19 '05 #2

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

Similar topics

1
10438
by: Fraser S | last post by:
Hi, I am receiving an invalid mail Attachment error when trying to send an attachment using System.Web.Mail. I have read other posts on these errors and have since checked that the asp.net account has permissions to access the file and of course that it is there. I am also running the program on the same machine that the file is stored. I have included the full error message below as well as the code. Any help you could give on this issued...
2
1755
by: bmcelhany | last post by:
Hello, I'm developing a windows service that monitors a directory (using a FileSystemWatcher) for newly created files. When a new file is created, I need to generate an e-mail and send that file as an attachment. This all working fine except that sometimes the code that adds the attachment fires before the new file is finished being written to, resulting in an "invalid mail attachment" error. What is the best way to deal with this? Is...
2
4427
by: GD | last post by:
Hi, An intranet application, with a SMTP mail function that lets users to attach files with emails by selecting files in their local computers (through a file browser component), works perfect on my local machine. However, after deployment to a server that has Windows 2003 Sever installed, the mail function is able to attach the file created by the application. However, when users attach some files selected from their local machines, it...
1
1698
by: bluewind44 | last post by:
Is there any way to send mail attachment from stream or binary? Because I design my solution to save files in DB not in physical files, I wanna send files to mail attachments directly. @.@
1
5892
by: theWizard1 | last post by:
The following sends my email, but the attachment is empty. The attachment should contain the data that is in the string that was created from the xmlReader. I have a stored procedure written using For XML explicit, and it returns an xml reader. Then the following: xmlRdr.MoveToContent(); string myTemp = xmlRdr.ReadOuterXml();
2
1639
by: Ray | last post by:
Hi Can anyone help with something that has beaten me. I am sending an email with an attachment, as per below. If I comment out the MailAttachment line then the mail gets sent, but with it in I get an error. Can anybody point me in the right direction? Thanks
8
5228
by: =?Utf-8?B?cm95SGU=?= | last post by:
I have a web service. It creates a email and attached a file sitting one the network drive \\servername\filename. I tried UNC format and also try to mapping drive (eg. g:\text.txt or g:\\text.txt). I also check the permission of the file and file sharing (grant to everyone), I still got the following err: Server was unable to process request. --Invalid mail attachment 'g:\\g:\\text.txt)'. Description: An unhandled exception occurred...
0
1731
by: kencana | last post by:
Hi all, I got problem in sending email with image file attached. the problem is that i can't see the image, apart from that i also try to attach a txt file and it gave me no luck. the txt file in the mail attachment is empty. Tha following is my code, i hope somebody can help me out. $file="Globe.gif"; $fp = fopen($file,"r"); $fcontent = fread($fp ,filesize($file));
1
2050
by: vinodkus | last post by:
dear sir/maadm I have to send a mail attachment but my problem is that file name of my attachment should be changed that i will write in a text box. please suggest any solution Thanks in Advance
0
8395
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7330
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
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 we have to send another system
2
1955
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.