[EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10

Schallehn, Volker volker.schallehn at ub.uni-muenchen.de
Tue Nov 20 16:45:08 GMT 2012

Florian, yes you are right, of course I meant EPrints::Email. Sorry for the confusion.

Best regards,

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Florian Heß
Sent: Tuesday, November 20, 2012 5:20 PM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10

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

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

More information about the Eprints-tech mailing list