how can I tell the size of an email prior to sending

J

jojo

I want to be able to tell how large in size an email is prior to sending it
out. I want this to include attachments being sent as well
 
J

JP

Here is a VBA solution, if you were interested. It works on an email
you are composing, or one you received from someone else and are
currently viewing.

Sub CheckMailSize()
Dim CurrentMsg As Outlook.MailItem

Set CurrentMsg = ActiveInspector.CurrentItem

If (Not CurrentMsg Is Nothing) And (TypeName(CurrentMsg) <>
"MailItem") Then
MsgBox "Double-click on a message first."
Exit Sub
End If

MsgBox "This message is " & CurrentMsg.Size & " kb."

End Sub


To install:

1. Hit Alt-F11 in Outlook to open VB Editor
2. Click Insert>Module
3. Copy/Paste the code above into the module.
4. Alt-Q to close and return to Outlook.
5. With the email open, hit Alt-F8, choose "CheckMailSize" and hit
'Run'.


HTH,
JP
 
J

JP

Sorry that should be

Sub CheckMailSize()
Dim CurrentMsg As Outlook.MailItem

Set CurrentMsg = ActiveInspector.CurrentItem

If (Not CurrentMsg Is Nothing) And (TypeName(CurrentMsg) = _
"MailItem") Then
MsgBox "Double-click on a message first."
Exit Sub
End If

MsgBox "This message is " & CurrentMsg.Size & " kb."

End Sub
 

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

Top