Name

MV_HELO — the HELO string to send when using SMTP to send mail

SYNOPSIS

{host name}

DESCRIPTION

If SMTP is used to send mail, MV_HELO variable specifies the HELO string to present to the remote system.

VARIABLE TYPE

Global variable

EXAMPLES

Example: Using SMTP to send mail and setting a HELO string

Add the following to interchange.cfg:

SendMailProgram Net::SMTP
Variable MV_HELO myhost.mydomain.local

NOTES

AVAILABILITY

MV_HELO is available in Interchange versions:

4.8.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Util.pm (rev. 2.120 from Sat Sep 27 00:01:21 2008)
Line 2006 (context shows lines 1996-2010 in send_mail():1899)

  or last SEND;
print MVMAIL Vend::Interpolate::do_tag('mime boundary') . '--'
if $use_mime;
print MVMAIL "\r\n\cZ" if $Global::Windows;
close MVMAIL or last SEND;
$ok = ($? == 0);
}

SMTP: {
my $mhost = $::Variable->{MV_SMTPHOST} || $Global::Variable->{MV_SMTPHOST};
my $helo =  $Global::Variable->{MV_HELO} || $::Variable->{SERVER_NAME};
last SMTP unless $none and $mhost;
eval {
require Net::SMTP;
  };

Source: lib/Vend/Email.pm (rev. 1.11 from Sat Dec 29 06:03:43 2007)
Line 668 (context shows lines 658-672 in send_mail_legacy():561)

  or last SEND;
print MVMAIL Vend::Interpolate::do_tag('mime boundary') . '--'
if $use_mime;
print MVMAIL "\r\n\cZ" if $Global::Windows;
close MVMAIL or last SEND;
$ok = ($? == 0);
}

SMTP: {
my $mhost = $::Variable->{MV_SMTPHOST} || $Global::Variable->{MV_SMTPHOST};
my $helo =  $Global::Variable->{MV_HELO} || $::Variable->{SERVER_NAME};
last SMTP unless $none and $mhost;
eval {
require Net::SMTP;
  };

AUTHORS

Interchange Development Group

SEE ALSO

MV_MAILFROM(7ic), MV_SMTPHOST(7ic)

DocBook! Interchange!