What you need

What you need

  • UNIX, Linux, etc. server
  • Sendmail running on the server
  • Local mailbox on the server
  • Ability to run perl on the server
  • .forward configuration file
  • email_create.pl perl file

Perl Requirements

  • SOAP::Lite (prerequisites http://soaplite.com/prereqs.html)
  • XML::Writer
  • XML::Writer::String
  • Crypt::SSLeay
  • IO::Socket::SSL

Since the script may be doing an HTTPS POST, you will also need port 443 or 80 (HTTP) access from your client to your ServiceNow instance.

Installing the Perl modules

To install Perl modules, you can specify the following command line (you would want to run this for each module)
perl -MCPAN -e 'install SOAP::Lite'
The command above will install the SOAP::Lite package from CPAN. This is an interactive installation process, when prompted for input, just accept the suggested or default response.