Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send HTML message using mswinsck.ocx?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00848604
Message ID:
00848973
Views:
18
Hi Brian,

Thank you for the advice.  I tried to send a multipart email using the following:

MIME-Version: 1.0 CRLF
Content-Type: multipart/mixed; CRLF
 boundary = "part1" CRLF  *** there is a space before boundary
CRLF
--part1 CRLF
Content-Type: text/html; CRLF
CRLF
<HTML><b>1st test body</b> CRLF
CRLF
--part1 CRLF
Content-Type: text/plain; CRLF
CRLF
2nd test body CRLF
CRLF
--part1-- CRLF
CRLF.CRLF

The email I got looks like this:
--part1
Content-Type: text/html;
<HTML><b>1st test body</b>

--part1
Content-Type: text/plain;
2nd test body

--part1--

I hope you can tell me what I have done wrong.

My project is to send smtp email with text which will be formatted using html and a jpeg file.


Thank you for your help,

Peter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform