home *** CD-ROM | disk | FTP | other *** search
- .se Applications
- .vm 1
- .vi 3
- .rl 2
- .da 07 May, 1993
- .ss rmail.exe
- .sa mail, uuxqt, readnews
-
- rmail provides 3rd party support to the FSUUCP mail mechanism. While FSUUCP
- applications use an internally linked version of rmail, the rmail.exe
- application provides a command-line link to the rmail facility.
-
- The calling convention is:
-
- argv[1] is the recipient of the mail. A valid RFC-822 address is required
- here (or the name of a local mailbox)
-
- argv[2] is the file to read from. This should contain the text of the
- message in addition to all necessary header fields.
-
- argv[3] is the person sending the mail, if local. if there is no argv[3],
- it's mail from offsite
-
- rmail.exe will return the following codes:
-
- #define RMAIL_EXIT_OK 0
-
- // Startup Errors
-
- #define RMAIL_EXIT_ARGC 100 // Invalid number of arguments
- #define RMAIL_EXIT_CONFIG 101 // Unable to load FSUUCP.CFG
-
- // Resolver Errors
-
- #define RMAIL_EXIT_RESOLVE 102 // Unable to understand address
- #define RMAIL_EXIT_INVALID_SITE 103 // Cannot send to next site
- #define RMAIL_EXIT_NO_SMARTHOST 104 // Unable to route to smarthost
- #define RMAIL_EXIT_INVALID_SMARTHOST 105 // smarthost not in systems file
-
- // RMail errors
-
- #define RMAIL_EXIT_NO_SEQ 106 // Cannot generate sequence
- #define RMAIL_EXIT_NO_SEQ_FILE 107 // unable to create seq file
- #define RMAIL_EXIT_OPEN_TEMP 108 // unable to open temp file
- #define RMAIL_EXIT_APPEND_MBOX 109 // unable to append/create mailbox
- #define RMAIL_EXIT_XFILE_CREATE 110 // unable to create X data file
- #define RMAIL_EXIT_XFILE_CLOSE 111 // unable to close X data file
- #define RMAIL_EXIT_CFILE_CREATE 112 // unable to create C data file
- #define RMAIL_EXIT_CFILE_CLOSE 113 // unable to close C data file
- #define RMAIL_EXIT_ID_SOURCE 114 // unable to open ID source file
- #define RMAIL_EXIT_ID_TARGET 115 // unable to create ID target file
- #define RMAIL_EXIT_NULL_SOURCE 116 // empty data file
-