MV_MAILFROM — specifies the default sender e-mail address when SMTP is used to send mail
If SMTP is used to send mail from Interchange, this variable specifies the default sender e-mail address.
Example: Setting the MV_MAILFROM variable
Add the following to interchange.cfg:
Variable MV_MAILFROM interchange
Interchange 4.8.0:
Source: lib/Vend/Util.pm (rev. 2.1.2.14 from Mon Dec 15 22:25:30 2003)
Line 2037 (context shows lines 2027-2041 in send_mail():1941)
last SMTP if $@;
$ok = 0;
$using = "Net::SMTP (mail server $mhost)";
#::logDebug("using $using");
undef $none;
my $smtp = new Net::SMTP $mhost;
$smtp->hello($helo) if $helo;
#::logDebug("smtp object $smtp");
my $from = $::Variable->{MV_MAILFROM}
|| $Global::Variable->{MV_MAILFROM}
|| $Vend::Cfg->{MailOrderTo};
for(@extra_headers) {