Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include Generic Txt in Body of Email
Message
De
12/10/2012 16:28:05
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01554867
Message ID:
01554919
Vues:
46
Hi,
I have an email sending app that I wrote that allows users to edit the HTML body of the email when they want to customize a particular email. I just made a form class with dhtmledit class from the dhtmled.ocx embedded in it. It lets them do simple editing with rich text formatting. It has some limitations, but it works.

http://en.wikipedia.org/wiki/DHTMLEdit


Gary

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

Click here to load this message in the networking platform