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.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Util.pm
Line 2219 (context shows lines 2209-2223 in send_mail():2112)

  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
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!