Programmatic setting Body - how to kill the signature?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top