473,323 Members | 1,551 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

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.Add(New Mail.MailAttachment(sFullPath,
Mail.MailEncoding.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 2491
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
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...
2
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...
2
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...
1
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
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...
2
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...
8
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...
0
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...
1
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.