Jump to content
MakzNovice

Need to identify Forwarded email in outlook

Recommended Posts

MakzNovice

Hello Experts,

I am using UDF OutlookEX.au3, I am able to forward an email based on subject line( say 'ERROR: Server report') to multiple user as mentioned in example _OL_ItemForward.au3 of package OutlookEX 1.3.3.1 .

My trouble is I get multiple email with this subject line from multiple machines. 

My requirement, I would like to check entire Inbox with this Subject line and Fwd all the email that have not been already Forwarded. Is there a way to check all emails with this subject and FWD them if not already sent and skip if they have already been? 

Any help will be highly appreciated.

 

Note: not sharing code since its exactly same as  _OL_ItemForward.au3 - > Example1 () except recipients and subject


It doesn't get easier, you just get better...

Share this post


Link to post
Share on other sites
JLogan3o13

Moved to the appropriate forum, as the DEV forum very  clearly  states

Quote

Do not create AutoIt-related topics here, use AutoIt General Help and Support

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
MakzNovice

Thank you JLogan3o13, 

Experts, 

please help...


It doesn't get easier, you just get better...

Share this post


Link to post
Share on other sites
water

You could give the AutoForwarded property of the mail item a try:
https://msdn.microsoft.com/en-us/vba/outlook-vba/articles/mailitem-autoforwarded-property-outlook


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
MakzNovice

@water Thank you for pointing me out to these property, but actually I changed my approach. 

Now I have added all the recipients directly in Bcc list


It doesn't get easier, you just get better...

Share this post


Link to post
Share on other sites
water

Glad you got it working :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
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

  • Similar Content

    • visler
      By visler
      Hi all

      I been using autoit some years ago and needed a tool for changing various in outlook so i found autoit again and i allready succeed in some of this, but i cant find and delete an appointment.
      I have found this example and the creation is ok (after i changed $oOL/$oOutlook typo)
      Https://www.autoitscript.com/wiki/OutlookEX_UDF_-_Meeting_Item
      But i cant get the delete part to work and i keep on getting "not found" and an empty array (screen shoot of _ArrayDisplay attached)
      Please can someone tell me what i am missing, i have been searching and trying various but stil i have no luck in finding any items.

      I am using outloook 2013 and office365. I have been able to send mails and create appointment, so i guess my problem is not due to the use off office365.

       

×