Sign in to follow this  
Followers 0
rosaz

Forward Outlook message

1 post in this topic

Hello,

I am trying to get an object for an active Outlook mail item, then create a mail item to forward it. I can't figure out how to do this, and am hoping for help!

Here's my start:

Local $mailtitle, $oOApp, $mail
Opt("WinTitleMatchMode", 2)
WinWaitActive ( "Message")
$mailtitle = WinGetTitle ("Message")

$oOApp = ObjCreate("Outlook.Application")
$mail = ObjGet ($mailtitle & ".html")

I get that "$mail" is not an object, so am stumped there. Please help!

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
Sign in to follow this  
Followers 0