🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mime
Article #152

Re: mime problems with exchange.

#152
From: Kari E. Hurtta
Date: Sun, 09 Apr 2000 00:00
56 lines
2729 bytes
In article <8F118FF97033084667@192.116.202.48> 
yaronm@nikuv.co.il (Yaron munz) writes:

> 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

Note that CRLF before delimiter line is part of delimiter
and headers end to empty line (only CRLF on line). So net
result is that you need two empty lines on here:

Content-Disposition: inline


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


First empty line ends headers.
And second emty line provides CRLF (or EOLN) 
what is needed for delimiter between body parts.


/ Kari Hurtta
Technical Details
Message-ID: <dpem8f8j31.fsf@ozone.fmi.fi>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8F118FF97033084667@192.116.202.48>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100bbf,c30b3dc94deff843
X-Google-Attributes: gid100bbf,public
X-Google-Thread: 10381e,c30b3dc94deff843
X-Google-Attributes: gid10381e,public
X-Google-Thread: 10085b,c30b3dc94deff843
X-Google-Attributes: gid10085b,public
From: "Kari E. Hurtta" <hurtta+usenet @ozone.FMI.FI>
Subject: Re: mime problems with exchange.
Date: 2000/04/09
Message-ID: <dpem8f8j31.fsf@ozone.fmi.fi>
X-Deja-AN: 608704673
References: <8F118FF97033084667@192.116.202.48>
Followup-To: comp.mail.mime
X-Complaints-To: usenet@newsread2.funet.fi
X-Trace: newsread2.funet.fi 955289186 20587 193.166.223.16 (9 Apr 2000 14:06:26 GMT)
Organization: Finnish Meteorological Institute (FMI)
NNTP-Posting-Date: 9 Apr 2000 14:06:26 GMT
Newsgroups: comp.mail.mime,hactar.mime,fj.net.mime