|
-
Jul 7th, 2010, 07:06 AM
#1
Thread Starter
Lively Member
EmailMessage canculate the size length
hello,
how can i canculate the lengh size of the message ??
i use EmailMessage class
-
Jul 23rd, 2010, 10:41 AM
#2
Frenzied Member
Re: EmailMessage canculate the size length
You mean System.Net.Mail.MailMessage?
The actual message that the user will read is the Body. The body is a string, so you would use String.Length to get the length of the string.
Code:
public int getMessageLength(MailMessage mm){
return mm.Body.Length;
}
In the future just take a look at MSDN, they provide all the members + descriptions of what they do.
http://msdn.microsoft.com/en-us/libr...ilmessage.aspx
-
Jul 26th, 2010, 02:56 AM
#3
PowerPoster
Re: EmailMessage canculate the size length
Can you elaborate what you mean by the size of the message? are you talking about the entire size of the email message?
-
Jul 31st, 2010, 08:46 AM
#4
Frenzied Member
Re: EmailMessage canculate the size length
I was looking through the forum and noticed you posted the same question twice.
http://www.vbforums.com/showthread.php?t=620895
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
|