Name

MV_SMTP_TIMEOUT —

SYNOPSIS

DESCRIPTION

VARIABLE TYPE

Global variable,
Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

MV_SMTP_TIMEOUT is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Email.pm
Line 444 (context shows lines 434-448 in tag_mime_lite_email():91)

#

# Configure Net::SMTP sending if that is requested..
if ( $using =~ /^Net::SMTP$/i ) {
# Unlike in previous implementations in IC, MV_SMTPHOST is not required.
# (Net::SMTP gets to figure out the host).
my $smtphost = $::Variable->{MV_SMTPHOST} ||
$Global::Variable->{MV_SMTPHOST};

my $timeout = $::Variable->{MV_SMTP_TIMEOUT} ||
$Global::Variable->{MV_SMTP_TIMEOUT} || 60;

MIME::Lite->send('smtp', $smtphost ?
    ($smtphost, $timeout) :
      ($timeout) );

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!