Top "Mailitem" questions

MailItem is an object that represents a mail message in Visual Basic for Applications (VBA).

Can I iterate through all Outlook emails in a folder including sub-folders?

I have a folder which contains a number of emails and sub-folders. Within those sub-folders are more emails. I'd like …

vba outlook mailitem
When is a MailItem not a MailItem?

I have written a message handler function in Outlook's Visual Basic (we're using Outlook 2003 and Exchange Server) to help me …

vba outlook typeof mailitem outlook-2003
How can I get the sender email address using Outlook.MailItem in VB.NET?

I have tried using mailItem.SenderEmailAddress and mailItem.Sender.Address but they both return a string that looks like this: /…

vb.net email outlook outlook-addin mailitem
Open Outlook mail Item using EntryID, StoreID, and / or PR_ENTRYID

NOTE: I'm using VBA and Office 2007. (I would use C#, but the project parameters don't allow this) I'm attempting to …

vba outlook exchange-server mapi mailitem
Outlook VBA-- Some MailItem Properties return values, others do not

EDIT: New info: I just now realised that, while the return of Mailitem.Body is "", the actual value is "Application-defined …

vba outlook mailitem
How do I open an outlook .msg file from my harddrive that is NOT in outlook?

I have searched high and low for this seemingly simple task, but all references I come across are either saving …

vba outlook outlook-2013 mailitem
Sending email from the specified Outlook Account

I am using Outlook2013 which has a number of mailboxes from both exchange and pop servers.([email protected][default …

c# email outlook office-interop mailitem
Selecting and copying Outlook email body with a VBA macro

I'm a beginner to VBA macros in Excel, and this is the first attempt in Outlook, but here's what I …

vba ms-word outlook clipboard mailitem
Outlook MailItem: How to distinguish whether mail is incoming or outgoing?

I am writing VSTO Outlook addin in C#, and I need to distinguish, whether given MailItem is incoming or outgoing (…

c# outlook vsto mailitem
Create/Open existing msg from path to new Outlook.MailItem in c#

Hello I'd like to create a Outlook.MailItem ( I believe ) from an existing one located on disk. I have the …

c# outlook mailitem