Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mass emailing
Message
De
13/12/2001 12:29:08
 
 
À
13/12/2001 11:50:24
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00589809
Message ID:
00593914
Vues:
43
This message has been marked as the solution to the initial question of the thread.
You shouldn't have to do any thing with 'Body', and I don't think there is a 'BodyFormat' property (Outlook 2000, right?).

Can you post the code that you are trying?

On my system, the following code works (take spaces from beginning of HTML tags):
=sendSomeMail()

procedure sendSomeMail
    local oOutlook, ;
          oItem, ;
          lcHTMLSTring
      
    lcHTMLString = [< html>< body>Hello < b>world< /b>< /body>]

    oOutlook = createobject("outlook.application")
    oitem = oOutlook.createitem(0)
    oitem.recipients.add("somebody@somewhere.com")
    oitem.subject =  "Test HMTL message"
    oitem.HTMLBody = lcHTMLString  
    oitem.display()
    oitem = NULL
    oOutlook = NULL
endproc
>I'm still trying to get this to work. I assume the properties I'm dealing with are Body,HTMLBody, and BodyFormat. One problem is that I don't know the constants for BodyFormat. I have a simple HTML file and when I use other utilities (wwIPStuff) to send a message, the HTML works. But with Outlook I still see just the code. Any more ideas?
>
>
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform