Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Development / July 2008

Tip: Looking for answers? Try searching our database.

TransportAgent : get attachment file sizes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
c0d3r - 19 Jul 2008 02:06 GMT
Hello,

I'm writing a Transport Agent in C#, based on the SmtpReceiveAgentFactory
and SmtpReceiveAgent classes

How can I get the size of the attachments (if any) that are part of the
message that is being trapped by the agent ?

thanks

c
Glen Scales [MVP] - 22 Jul 2008 01:00 GMT
You need to look at the lenth of the attachement stream which basically
means getting the attachement Stream and just using the normal stream length
property.

Cheers
Glen

> Hello,
>
[quoted text clipped - 7 lines]
>
> c
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.