000010     *> MicroFocus COBOL
000020     *> SMTP/POP3 Email Engine (SEE) Library Declarations Ver 3.1
000040     *>
000060     SYMBOLIC CONSTANT
000070       SEE_MIN_RESPONSE_WAIT IS  1
000080       SEE_MAX_RESPONSE_WAIT IS  2
000090       SEE_CONNECT_WAIT      IS  3
000100       SEE_DISABLE_MIME      IS  4
000110       SEE_MIN_LINE_WAIT     IS  5
000120       SEE_MAX_LINE_WAIT     IS  6
000130       SEE_QUOTED_PRINTABLE  IS  8
000140       SEE_AUTO_CALL_DRIVER  IS  9
000150       SEE_FILE_PREFIX       IS 10
000160       SEE_MAX_SMTP_WAIT     IS 11
000170       SEE_MAX_POP3_WAIT     IS 12
000180       SEE_SLEEP_TIME        IS 13
000190       SEE_DECODE_UNNAMED    IS 14
000200       SEE_SMTP_PORT         IS 15
000210       SEE_POP3_PORT         IS 16
000220       SEE_MAX_LINE_LENGTH   IS 17
000222       SEE_ALLOW_8BITS       IS 19
000224       SEE_LOG_FILE          IS 20
000226       SEE_HIDE_SAVED_MSG    IS 21
000228       SEE_HIDE_TO_ADDR      IS 22
000250       SEE_GET_ERROR_TEXT    IS  1
000260       SEE_GET_COUNTER       IS  2
000270       SEE_GET_RESPONSE      IS  3
000280       SEE_GET_SOCK_ERROR    IS  4
000290       SEE_GET_MESSAGE_BYTES_READ  IS 10
000300       SEE_GET_ATTACH_BYTES_READ   IS 11
000310       SEE_GET_TOTAL_BYTES_READ    IS 12
000320       SEE_GET_MESSAGE_BYTES_SENT  IS 13
000330       SEE_GET_ATTACH_BYTES_SENT   IS 14
000340       SEE_GET_TOTAL_BYTES_SENT    IS 15
000350       SEE_GET_VERSION             IS 16
000360       SEE_GET_MSG_COUNT           IS 17
000370       SEE_GET_MSG_SIZE            IS 18
000380       SEE_GET_BUFFER_COUNT        IS 19
000390       SEE_GET_CONNECT_STATUS      IS 20
000400       SEE_GET_REGISTRATION        IS 21
000410       SEE_GET_ATTACH_COUNT        IS 22
000420       SEE_GET_LAST_RESPONSE       IS 23
000430       SEE_GET_VERIFY_STATUS       IS 24
000440       SEE_GET_SERVER_IP           IS 25
000450       SEE_GET_BUILD               IS 26
000460       SEE_GET_SOCKET              IS 27
000470       SEE_GET_LOCAL_IP            IS 28
000480       SEE_SET_REPLY               IS 50
000490       SEE_SET_HEADER              IS 51
000500       QUOTED_OFF                  IS 0
000510       QUOTED_PLAIN                IS 1
000520       QUOTED_HTML                 IS 2
000525       QUOTED_RICH                 IS 3.
000530     *>  
000540     *>
000550     *> CALL dynamicNTStdCall "seeAttach" USING
000560     *>   BY VALUE NBR_CHANS      *> number of channels
000570     *>   BY VALUE KEY_CODE       *> SEE key code
000580     *> RETURNING RET_VALUE
000590     *>
000600     *> CALL dynamicNTStdCall "seeClose" USING 
000610     *>   BY VALUE CHANNEL        *> channel
000620     *> RETURNING RET_VALUE
000630     *>
000640     *> CALL dynamicNTStdCall "seeDebug" USING 
000650     *>   BY VALUE CHANNEL        *> channel
000660     *>   BY VALUE INDEX          *> command index
000670     *>   BY VALUE BUFFER_PTR     *> resultant buffer
000680     *>   BY VALUE BUFLEN         *> buffer length
000690     *> RETURNING RET_VALUE
000700     *>
000710     *> CALL dynamicNTStdCall "seeDecodeBuffer" USING
000720     *>   BY VALUE CODED_BUF_PTR  *> buffer of base64 chars
000730     *>   BY VALUE CLEAR_BUF_Ptr  *> buffer for decoded chars
000740     *>   BY VALUE BUFLEN         *> buffer length
000750     *>
000760     *> CALL dynamicNTStdCall "seeDeleteEmail" USING
000770     *>   BY VALUE CHANNEL        *> channel
000780     *>   BY VALUE MSG_NBR        *> message number (1,2,...)
000790     *>
000800     *> CALL dynamicNTStdCall "seeDriver" USING
000810     *>   BY VALUE CHANNEL        *> channel
000820     *> RETURNING RET_VALUE
000830     *>
000840     *> CALL dynamicNTStdCall "seeEncodeBuffer" USING
000850     *>   BY VALUE CLEAR_BUF_PTR  *> buffer of chars to encode
000860     *>   BY VALUE CODED_BUF_PTR  *> buffer for base64 encoded
000870     *>   BY VALUE BUFLEN         *> buffer length
000880     *>
000890     *> CALL dynamicNTStdCall "seeErrorText" USING 
000900     *>   BY VALUE CHANNEL        *> channel
000910     *>   BY VALUE CODE           *> error code     
000930     *>   BY VALUE BUFFER_PTR     *> resultant buffer
000940     *>   BY VALUE BUFLEN         *> buffer length
000950     *> RETURNING RET_VALUE
000960     *>
000962     *> CALL dynamicNTStdCall "seeExtractLine" USING 
000964     *>   BY VALUE SOURCE_PTR     *> source buffer
000966     *>   BY VALUE LINE           *> line number (1,2,...)
000968     *>   BY VALUE BUFFER_PTR     *> resultant buffer
000970     *>   BY VALUE BUFLEN         *> buffer length
000972     *> RETURNING RET_VALUE
000974     *>
000976     *> CALL dynamicNTStdCall "seeExtractText" USING 
000978     *>   BY VALUE SOURCE_PTR     *> source buffer
000990     *>   BY VALUE TEXT_PTR       *> text to match
001000     *>   BY VALUE BUFFER_PTR     *> resultant buffer
001010     *>   BY VALUE BUFLEN         *> buffer length
001020     *> RETURNING RET_VALUE
001030     *>
001040     *> CALL dynamicNTStdCall "seeGetEmailCount" USING 
001050     *>   BY VALUE CHANNEL        *> channel
001060     *> RETURNING RET_VALUE
001070     *>
001080     *> CALL dynamicNTStdCall "seeGetEmailFile" USING 
001090     *>   BY VALUE CHANNEL        *> channel
001100     *>   BY VALUE MSG_NBR        *> message number (1,2,...)
001110     *>   BY VALUE EMAIL_NAME_PTR *> email filename
001120     *>   BY VALUE EMAIL_DIR_PTR  *> email directory
001130     *>   BY VALUE ATTACH_DIR_PTR *> attachment directory
001140     *> RETURNING RET_VALUE
001150     *>
001160     *> CALL dynamicNTStdCall "seeGetEmailLines" USING 
001170     *>   BY VALUE CHANNEL        *> channel
001180     *>   BY VALUE MSG_NBR        *> message number (1,2,...)
001190     *>   BY VALUE NBR_LINES      *> # lines after headers
001200     *>   BY VALUE BUFFER_PTR     *> resultant buffer
001210     *>   BY VALUE BUFLEN         *> buffer length
001220     *> RETURNING RET_VALUE
001230     *>
001240     *> CALL dynamicNTStdCall "seeGetEmailSize" USING 
001250     *>   BY VALUE CHANNEL        *> channel
001260     *>   BY VALUE MSG_NBR        *> message number (1,2,...)
001270     *> RETURNING RET_VALUE
001280     *>
001290     *> CALL dynamicNTStdCall "seeGetEmailUID" USING 
001300     *>   BY VALUE CHANNEL        *> channel
001310     *>   BY VALUE MSG_NBR        *> message number (1,2,...)
001320     *>   BY VALUE BUFFER_PTR     *> resultant buffer
001330     *>   BY VALUE BUFLEN         *> buffer length
001340     *> RETURNING RET_VALUE
001350     *>
001360     *> CALL dynamicNTStdCall "seeIntegerParam" USING 
001370     *>   BY VALUE CHANNEL        *> channel
001380     *>   BY VALUE INDEX          *> parameter index
001390     *>   BY VALUE VALUE          *> parameter value
001400     *> RETURNING RET_VALUE
001410     *> 
001420     *> CALL dynamicNTStdCall "seePop3ConnectTo" USING
001430     *>   BY VALUE CHANNEL          *> channel
001440     *>   BY VALUE POP3_SERVER_PTR  *> POP3 server name
001450     *>   BY VALUE POP3_USER_PTR    *> User name
001460     *>   BY VALUE POP3_PASS_PTR    *> Password
001470     *> RETURNING RET_VALUE
001480     *>
001490     *> CALL dynamicNTStdCall "seeRelease" 
001500     *> RETURNING RET_VALUE
001510     *>
001520     *> CALL dynamicNTStdCall "seeSendEmail" USING
001530     *>   BY VALUE CHANNEL          *> channel
001540     *>   BY VALUE EMAIL_TO_PTR     *> receipient
001550     *>   BY VALUE IS_ZERO_PTR      *> no CC list
001560     *>   BY VALUE IS_ZERO_PTR      *> no BCC list
001570     *>   BY VALUE EMAIL_SUBJ_PTR   *> email subject
001580     *>   BY VALUE EMAIL_MSG_PTR    *> text of message
001590     *>   BY VALUE ATTACHMENT_PTR   *> no attachment
001600     *> RETURNING RET_VALUE
001610     *> 
001620     *> CALL dynamicNTStdCall "seeSmtpConnectTo" USING
001630     *>   BY VALUE CHANNEL          *> channel 
001640     *>   BY VALUESMTP_SERVER_PTR   *> SMTP server name
001650     *>   BY VALUEEMAIL_FROM_PTR    *> sender's email address
001660     *>   BY VALUEREPLY_TO_PTR      *> Reply_To header
001670     *> RETURNING RET_VALUE
001680     *>
001690     *> CALL dynamicNTStdCall "seeStatistics" USING
001700     *>   BY VALUE CHANNEL          *> channel 
001710     *>   BY VALUE INDEX            *> parameter name
001720     *> RETURNING RET_VALUE
001730     *>     
001740     *> CALL dynamicNTStdCall "seeStringParam" USING
001750     *>   BY VALUE CHANNEL          *> channel
001760     *>   BY VALUE INDEX            *> parameter name
001770     *>   BY VALUE STRING_PTR       *> parameter string
001780     *> RETURNING RET_VALUE
001790     *> 
001800     *> CALL dynamicNTStdCall "seeVerifyFormat" USING
001810     *>   BY VALUE EMAIL_ADDR_PTR   *> email address
001820     *> RETURNING RET_VALUE
001830     *>
001840     *> CALL dynamicNTStdCall "seeVerifyUser" USING
001850     *>   BY VALUE CHANNEL          *> channel
001860     *>   BY VALUE EMAIL_ADDR_PTR   *> email address
001870     *> RETURNING RET_VALUE
001880     *>