How to modify Outlook PS1 to Outlook 365 PS1 RRS feed

  • Question

  • #could an Outlook 365 powershell guru (or the scripting guy) point me to a equivalent forum discussion or blog or . . . that would do what this script below did in earlier non-azure based outlook

    # short request: I want modify the script below to run on Outlook365


    $ol = New-Object -comObject Outlook.Application
    $mail = $ol.CreateItem(0)
    $ = "$Argument1"
    $mail.Subject = "$Argument2"
    $mail.Body = "$Argument3"
    $inspector = $mail.GetInspector

    Monday, January 20, 2020 3:55 PM

All replies

  • That will only work on Desktop Outlook and there is no API for Web Outllok that does the same thing.  The web version does not allow what you are trying to do.


    Monday, January 20, 2020 8:04 PM