Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending HTML EMail
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
Sending HTML EMail
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01099888
Message ID:
01099888
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform