I have few questions for the experts here, can you please clarify.
It appears that:
"Item_CustomPropertyChange()" does not fire, if you type in the field and click the built-in SEND button, without first switching over to different field by mouse, key, tab ... ?
I had no luck manipulating "item.To", "item.recipients" from within the "Function Item_Send()". The best I could achieve was "The operation has failed. ....Cannot resolve recipient." error.
In fact when debugging the "Item.Recipients.Add()" I got no error, but the recipients collection remains the same. I've tried:
Set oRecip = Item.Recipients.Add(FaxNr & "@adress.com")
oRecip.Type = Outlook.OlMailRecipientType.olTo
oRecip.Resolve
but no luck.
Any help greatly appreciated.
Petr
It appears that:
"Item_CustomPropertyChange()" does not fire, if you type in the field and click the built-in SEND button, without first switching over to different field by mouse, key, tab ... ?
I had no luck manipulating "item.To", "item.recipients" from within the "Function Item_Send()". The best I could achieve was "The operation has failed. ....Cannot resolve recipient." error.
In fact when debugging the "Item.Recipients.Add()" I got no error, but the recipients collection remains the same. I've tried:
Set oRecip = Item.Recipients.Add(FaxNr & "@adress.com")
oRecip.Type = Outlook.OlMailRecipientType.olTo
oRecip.Resolve
but no luck.
Any help greatly appreciated.
Petr