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

how can you do that while your running on shared server with restrictions and limited privileges on server

so all send mail modules use -t to call send mail option

Replies are listed 'Best First'.
Re^3: send email module
by gnosti (Chaplain) on Aug 28, 2020 at 21:18 UTC
    How about this:

    PATH={trustworthy:path} sendmail_script <ARGS>

      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

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