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

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source