Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding hyperlink to body of outlook email message
Message
 
To
17/02/2001 22:06:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00477057
Message ID:
00479325
Views:
35
All:
Thanks so much for your help.

John


>>>>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
>
>Yes - there should be no spaces around ANY of the "<" or ">" characters in the line I posted, both leading and trailing. Basically, there should be no spaces at all in the string I posted except the one between "your" and "form".
John Campbell
Previous
Reply
Map
View

Click here to load this message in the networking platform