in reply to Re^3: send email module
in thread send email module

thanks, i solved my problem with this

$ENV{'PATH'} = '/usr/sbin/sendmail';

tho i never thought that all mail modules use -t command for mail sending, thats why i asked if there any module which dont use -t command for mail sending

Replies are listed 'Best First'.
Re^5: send email module
by jcb (Parson) on Aug 28, 2020 at 23:50 UTC

    The usual recommendation is: $ENV{PATH} = '/bin:/usr/bin';