G'day Andrew,
How are you enjoying Summer?
I finally got around to looking at the problem and solved it !!!
I realised that the Signature is in fact part of the Message Body and as such all I needed to do was to prefix the Message Body with my Message and a number of blank lines and the Signature would follow.
oMailObj = CreateObject("Outlook.Application")
MailItem = oMailObj.CreateItem(0)
WITH MailItem
.Subject = [This is the Message Subject]
.Recipients.Add("someone@somewhere.com")
.Display
.Body = [This is the Message Body.] ;
+ IIF(NOT EMPTY(.Body),CHR(13) + CHR(13) + CHR(13) + .Body,[])
.Send
ENDWITH
Regards,
Gavin...
>G'day Gavin,
>
>I've come across the same thing with the default stationery not being used.
>
>I've not investigated any further - just had a user report the problem (and move it to the bottom of the priority list).
>
>Cheers,
>
>Andrew
>
>
>
>>Hi All,
>>
>> I have a VFP application which creates an Email in Outlook 2000. All works fine except that the Autosignature does not appear. The signature appears when clicking on 'New' in Outlook. I've looked through the Outlook Object Browser but can't find any reference to allow the signature to be turned on or off programatically. Has anyone come across this before?
>>
>>Thanks,
>>Gavin...