473,513 Members | 2,749 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem sending message with attachment >100kb

Hi,

I got a service (written in C#) that sends out messages to a third party
system.
The messages contain encoded attachments.

Everything works fine as long as the messages are small (say < 100kb).
When I try to send message >100kb I get an expception stating:
"The underlying connection was closed: the connection was closed
unexpectedly"

Any ideas?

Thank you,

Gregor

Cross post to microsoft.public.dotnet.languages.csharp
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual C# 2005 77626-009-0000007-41031
Microsoft Visual C# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41031
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77626-009-0000007-41031
Microsoft Web Application Projects 2005
Version 8.0.50727.762


Apr 26 '07 #1
1 1297
Hi,

Maybe it;s a configuration settings in your mail server

"Gregor" <te**@test3213123123.comwrote in message
news:f0**********@news.sap-ag.de...
Hi,

I got a service (written in C#) that sends out messages to a third party
system.
The messages contain encoded attachments.

Everything works fine as long as the messages are small (say < 100kb).
When I try to send message >100kb I get an expception stating:
"The underlying connection was closed: the connection was closed
unexpectedly"

Any ideas?

Thank you,

Gregor

Cross post to microsoft.public.dotnet.languages.csharp
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual C# 2005 77626-009-0000007-41031
Microsoft Visual C# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41031
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77626-009-0000007-41031
Microsoft Web Application Projects 2005
Version 8.0.50727.762


Apr 26 '07 #2

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

Similar topics

3
1851
by: Jack Fox | last post by:
While stress-testing our ASP.NET app, we discovered a flaw in our test set-up, which also reveals a flaw in our ASP.NET configuration that we do not know how to address. We simulated too...
6
2092
by: comp.lang.php | last post by:
I have an image that's only 100K in size, and I am working with 8mb of memory. If I do this: print_r(ceil((int)ini_get('memory_limit') * 10 *...
11
1506
by: sam_cit | last post by:
Hi Everyone, I'm currently working in embedded environment and hence resources like memory are constrained. And i'm in a need to pass a entire text file to a parser (implemented in lex/yacc) to...
1
1038
by: Gregor | last post by:
Hi, I got a service (written in C#) that sends out messages to a third party system. The messages contain encoded attachments. Everything works fine as long as the messages are small (say <...
0
783
by: =?Utf-8?B?UlY4LTEwODM=?= | last post by:
Hi, I am using Office Basic Edition 2003 with Outlook as my email program. In the past I have been able to insert many photos in an email without the email becoming a large file. I have started...
0
2110
by: tovbinm | last post by:
When I'm trying to send rapidly (50-100 msgs in a row, while each one ~100kb) to the service that is configured with the next configuration: <system.serviceModel> <bindings>...
2
1263
by: Rex | last post by:
I am writing a script that executes a bunch of queries through a form on a website and reads the results. I am only interested in the <titlesection in the <headof each web page. Currently, each...
1
2415
by: =?Utf-8?B?QmxhaXI=?= | last post by:
I have an Windows forms application that uses the File.Copy method to copy several files from a network file share to a folder on the local PC (the PC running the windows form application). The...
4
2930
by: liberty1 | last post by:
Hi everyone. I appreciate your effort at helping newbies like me. I have the following problems and will appreciate urgent help. PROBLEM NUMBER 1: Using PHP and MySQL, I am able to upload...
0
7259
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
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7535
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...
1
7098
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...
1
5085
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
4745
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
1592
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
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.