how to send email based on export status within FDM
Hi
I am working on 11.1.2.3.500 FDM classic app. I have written an Event script intend to send out the email based on data export status. regardless of Export is successful (I am getting all 4 Golden fish) email was always generated as load was failed. Below is the script. Can someone please help me to figure out where I am going wrong in script? Any help would be highly appreciated.
Dim strEmailMsgLine
Dim objMsg
Dim objConfig
Dim intSendUsing
Dim strSMTPServer
Dim intSendPort
Dim ObjStatus
With API.MaintenanceMgr.fProcessStatus(API.POVMgr.PPOVLocation, API.POVMgr.PPOVCategory, API.POVMgr.PPOVPeriod)
'Initialize Mail Server variables