Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wwipstuff - text/plain
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00607715
Message ID:
00607745
Vues:
18
Robert here's a simplified version what I'm doing. Basically I have a valid html file, I load it into a memo field, I make my changes (this is for an order confirmation system), then send the file, it works. maybe this will help...

loIP.cMailServer = alltrim(email.smtpserver)
loIP.cSenderName = alltrim(email.sendername)
loIP.cSenderEmail = alltrim(email.sendermail)
loIP.cContentType='text/html'
loIP.cRecipient = alltrim(customer.email)
loIP.cSubject = 'Order Confirmation # '+alltrim(str(summary.inv_num))
*import html file
append memo html_doc from "f:\dosapps\arwin\email\daily confirmation.html" overwrite
*do text substitutions in the html file
mHTML = strtran(email.html_doc,'*tracking*',alltrim(upsperm.tracking))
mHTML = strtran(mHTML,'*shpdate*',dtoc(summary.shp_date))
mHTML = strtran(mHTML,'*ordernum*',alltrim(str(summary.inv_num)))
mHTML = strtran(mHTML,'*custid*',customer.cust_id)
loIP.cMessage = mHTML
*send file
lSentOk = loIP.SendMail()


>Hi everybody out there!
>
>I've a problem I want to send a HTML-file via the wwipstuff.
>First I read the HTML-file into a string, therefore the string contains the raw html-code. When I send it, the recepient gets the body also in raw html-code.
>
>In my email-options I have ticked HTML.
>
>Isn't there a way to send mails in html-code via the wwipstuff which is then converted into real html (without raw code)?
>
>I need it because of the formatting.
>
>Thx for your help.
Marvin Masson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform