Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwsend_mail @ TS 5.5.2
System
Has anybody else come to the following:
When using Teamsite 5.5.2 (+ Solaris in our case) , on the workflows we call the $iwhome/bin/iwsend_mail.ipl script to send mails. Well, apparently there was something wrong going on with the e-mails and the external task always got blocked (as when it cannot deliver mail or an error on the command occurs). Well after 2-3 days investigating (perl -d), looking at all possible configurations, I found this on the aforementioned script (line 105 of the script):
# Treat debug_output=yes the same as =true.
if ($hash{um} eq 'yes') { $hash{um} = 'true'; }
die("$0: Required configuration parameter missing.\n",
"\tPlease see documentation.\n")
if (!defined($hash{md})||!defined($hash{ms})||!defined $hash{um})||
(!defined($hash{mf}) && ($hash{um} eq 'true')));
well as you can see, the script would ALWAYS die, no matter which parameters you entered... so as a test I just commented the DIE part, and guess what?? it works now!!
If any of the Teamsite guys is looking at this, could you shed any light on this??? the version string: 5.5.2 Build 10716 SYM Interwoven 20020811
Find more posts tagged with
Comments
Migrateduser
That's not exactly true that it would die no matter what. If you look at the statement:
die("$0: Required configuration parameter missing.\n", "\tPlease see documentation.\n") if (!defined($hash{md}) || !defined($hash{ms}) || !defined $hash{um}) || (!defined($hash{mf}) && ($hash{um} eq 'true')));
It will die under the following condition:
The "md" OR "ms" OR "um" params are not entered OR (the "mf" param is not entered AND "um" is TRUE).
You must have failed that statement. Are you sure you have all the required parameters entered?
For your information, here's how those acronyms map to real data:
'md' => get_config("iwsend_mail", "maildomain"),
'ms' => get_config("iwsend_mail", "mailserver"),
'um' => get_config"iwsend_mail", "use_mapping_file"),
'mf' => get_config"iwsend_mail", "email_mapping_file"),
You'll find all of these items in your iw.cfg file. I believe the Workflow Developer's Guide instructs you on how to enter values for these items.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com