I see that I only get feedback if I'm in the freeswitch console not on fs_cli, and yes the from was not populated. now that I get feedback I see that sSMTP doesn't like the "-t" so I took it off and things are working.
Thanks Michael and Kim

On 8/28/2012 3:54 PM, Michael Collins wrote:


On Tue, Aug 28, 2012 at 12:06 PM, Abaci <abaci64@gmail.com> wrote:
Tried anthony's perl sendmail script as the mailer-app and I get the following error:
Can't call method "mail" on an undefined value at /usr/local/src/freeswitch/scripts/perl/sendmail line 36, <STDIN> chunk 1.

Well, at least that's some feedback.
Line 36 appears to be this:
$smtp->mail($from);

I suspect the From: field is not being sent to the mail script because it's not getting populated somewhere. You can try hard-coding the $from variable for an ad-hoc test but I would definitely try to figure out why the field is not being populated in the first place.

-MC


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org