outlook

How to add an Extension to Outlook 365 event using Microsoft.Graph?

不问归期 提交于 2021-01-28 09:22:34
问题 I'm using Microsoft.Graph to create an Office365 calendar event. It works fine and I can create an event but I need to add a couple of extra string properties to an event, so I've created an extension for that. It compiles fine. But when I try to run it and create an event with added extension, it throws an error: Code: RequestBodyRead Message: The property 'extensionName' does not exist on type 'Microsoft.OutlookServices.Extension'. Make sure to only use property names that are defined by

Nodemailer 24 hour sending limit

风格不统一 提交于 2021-01-28 09:00:07
问题 I have an email account from godaddy hosted on outlook. I'm using nodemailer to automatically send emails from it, using smtpout.secureserver.net. I emailed 25 different people with nodemailer, and not I get this error: "User me@site.com has exceeded its 24-hour sending limit. Messages to 25 recipients out of 25 allowed have been sent" But if I go into outlook and manually send more emails, they get delivered without issue. What's going on? I believe godaddy has a cap at 250 for my plan, but

Pasting python's tabulate output to Microsoft Office editors

早过忘川 提交于 2021-01-28 08:30:34
问题 Quite frequently I need to copy-paste small tables from an SQL editor into Microsoft Office programs (Outlook and OneNote) and I want it to look nice as I paste it. So I wrote a short script taking the data from the clipboard, processing it with Tabulate and returning it to the clipboard. This works very well when I paste the new table into Notepad++ and other editors. It completely messes up when I paste into Outlook. If I paste into Notepad++ and then copy paste from there, everything's

How to move cursor after a specific word in email body

醉酒当歌 提交于 2021-01-28 08:14:57
问题 I wrote this code to move Outlook cursor 5 words to right: Option Explicit Public Sub Example() Dim Inspector As Outlook.Inspector Dim wdDoc As Word.Document Dim Selection As Word.Selection Set Inspector = Application.ActiveInspector() Set wdDoc = Inspector.WordEditor Set Selection = wdDoc.Application.Selection Selection.MoveRight Unit:=wdCharacter, Count:=5, Extend:=wdMove Set Inspector = Nothing Set wdDoc = Nothing Set Selection = Nothing End Sub Do you have any idea how to move mouse

HTML email button alignment in Outlook

99封情书 提交于 2021-01-28 06:59:58
问题 I'm having some issues aligning the call to action buttons in a HTML email I am building for a client. The buttons are appearing off to the left and not filled correctly. This is how they appear in my browser and most email clients: And this is how they appear in Outlook 2016: Here is my Inky markup: <row class="call-to-actions"> <columns small="6"> <spacer size="50"></spacer> <button class="facebook float-right" href="#">Like on Facebook</button> <spacer size="50"></spacer> </columns>

Create an `Items` collection containing references to already existing `Item`s

最后都变了- 提交于 2021-01-28 06:08:10
问题 I mean to create an Items collection, and add to it several already existing Item s. For instance, if I have two references to MailItem s, I want to set an Items collection containing those two Item s. It would be something like ' ... ' Code that assigns references to olMail1 and olMail2, of type Outlook.MailItem ' ... Dim MyItems As Outlook.Items ' Assign with Set / create the object MyItems.Add olMail1 MyItems.Add olMail2 ' Code that can use MyItems(1) to get a reference to olMail1 How can

Outlook email to pdf security prompt

谁都会走 提交于 2021-01-28 04:37:14
问题 I have a task which i need to create a program that converts outlook email to pdf. this is my code Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); NameSpace outlookNs = app.GetNamespace("MAPI"); MAPIFolder rootFolder = outlookNs.Stores["Blah"].GetRootFolder(); List<MailItem> mailItems = new List<MailItem>(); Folders subFolders = rootFolder.Folders; foreach (Folder folder in subFolders) { if (folder.Name == "Inbox") { Items items = folder

Suppress Outlook pop-up allow access

偶尔善良 提交于 2021-01-28 04:16:39
问题 When running the following PowerShell code: $Outlook = New-Object -ComObject Outlook.Application $Stores = $Outlook.Session.Stores $Accounts = $Outlook.Session.Accounts $Accounts | Select-Object DisplayName, UserName, SmtpAddress, ExchangeMailboxServerName, ExchangeMailboxServerVersion A security warning pops-up: According to Microsoft there are ways around this. For instance, one can Create a COM Add-in for Outlook instead of using the Outlook COM Object as explained here. Another example of

Non-delivery reports and VBA script in Outlook 2010

独自空忆成欢 提交于 2021-01-28 04:15:19
问题 I have a Outlook 2010 VBA script that should scan the body of selected non-delivery reports in my inbox and generates a text report if they match certain regular expressions in the body. Recently the script stopped working and it seems like I can no longer access the .body of the selected objects (debug.print outputs a lot of question marks to the immediate window). The script still works fine for regular (not NDR) emails in my inbox. I also noticed that the non-delivery reports all of a

Outlook Email Archiving Macro Doesnt work if subject has asterisk

心已入冬 提交于 2021-01-28 02:12:41
问题 I am using the following code to archive my emails to a designated folder which works perfectly at the moment.... UNLESS the email subject contains an *... this then gives a debug message "run-time error '-2147286788 (800300fc)' Is there anything I can add into the below code to make it ignore or replace the * to something else to allow it to automatically archive these emails? Option Explicit Public Sub Received2016() Dim oMail As Outlook.MailItem Dim objItem As Object Dim sPath As String