Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to deal with this.. Big String on HTML to outlook
Message
De
26/08/2004 10:04:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
How to deal with this.. Big String on HTML to outlook
Divers
Thread ID:
00936589
Message ID:
00936589
Vues:
41
Hi,

My goal is to send e-mail using a HTML report watched by user..

the len() of ThisForm.olehtml.document.Body.innerHTML is more than 2k of characters, and outlook is getting only part of it.. And the HMTL code is truncaded..
Declare INTEGER ShellExecute ;
    IN SHELL32.DLL ;
        INTEGER nWinHandle,;
        STRING cOperation,;
        STRING cFileName,;
        STRING cParameters,;
        STRING cDirectory,;
        INTEGER nShowWindow
if  used("cur_email")
    sele cur_email
    use
endif
SELE 0
CREAT CURSOR cur_email (ctipo C(1), lcMessageBody m)
append blank

cwTo           = ""
lcEmailAddress = cwTo
lcCCAddress    = ""
lcSubject      = "Report by " + allt(empresa.empresa)

repl lcMessageBody  with '<html>' + ThisForm.olehtml.document.Body.innerHTML+'</html>'

m.filehtm      = "resumo_pronto.htm"

ShellExecute(0, "", "mailto:" + lcEmailAddress + "?Subject=" + lcSubject + "&body=" + cur_email.lcMessageBody + "&cc=" + lcCCAddress, "", "", 1)
if  used("cur_email")
    sele cur_email
*    use
endif
Any advice will be welcome.. TIA

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform