Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending HTML with West Wind SMTP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01550692
Message ID:
01550919
Vues:
57
MHTML is an HTML page that includes images (in binary format), so you would not have to worry about sending the images correctly with a regular HTML body, so the display correctly, but if you don't plan to use images within the body of your e-mail just use HMTL format. Another issue is antivirus, that sometimes dectect an MHTML file as a potential risk.
You can see the how it look, if you browse a website (with images in it) and use the File->Save As in your browse and select Web archive single file (,mht). The edit the resulting file in notepad, to see how it handles images.


>Hi Mike,
>
>I noticed the examples are using MHTML which I'm not very familiar with and noticed it has a method "Data_mhtml", do you use this format or you use HTML? Does it show on all the popular browsers fine?
>
>Thanks!
>
>
>>>Thanks Mike,
>>>
>>>I had actually looked at that but I don't see that property "cMessageAlternate" in the debugger, just see "cMessage" so I'm thinking I have an old version of this software maybe? If this is so I'm guessing the only way to make this work is to upgrade?
>>>
>>>
>>>>>I'm sending an email using the wwIPStuff class that I found here at work. I can send the email but now I'm trying to include HTML in it; being a newbie in the internet stuff I'm not getting anywhere. On the test email that I send myself I do get this "X-Mailer: West Wind SMTP 4.0" so I guess that's the version I'm using. Is it possible to display HTML using this wwIPStuff?
>>>>>
>>>>>I have attached the code and the result email that I get in outlook.
>>>>>
>>>>>Any ideas? Thanks.
>>>>
>>>>http://www.west-wind.com/webconnection/wwipstuff_docs/_1r90yrdn9.htm
>>>>
>>>>Look at the loSmtp.cMessageAlternate portion.
>>
>>Maybe, or use a different method like vfpwinsock which already has flags for HTML body built-in.
>>
>>http://www.vfpwinsock.com/?LANGUE=GB
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform