#g4msmail_init

      *//////////////////////////////////////////////////////////////*
      * #g4msmail_init - Initialize G4MSMAIL                         *
      *//////////////////////////////////////////////////////////////*
     D #g4msmail_init...
     D                 PR            10i 0
     D  out_errMsg                  256    Options(*NOPASS)

#g4msmail_init() is used to initialize G4MSMAIL before calling anything.  This is not required, but it is a good idea to use before starting a new G4MSMAIL application.

Returns: 0 for success, -1 for error.

Optional Parameters:
  • Error Message (output) - Error message
Comments