script to popup a warning before sending a message...


with exchange 2010 scripting, possible popup warning message in outlook 2010 email client when file attached email message ?..

if , provide scripting this?

thanks

well guess run powershell script loginscript or something? (i programmer not 100% sure of best way) script this

$outlook = new-object -comobject outlook.application $rules = $outlook.session.defaultstore.getrules() $olruletype = "microsoft.office.interop.outlook.olruletype" -as [type] $rule = $rules.create("mynewrule",$olruletype::olrulereceive) $fromcondition = $rule.conditions.hasattachment $fromcondition.enabled = $true $ruleaction = $rule.actions.newitemalert $ruleaction.text = "this demo script" $ruleaction.enabled = $true $rules.save()

hope helps

//kh


best regards karl-henrik "kh" nilsson - can find me @ blog or follow @khnilsson on twitter



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html