V
Vadim Rapp
Hello,
In Outlook 2002, I have defined a signature.
I have a custom ipm.note form with the following sample code:
Function Item_Send()
Item.Body="abc"
Item_Send=false
msgbox Item.Body
End Function
I open the form and erase the signature. Then I press "send" button. The
message from the script reads not "abc", but signature and then abc. After
that, the signature followed by "abc" appears in the message. So it looks
like Outlook is reinserting the signature whenever the body is changed. Is
there a way to avoid that? Setting HTMLBody = "" and BodyFormat=1 in the
script did not help.
The purpose of the message is to be sent to a fax gateway. The real script
is supposed to form a proper body for the gateway, using custom fields from
the same form.
thanks,
Vadim Rapp
In Outlook 2002, I have defined a signature.
I have a custom ipm.note form with the following sample code:
Function Item_Send()
Item.Body="abc"
Item_Send=false
msgbox Item.Body
End Function
I open the form and erase the signature. Then I press "send" button. The
message from the script reads not "abc", but signature and then abc. After
that, the signature followed by "abc" appears in the message. So it looks
like Outlook is reinserting the signature whenever the body is changed. Is
there a way to avoid that? Setting HTMLBody = "" and BodyFormat=1 in the
script did not help.
The purpose of the message is to be sent to a fax gateway. The real script
is supposed to form a proper body for the gateway, using custom fields from
the same form.
thanks,
Vadim Rapp