|
-
Jul 8th, 2010, 06:29 AM
#1
Thread Starter
Lively Member
message size calculation
hello,
i am using the EmailMessage class , my code:
EmailMessage message = new EmailMessage(service);
message.Subject = "Interesting";
message.Body = "The proposition has been considered.";
message.ToRecipients.Add("[email protected]");
message.Attachments.AddFileAttachment("C:\\FB_Activationform_24-03-2010nd User(8).xls");
how can i calculate the message size? is there any way to do that?
-
Jul 8th, 2010, 06:52 AM
#2
Re: message size calculation
Just addup the size of the body + sum of all attachtments
-
Jul 8th, 2010, 07:02 AM
#3
Thread Starter
Lively Member
Re: message size calculation
 Originally Posted by Lightning
Just addup the size of the body + sum of all attachtments
yes but how can i do that i tried size methos ( message.size) but it is not the right way . do you have code sample?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|