Jump to content

OutlookEX keeps email as draft when, but not getting sent - (Moved)


Recommended Posts

We have tools developed in AutoIt for sending Outlook email alerts and It was working fine and recently we have upgraded MS office 365 64bit version and all emails stopped sending, email will go only to Drafts folder but it will not send, can anyone help me on this. 

OutlookEX Version  "OutlookEX: 1.6.5.0 2021-06-14"

Office version   : Office 365 64bit

#include <OutlookEX.au3>
 local $Outlook = _Ol_Open()
 local $Item = _OL_ItemCreate($Outlook, $olMailItem, "", "", "Subject=Test Only")

 $Item.To = 'email@abc.com'
 $Item.save

 $Item.Send

 MsgBox(16, "OutlookEX UDF - Example Script", @extended)

 _Ol_Close($Outlook)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...