🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mime
Article #151

mime problems with exchange.

#151
From: Yaron munz
Date: Sun, 09 Apr 2000 00:00
52 lines
2419 bytes
Hi.

I'm developing an application that can send "raw" SMTP message with MIME to 
exchange server.  (version is : Microsoft Exchange Internet Mail Connector 
4.0.993.5)

1. i dont have problems sending non-mime (text only) message : the text 
apears ok in outlook/inbox. (as regular text no attachemnt).

2. when tring to attach a file (mime) using base64 encoding, the file comes 
OK, but i am NOT ABLE to make additional text to appear as non-attachment 
in the message. also the 1st text boundry ("TEST LINE 1") is ignored !!!
My result is a message that have 3 files attached : 
    	a. the text that i write ("TEST LINE 2")
    	b. the binary (or any) file a attach with base64 encoding.
    	c. a message.txt with all data inside incl. header !!!

pls advs whats wrong here, and how can i solve my problem !
thanks in advance,
Yaron


Here is the lines that i send (between the <DATA> and the <.> commands :
------------------------------------------------------------------------
Date: 09 Apr 2000 12:51:40 GMT
From: YARON MUNZ
To: yaronm@nikuv.co.il
Subject: SUBJECT
MIME-Version: 1.0
Content-type: multipart/mixed; boundary="----_=_NextPart_001"
Content-Disposition: inline

------_=_NextPart_001
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline

TEST LINE 1

------_=_NextPart_001
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline

TEST LINE 2

------_=_NextPart_001
Content-type: application/octet-stream; name="SCHEMA.INI"
Content-Disposition: attachment; filename="SCHEMA.INI"
Content-transfer-encoding: base64

<...here comes base64 encoded data...>

------_=_NextPart_001
Technical Details
Message-ID: <8F118FF97033084667@192.116.202.48>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100bbf,c30b3dc94deff843,start
X-Google-Attributes: gid100bbf,public
X-Google-Thread: 10085b,c30b3dc94deff843,start
X-Google-Attributes: gid10085b,public
X-Google-Thread: 10381e,c30b3dc94deff843,start
X-Google-Attributes: gid10381e,public
From: yaronm@nikuv.co.il (Yaron munz)
Subject: mime problems with exchange.
Date: 2000/04/09
Message-ID: <8F118FF97033084667@192.116.202.48>
X-Deja-AN: 608665232
X-Complaints-To: abuse@inter.net.il
X-Trace: news3.inter.net.il 955278042 4196 192.114.163.66 (9 Apr 2000 11:00:42 GMT)
Organization: Nikuv
User-Agent: Xnews/03.03.12
NNTP-Posting-Date: 9 Apr 2000 11:00:42 GMT
Newsgroups: comp.mail.mime,hactar.mime,fj.net.mime