I have a problem sending email with Outlook (office 2013) and windows 8.1
If outlook is active , i get an error , no way to send the mail
if outlook is not active, the code will execute without a problem.
Does anyone know a workaround ?
Code: Select all
TRY
oOutlook = GetActiveObject( "Outlook.Application" )
// MSGINFO("OUTLOOK EN EXECUTION")
CATCH
TRY
oOutlook = CreateObject( "Outlook.Application" )
CATCH
msginfo("outlook can not be used") // this is the message i get if outlook is active
END
END