Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding hyperlink to body of outlook email message
Message
 
À
17/02/2001 19:33:04
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00477057
Message ID:
00477066
Vues:
35
>>Hi;
>>
>>I want to generate an outlook email message from VFP that contains a link to a website.
>>Something like:
>>
>>#Define olMailItem 0
>>oOutLook=createobject('outlook.application')
>>oMailItem=oOutLook.CreateItem(olMailItem)
>>WITH oMailItem
>> .subject='Science Fair Judging'
>> .body='Hope you can be a judge at Science Fair again this year.'+chr(13)+;
>> chr(13+'Please fill out your form on our website.'
>>ENDWITH
>>
>>I want to make the words 'your form' a hyperlink to a URL.
>>
>>Any ideas would be appreciated.
>>
>>John
>
>You can use something like
< a href="http://www.yourURL.com/" > your form < /a >
Note that there should be no spaces around the "<" and ">", I had to put them in to prevent them from being parsed by the UT parser.

Al;

Thanks for the tip. I tried:

.body='Hope you can be a judge at Science Fair again this year.'+chr(13)+;
chr(13)+'Please fill out '+;
"< a href='http://www.yourURL.com/'> your form < /a >"+ ;
'your form on our website.'

Unfortunately the html showed literally in the body of the sent email.

Am I missing something?

Thanks
John
John Campbell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform