Paul, I just wanted to say THANK! For all the help on this, this is working
just as I need it. Maybe of interest to you, I fully understand what you
are explaining, but as it turns out, I did not need to do it, the sent email
in fact has NO signature. The below code was not needed at all. Perhaps I
would need it if I wanted to set the sig to something, as it is now, it
seems to default to nothing.
on 12/10/04 7:27 AM, Paul Berkowitz at [EMAIL PROTECTED] wrote:
> It's a little different for outgoing messages than for draft windows, I'm
> afraid. Once a message has been encoded (which happens when it's saved) the
> signature has just become text and can't be detected as a signature as such.
> So it's more complicated to set it: you have to set the default signature of
> the account before making the message (then set it back again). Since you're
> not specifying the account you must be using the default account here.
>>
>
> set theAccount to default mail account -- or specify which account
> set sigType to default signature type of theAccount
> if sigType is other then set sigChoice to default signature choice of
> theAccount
> --make the change:
> set default signature type of theAccount to none
> set MyMessage to make new outgoing message with properties �
> {recipient:"[EMAIL PROTECTED]", subject:"admin", content:theBody}
>
> send MyMessage
> -- put the sig back
> set default signature type of theAccount to sigType
> if sigType is other then set default signature choice of theAccount to
> sigChoice
>
>
> If you have a lot of messages to send out in a repeat loop, just reset the
> default signture of the account once - before and after the repeat loop.
>
> (If you're working with draft windows then you just
>
> set signature type of MyMessage to none
>
> and that's all there is to it.)
--
-------------------------------------------------------------
Scott Haneda Tel: 415.898.2602
<http://www.newgeo.com> Fax: 313.557.5052
<[EMAIL PROTECTED]> Novato, CA U.S.A.
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>