Page 1 of 1 1
Topic Options
#70244 - 2002-09-24 08:04 PM Sending an html file using blat
Netsuper Offline
Getting the hang of it

Registered: 2001-05-17
Posts: 64
Loc: Edwards AFB, CA, US
Hey all,
I'm using a script to send an html file using blat to MS Outlook 2k on exchange. OL2k has the ability to send and receive in html, but when I send the blat via smtp, the message body displays the html code as well as the text.

Is there any way to tell blat (or smtp) that the type of email is html so that it displays the html as a web page?
_________________________
Scott Hickerson Network Design Engineer

Top
#70245 - 2002-09-25 09:51 AM Re: Sending an html file using blat
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Yes,
You need to wrap the document in MIME content-type and section codes.

IIRC newer versions of blat include MIME directives - the type you are looking for is "text/html"

+++Update+++
Found this on the blat home page :
quote:
1.9.4 2001.12.12
Speed up to processing of messages with mime/html/enriched attachments
Add quotes around 'boundary' fields


Top
#70246 - 2002-09-29 04:40 PM Re: Sending an html file using blat
gwgaston Offline
Fresh Scripter

Registered: 2002-02-06
Posts: 13
With BLAT, just use the -html switch.
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 937 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org