How can I temporarely modify what sendmail uses as the from e-mail address using Perl?
OS: CentOS
Control Panel: DirectAdmin
I know some instructions on how I could manually modify that, they are at: http://www.sendmail.org/tips/virtual-hosting.php (part 6 and 7).
However I need Perl to be able to modify it temporarely like I can with PHP by using:
ini_set(sendmail_from, '[email protected]');
ini_restore(sendmail_from);
OS: CentOS
Control Panel: DirectAdmin
I know some instructions on how I could manually modify that, they are at: http://www.sendmail.org/tips/virtual-hosting.php (part 6 and 7).
However I need Perl to be able to modify it temporarely like I can with PHP by using:
ini_set(sendmail_from, '[email protected]');
ini_restore(sendmail_from);