• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

No default signature on emails send via vbscript

S

steve.flegg

#1
I have a script that connects to the running instance of Outlook and
sends an email using code below

Set objOutlook = GetObject(,"Outlook.Application")
'Create new Outlook Email message object
Set objOutlookMsg = objOutlook.CreateItem(0)
...
...
objOutlookMsg.Send

When this sends the message it does not append the default signature.

Any ideas on how I can get this to append the signature?

Regards
Steve
 

My Computer

J

Jeff C

#2
--
Jeff C
Live Well .. Be Happy In All You Do


"steve.flegg@xxxxxx" wrote:

> I have a script that connects to the running instance of Outlook and
> sends an email using code below
>
> Set objOutlook = GetObject(,"Outlook.Application")
> 'Create new Outlook Email message object
> Set objOutlookMsg = objOutlook.CreateItem(0)
> ...
> ...
> objOutlookMsg.Send
>
> When this sends the message it does not append the default signature.
>
> Any ideas on how I can get this to append the signature?
Signatures in Outlook are tricky. Signature files reside in c:\documents
and settings\"user"\application data\microsoft\signatures

Your default mail settings must be set to include the signature file and you
may find more info at OutlookCode.com




>
> Regards
> Steve
>
 

My Computer

S

steve.flegg

#3
On 3 Jun, 09:09, Jeff C <Je...@xxxxxx> wrote:

> --
> Jeff C
> Live Well .. Be Happy In All You Do
>
> "steve.fl...@xxxxxx" wrote:

> > I have a script that connects to the running instance of Outlook and
> > sends an email using code below
>

> > Set objOutlook = GetObject(,"Outlook.Application")
> > 'Create new Outlook Email message object
> > Set objOutlookMsg = objOutlook.CreateItem(0)
> > ...
> > ...
> > objOutlookMsg.Send
>

> > When this sends the message it does not append the default signature.
>

> > Any ideas on how I can get this to append the signature?
>
> Signatures in Outlook are tricky.  Signature files reside in c:\documents
> and settings\"user"\application data\microsoft\signatures
>
> Your default mail settings must be set to include the signature file and you
> may find more info at OutlookCode.com
>
>
>
>
>

> > Regards
> > Steve- Hide quoted text -
>
> - Show quoted text -
Thanks I will take a look at that site
 

My Computer