Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP/Email Outlook - Signature
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00998152
Message ID:
00998858
Vues:
37
>>With MS OutLook it appears that the attachment is the last item you can attach if your doing this programmically.

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform