Int 92 Fn E108 - Da Vinci Email Dispatcher - "netwrite" [e]

AX = E108h
BX = size of parameter block in words (0004h)
CX:DX -> parameter block (see #3654)

Return: AX = amount written
Desc: This function is used to write transactions to the dispatcher.
The command block is written first and then another call is used
to write the associated data.

See Also: AX=E106h

Format of Da Vinci eMail "NetWrite" parameter block:
Offset Size Description (Table 3654)
00h WORD buffer count (see #3656)
02h WORD segment of command buffer (see #3655)
04h WORD offset of command buffer
06h WORD handle from NetOpen

Format of Da Vinci eMail command buffer:
Offset Size Description (Table 3655)
00h BYTE command
21h '!' Protocol commands for remote control
41h 'A' Authorization protocol element
42h 'B' Return(back) routing information
Associated data is the From: username
43h 'C' Carbon Copy list
Associated data is a comma delimitted list of usernames
44h 'D' Distribution list
Associated data is a comma delimitted list of usernames
45h 'E' Mail end marker
No associated data
48h 'H' Mail message header
Associated data is a message header buffer
4Dh 'M' Mail message
Associated data is the body of the message
4Fh 'O' Object
50h 'P' Paperclip attachment
52h 'R' Routing information
Associated data is the To: username
53h 'S' Subject
Associated data is the subject of the message
54h 'T' Trail of Reply/Forwards
01h BYTE subcommand
02h DWORD length of associated data

Format of Da Vinci eMail message header buffer:
Offset Size Description (Table 3656)
00h 30 BYTEs subject line
1Eh 24 BYTEs To
36h 24 BYTEs From
4Eh DWORD Time
BYTE 00h
BYTE hour
BYTE minute
BYTE second
52h DWORD Date
BYTE 00h
BYTE year
BYTE month
BYTE day
56h DWORD serial number (00000000h)
5Ah WORD mail types (see #3657)
5Ch WORD special types (0)

Bitfields for Da Vinci eMail mail types:
Bit(s) Description (Table 3657)
7 blind carbon copy
6 carbon copy
5 priority
4 confidential
3 certified
2 bulk
1-0 class (first, second, third, bulk)