EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01321
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10
- From: Florian Heß <hess@ub.uni-heidelberg.de>
- Date: Tue, 20 Nov 2012 17:19:34 +0100
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/
- References:
- [EP-tech] NET::SMTP needs Hello in EPrints 3.3.10
- From: "Schallehn, Volker" <volker.schallehn@ub.uni-muenchen.de>
- [EP-tech] NET::SMTP needs Hello in EPrints 3.3.10
- Prev by Date: [EP-tech] Re: Exporting a .zip file
- Next by Date: [EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10
- Previous by thread: [EP-tech] NET::SMTP needs Hello in EPrints 3.3.10
- Next by thread: [EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10
- Index(es):