[EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10
Florian Heß
hess at ub.uni-heidelberg.de
Tue Nov 20 16:19:34 GMT 2012
Am 20.11.2012 11:40, schrieb Schallehn, Volker:
> Hi,
>
> sending Mail via SMTP (EPrints 3.3.10) results in a mail header like
>
> [...]
>
> Received: from localhost.localdomain (unknown [xxx.xxx.xxx.xxx])
>
> [...]
>
[...]
> As a quick and dirty workaround we changed the behavior of
> EPrints::Utils::send_mail_via_smtp (line 160), from
>
> my $smtp = Net::SMTP->new( $smtphost );
>
> to
>
> my $smtp = Net::SMTP->new( $smtphost, Hello => 'my.eprints.domain' );
Thanks for sharing, Herr Schallehn,
guess you are meaning EPrints::Email, not EPrints:Utils.
As we experience requests from users asking whether or when the
confirmation email is sent, this could be our problem, too. We will have
several EPrints instances based on the same installation, so we would
then assign $p{session}->config("host") and reckon that should be
preferred for the sake of robust code on single installations as well.
Kind regards,
Florian Heß
--
UB Heidelberg (Altstadt)
Plöck 107-109, 69117 HD
- Informationstechnik
- WWW-Redaktion
http://www.ub.uni-heidelberg.de/
More information about the Eprints-tech
mailing list