Name

MV_MAILFROM — specifies the default sender e-mail address when SMTP is used to send mail

SYNOPSIS

{ user name | e-mail address }

DESCRIPTION

If SMTP is used to send mail from Interchange, this variable specifies the default sender e-mail address.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example: Setting the MV_MAILFROM variable

Add the following to interchange.cfg:

Variable MV_MAILFROM interchange

NOTES

AVAILABILITY

MV_MAILFROM is available in Interchange versions:

4.8.0

SOURCE

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) {

AUTHORS

Interchange Development Group

SEE ALSO

MailOrderTo(7ic), MV_HELO(7ic), MV_SMTPHOST(7ic)

DocBook! Interchange!