Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP/Email Outlook - Signature
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00998152
Message ID:
00998870
Views:
46
Thanks Mike.
I'll fool with it.


>You can specify the position of the attachment if you load the attachment into a variable. The position parameter is the third.
>For e-mail messages in Microsoft Outlook Rich Text format, a value of 1 for the Position parameter specifies that the attachment should be positioned at the beginning of the message body.
>
>o=Createobject('Outlook.Application')
>oItem=o.createitem(0)
>oAtt = oItem.attachments
>oAtt.Add("c:\test.doc",1,1,"hello")
>oItem.Display
>
>
>
>>Hi Jon.
>>
>>Yeah we've done that.
>>However, the (client) want the signature to appear after everything including attachments. With MS OutLook it appears that the attachment is the last item you can attach if your doing this programmically. Infact we tried to attach an attachment and then the body. It got the attachment, but not the body.
>>
>>Thanks for your input.
>>
>>
>>>Hi Dean,
>>>
>>>If you've got the body of the email in a variable cant you just add the signature to the end of it?
>>>
>>>e.g.
>>>
>>>lcEmailBody = "This is a test email"
>>>
>>>* add signature
>>>lcEmailBody = lcEmailBody + lcSignature
>>>
>>>I think I must be missing something here.
>>>
>>>Jon
>>>
>>>>>Hi Dean,
>>>>>
>>>>>Are you asking how to get the signature or how to add it to the mail?
>>>>
>>>>
>>>>we are trying to progammically attach (add) a signature to an email (MS Outlook)before sending it.
>>>>
>>>>
>>>>>
>>>>>If you could post your code it mail help?
>>>>>
>>>>>Jon
>>>>>
>>>>>>Howdy.
>>>>>>
>>>>>>We are trying to programically include a "signature" on our MS OutLook email.
>>>>>>This signature should appear after the main body and any attachemnts.
>>>>>>
>>>>>>We tried "&signature=" + lcSignature in our call to OL without success.
>>>>>>
>>>>>>Has someone done this and succeeded? If so your help would be greatly appreciated.
>>>>>>
>>>>>>Thanks
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Reply
Map
View

Click here to load this message in the networking platform