Using CoolSpools in an Apache environment

 

On an iSeries server, CoolSpools uses environmnet variables to enable users to configure functionality. For example the variable 'CS_EMAIL_METHOD' is used to configure how emails are delivered.

When using CoolSpools in an Apache environment, you should be aware that environment variables are not automatically available (like they are with batch and interactive jobs).

You should define any required environment variable in the httpd.conf for the HTTP server instance.

For example:

If you are using CoolSpools SMTP server to deliver emails, the system level environment variable  'CS_EMAIL_METHOD' is set to '*SMTP'. To send an email from the web server, define the environment variable in the httpd.conf for the HTTP server instance

                SetEnv CS_EMAIL_METHOD "*SMTP"