Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include Generic Txt in Body of Email
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01554867
Message ID:
01554878
Vues:
39
I have not figured out how to edit the text with HTML tags from within VFP app (if this is what you are asking). In my case, I create the text with all the tags outside of VFP and use this text as a body of emails. That is, at run time I open the text file, replace the place holders with values from a cursor, and then "attach" this text to the body of email.
I can view this text in an editbox of VFP but not sure if you can edit it as you would with an HTML editor.

>Hi Dimitry. Thanks for replying.
>Yes, I have done something similar.
>Can you edit the text (assuming you have HTML tags) and view it in WHYSWHG mode ?
>Regards,
>Gerard
>
>
>>>Hi.
>>>I have an application whcih Sends Emails.
>>>I am trying to devise a way of entering Generic text (With Html Tags) into the body of an Email. I also need a facility to change Some of the Data.
>>>E.g.
>>>Dear MR. BLOGGS
>>>Pleas find attached our details
>>>Please contact MARY SMYTH if you have any problems
>>>Best Regards,
>>>JIM BROWN
>>>
>>>Above Upper Cased stuff is taken from a file , but all other stuff will be standard (With BOlding, Underlining, Different Fonts etc).
>>>Currently , I have this in a Memo Field with 'XXXXXX' and 'YYYYYY' for the upper case and I do a replace For, but when I show the Memo field, or want to do some other mods, I am working in Raw HTML Tag format.
>>>
>>>I guess some sort of a HTML editor with a facility to replace Place Holders, whcih ideally the Customer on Site can maintain
>>>Any Ideas appreciated .
>>>regards,
>>>Gerard
>>
>>What I have done in this case is create the body of email as a text with place holders for names, emails, etc. For example,
>>you can enclose the name MR.BLOGGS as [TO_PERSON] and MARY SMYTH as [CONTACT_PERSON]. Then using STRTRAN, at run time, the code replaces the place holder with a value from a field. It works for me.
>>
>>HTH.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform