HP3000-L Archives

November 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Emerson, Tom # El Monte" <[log in to unmask]>
Reply To:
Emerson, Tom # El Monte
Date:
Fri, 5 Nov 1999 15:50:40 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Quite some time in the past, I created an MPEX "expression" program to
create files in Microsoft's "file-format API (FFAPI)" to load into our
ms-mail e-mail system.  Turns out this format is fairly close to the
"standard" internet e-mail format, but has a couple of extra fields [well,
TAKING things out is always EASY, right?]

I'm converting the program so it creates "internet" standard files, but I'm
running into a problem -- what to do with the SECOND message received?

Essentially, MS's format was something like this:

VERSION:3.00
FROM:<USER>
TO:<USER>
SUBJECT:<SUBJECT>
TEXT:<SIZE of message in BYTES>
[message]
VERSION:3.00   <--NEXT message begins here

Thus, a file for "import" could hold multiple messages.  My question is how,
if at all, does sendmail differentiate between multiple messages in it's
input stream?  I *thought* that a line beginning with
"From:<user@somewhere>" would indicate a new message and it would break at
that point, but this doesn't appear to be the case.

I also seem to recall a line with a single "." as a message seperator, but
trying that seems to have dropped the second and succeeding messages
entirely.

Or is it simply the case that "sendmail", as defined, ONLY sends <1> message
at a time -- multiple messages requiring multiple invocations of the program
[which seems to be "the unix way"]

Tom Emerson
Sr. Systems Analyst
NDC | e COMMERCE
[log in to unmask]
626-258-4309
626-350-3832 FAX

ATOM RSS1 RSS2