Re: Knowing the server port inside Perl code

2018-05-02 Thread Maxim Dounin
Hello! On Tue, May 01, 2018 at 08:47:15AM +0200, Ondrej Jombik wrote: > When using mail module for SMTP and doing auth using Perl code, it might > be handy to know entry port number. For example 25/TCP, 465/TCP or > 587/TCP; those are the most used ones. > > I thought this would be somewhere

Knowing the server port inside Perl code

2018-05-01 Thread Ondrej Jombik
When using mail module for SMTP and doing auth using Perl code, it might be handy to know entry port number. For example 25/TCP, 465/TCP or 587/TCP; those are the most used ones. I thought this would be somewhere among provided headers: $request->header_in('Auth-Method');