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:
01550990
Vues:
58
Thanks Mike,

I tried it, created the MHTML file sent it to myself and it showed correctly with all the images on outlook but also sent email to my hotmail account, used firefox to view and some image links were just gray boxes. Excuse my ignorance but how do I include links on this MHTML file? I asked the designer that designed the HTML page about it and he says he has nothing to do with that, so I know the links in the file he sent me will go to nowhere just don't know how to make them point somewhere.

Thanks.


>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