Hello,
Final match it seems.
Point 1 : I realy need to use a custom form (myform1) as my default form
Point 2 : the messages I send have to be viewable in the preview pane
Point 3 : custom forms sometimes can't be view in the preview pane
(espacially in mine)
Consequence : I need to send items based on the standard IPM.Note form
Mean : put code into myform1 (function item_send()) to copy the content
of my item into a standard item and send it.
Problem : security prompts
Solution : here i need your help
Case 1 :
- I create an intermediate form (myform2) which I define as the default
form instead of myform1.
- I put code into myform2 (function item_open()) to open a redemption
safemailitem when my form is lunched.
- I set an instence of myform1 (myitem1) as safeitem.item
- when I send the message, the code in myitem1 is run and opens an other
item (IPM.Note), then copies the contant of myitem1 into this item,
sends this item and close myitem1.
--> How can I refer to myitem1 as a safemailitem, so as to avoid
security prompts ? Can I refer to it from itself (wow, i don't know
whether my english is still correct...), I mean refer to an item as a
safeitem whithin its own code ?
Or can i write a function item_send in myform1 so that when I send
myitem1, the code runs a function in myitem2 (which is the instance of
myform2 i first need to open) ? This would be great because i know how
to refer to myitem1 as a safeitem from myitem2...
Case 2 :
- I create no intermediate form, but i write a function item_send() to
call a macro from myintem1. This macro creates and fills an IPM.Note
based item and i avoid security prompts by using an authentified
signature (wow, my english is getting better and better...). This item I
send.
Please help me end this once and for all !
Thank you
AnDong
(PS : if sometimes you don't understand my english, tell me. better
saying things twice than going on whith that problem !)
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!