01-21-2018, 02:03 PM
Yea I been testing few other things out like hardcoding some values in the sendemail command and also checked my NCONF I see my email under contacts I do see its set. I also see the configuration set in the contacts.cfg/resources.cfg. Maybe its the order that its configured? Now under NCONF in contact it has a email address it doesnt say to or from address.
[1516557409.419756] [256.0] [pid=26315] Embedded perl successfully compiled /usr/local/bin/sendEmail and returned plugin handler (Perl subroutine code ref)
[1516557409.628490] [256.0] [pid=29843] Embedded perl ran command /usr/local/bin/sendEmail with output 3, Jan 21 12:56:49 nems p1.pl[29843]: WARNING - The argument after -s was not the server!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xu was not valid username!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xp was not valid password!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -f was not an email address!
Jan 21 12:56:49 nems p1.pl[29843]: ERROR => You must specify a 'from' field! Try --help.
**ePN /usr/local/bin/sendEmail: "print() on closed filehandle LOGFILE at (eval 1) line 1137,".
[1516557409.631259] [256.1] [pid=26315] Execution time=0.211 sec, early timeout=0, result=3, output=Jan 21 12:56:49 nems p1.pl[29843]: WARNING - The argument after -s was not the server!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xu was not valid username!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xp was not valid password!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -f was not an email address!
Jan 21 12:56:49 nems p1.pl[29843]: ERROR => You must specify a 'from' field! Try --help.
[1516557409.419756] [256.0] [pid=26315] Embedded perl successfully compiled /usr/local/bin/sendEmail and returned plugin handler (Perl subroutine code ref)
[1516557409.628490] [256.0] [pid=29843] Embedded perl ran command /usr/local/bin/sendEmail with output 3, Jan 21 12:56:49 nems p1.pl[29843]: WARNING - The argument after -s was not the server!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xu was not valid username!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xp was not valid password!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -f was not an email address!
Jan 21 12:56:49 nems p1.pl[29843]: ERROR => You must specify a 'from' field! Try --help.
**ePN /usr/local/bin/sendEmail: "print() on closed filehandle LOGFILE at (eval 1) line 1137,".
[1516557409.631259] [256.1] [pid=26315] Execution time=0.211 sec, early timeout=0, result=3, output=Jan 21 12:56:49 nems p1.pl[29843]: WARNING - The argument after -s was not the server!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xu was not valid username!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -xp was not valid password!
Jan 21 12:56:49 nems p1.pl[29843]: WARNING => The argument after -f was not an email address!
Jan 21 12:56:49 nems p1.pl[29843]: ERROR => You must specify a 'from' field! Try --help.