Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending HTML EMail
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01099888
Message ID:
01100235
Vues:
15
Hi Don,

Take a look at the email headers of the message in your email client. I bet there's a problem with the headers containing two carriage returns somewhere. If they do, post that here... it'll be interesting to see where the headers break also in comparision with the first one that works.

I've seen this sort of thing before and it can be caused by sloppy mail servers that append their own headers into the header in transit and muck it up...

wwIPStuff sends messages with the same set of headers every time, so it's not likely to be from that end that's breaking the headers, but let's look at them.

I can't remember offhand which version, but I added a couple of tweaks to the order of the headers that minimized this sort of thing from happening (although the order *should* have no effect on mail servers). You might try downloading the latest version.

+++ Rick ---

>Hi all,
>
>I'm getting an email with the following...
>
>X-Mailer: West Wind SMTP 4.0
>Mime-Version: 1.0
>Date: Tue, 28 Feb 2006 10:09:13 -0500
>Content-Type: text/html
>Content-Transfer-Encoding: 8bit
>
>{ Plus, html content, but not VIEWED as HTML, but the raw HTML format }
>
>I have a routine that sends out all mail using the wwIPStuff like below
>
>
>loMail				= CREATEOBJECT( "wwIPStuff" )
>WITH loMail
>   */ typical settings for
>   .cMailServer
>   .cUserName
>   .cPassword
>   .cSenderEMail
>   .cSenderName
>   .cRecipient
>   .cSubject
>	
>   */ The body is the HTML content
>   .cMessage	 = lcBody
>   .cContentType = "text/html"
>
>   .SendMailAsync()
>ENDWITH
>
>
>The code is called back-to-back with 2 email messages... one to the end user, a second, different body content, but still HTML to admin staff.
>
>The first email goes through and views properly as HTML, the second comes through with the garbage at the top, and dump of the HTML content.
>
>I've even pre-dumped the values in the "lcBody" to text files to review, and they both look similar, just body captions, names, etc different
>
>Any ideas???
>
>Thanks
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform