Send email from Lawson Unix app to Outlook

Sort:
You are not authorized to post a reply.
Author
Messages
Karl Kemp
Basic Member
Posts: 20
Basic Member
    Anyone ever put code in a Unix Cobol app to send an email notification to Outlook or Groupwise?

    It seems like in a previous life I did this in a custom Lawson app, but now I can't find my notes on it.

    Any ideas?
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      See https://www.danalytics.co.../archive/2004-12.htm
      In the article on post-processing, there is a script for using sendmail via Unix.
      Thanks for using the LawsonGuru.com forums!
      John
      Sam Simpson
      Veteran Member
      Posts: 239
      Veteran Member
        I have created lots of scripts that send email and attachments, ftps and
        other scripts for moving, archiving or renaming files. These scripts can be called by 4GL(cobol) or BCI.
        Karl Kemp
        Basic Member
        Posts: 20
        Basic Member
          quick follow-up question:

          if i'm wanting to call a script, which is named:

          audit_email.ksh

          do I populate ws-command with:

          STRING "./$SCRPDIR/adminS/audit_email.ksh"
          DELIMITED BY SIZE INTO WS-COMMAND.

          wasn't sure if I needed to pass the ./

          thanks!
          Sam Simpson
          Veteran Member
          Posts: 239
          Veteran Member
            You really don't have to use the path. Move your script to
            $CCSDIR/bin and make sure to give full access(777) to the script.

            STRING "audit_email.ksh" DELIMITED BY SIZE INTO WS-COMMAND.
            You are not authorized to post a reply.