Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.7
-
None
Description
Description
When the job [[sos.mail.SOSMailProcessInbox]] is configured with
- mail_action=dump
- mail_dump_dir=path
an exception is thrown.
[ERROR] (Task jade-289/SOSMailProcessInbox:262343) ERROR [main] (SOSMailProcessInbox.java:134) - an error occurred while processing: com.sos.JSHelper.Exceptions.JobSchedulerException: No output directory specified.
Desired behaviour
No exception should be thrown when a valid mail_dump_dir is specified and the mail_action is dump. Instead of this, the value for mail_dump_dir should be used as documented.
Example Job Configuration
<job title="Process email incoming box" order="yes" stop_on_error="no" name="SOSMailProcessInbox"> <settings > <log_level ><![CDATA[debug9]]></log_level> </settings> <description > <include file="jobs/SOSMailProcessInbox.xml"/> </description> <params > <param name="mail_host" value="host"/> <param name="mail_user" value="user"/> <param name="mail_password" value="nikolaus"/> <param name="mail_port" value="110"/> <param name="mail_message_folder" value="INBOX"/> <param name="mail_action" value="dump"/> <param name="mail_dump_dir" value="c:\temp\input"/> <param name="mail_server_type" value="POP3"/> </params> <script language="java" java_class="sos.mail.SOSMailProcessInbox"/> <run_time /> </job>