Problem sending message with attachment >100kb

G

Gregor

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Maybe it;s a configuration settings in your mail server
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top