Category "outlook"

How to round oMail.ReceivedTime to nearest minute?

I've a VBA macro that will save an email with the file name "yymmdd.hhmm.[Sender].[Recipient].[Subject Line].txt" that works almost the way I want. The issue is

VBA code in excel to copy a field and paste into a new outlook email [closed]

I currently have a vba code that is activated by a button in excel that copies certain information from the sheet into an outlook email. Havin

VBA: how can I get a list of the SMTP email addresses for the current outlook user?

I know how to get the primary email address of the current user, but how can I get a full list of all their SMTP email addresses? I'm looking for the informati

Outlook doesn't show date on the preview when eml is converted to msg using msgkit

i tried converting the .eml to .msg in c# using msgkit so my .eml file looks like this Date: Thu, 30 Jan 2020 12:09:26 +0530 its a simple .eml file i tried c

Trying to read outlook attachments with python

I am working on a script that reads emails from Outlook using Python, I wanted to know if there is any way to read the attachments without downloading them, for

How do I save outlook Mailitem as sent mail

I have created an Outlook mail item and want to save it in a folder as a sent mail. I was able to set sender mail using mail.SentOnBehalfofName. How do I add Da

Add a hidden tag to outgoing mail

I create a mail by VBA when sending invoices and automated newsletters by Outlook (2019). For reimporting the mails from the Sent folder into the database it wo

Python MAPI, windows service issue on windows server 2016

Im writing a script that downloads the attached document from every email in a subfolder of my Outlook inbox. The script works great when running from CMD or Py

how can I get name of current outlook IMAP or POP account with VBA during normal send/receive?

I have Outlook 365. I have multiple POP and IMAP accounts. During Send/Receive, I have a rule-script that needs to know which of the accounts is currently being

Exchange Online MailFlow Rule - Identify recipient group by display name

Using O365 Exchange Online, I have a scenario where I've got a bunch of distribution lists whose display name is in the format "CDL-blahblah" but their email ad

Restrict only works for some recipients

I have some code to keep my inbox clean. Process: Manually mall mails from outbox to inbox. Now I have all mails to be archived in inbox. Run code. When I had a

How to Search Phone number in Address book?

There are options to get a contact detail from Mail id or Contact's Name using Namespace.CreateRecipient / Recipient.Resolve Is there any option to perform a d

WCF Service Send Email On Outlook | Exception from HRESULT

I have created a WCF Project in .NET 4.5 to send emails from Outlook 2013 Or 2016 and host it on windows server 2012 and iis 8. When run Service from Visual

Using VBA in Outlook to Move Emails Containing Name of a Folder

I am looking for some pointers for a VBA code for Outlook. Specifically, run this code to clean up my inbox. We manually create a new folder each time we get a

How can I send an email with my outlook add-in

my friends and I are making an outlook add-in that can take the text from an email in the user's inbox and send it to our email address. the email part of this

Retrieve Outlook info account from multi profile

I am working on an Outlook inventory powershel script (see also powershell calculated properties for multiple values) This code work great, but only with the d

How can I retrieve the url for an Outlook Calendar?

Is there any way of accessing a calendar in MS Outlook via a hardcoded url? Suppose I have 3 calendars (A, B, C), can I via a url access only A? Any way of doin

Search for an ambiguous outlook recipient with python

I am trying to use python to search for an outlook recipient using this code: import win32com.client search_string = 'name' outlook = win32com.client.gencache.

File exists through Dir() validation, yet it doesn't get attached on mailing macro

I have a macro that can send multiple mails with attachments to an specific user, this had no problem when I sent 1 file to 1 user, but I modified it so it loop

MAPI Requests - Exchange Server (TCP/RPC) vs IMAP-Connection

I am currently developing an Outlook VSTO-AddIn using C#. I want to read certain attributes of each mailItem. (E.g. SenderName, SenderEmailAdress, etc. .. ) As