Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: sending email under windows 10

by Perlbotics (Bishop)
on Jun 28, 2019 at 17:47 UTC ( #11102089=note: print w/replies, xml ) Need Help??


in reply to Re^2: sending email under windows 10
in thread sending email under windows 10

Your program used port 25 but now you're telnetting port 587... could that be the problem?

Edit (in response below):

$Message->send_by_smtp('localhost:587'); #-- assuming program runs o +n same host as mailserver # (otherwise also adapt ' +localhost' or try to # set it to '127.0.0.1' +in case of IP6 confusion)

Replies are listed 'Best First'.
Re^4: sending email under windows 10
by afoken (Canon) on Jun 30, 2019 at 10:58 UTC
    port 25 but now you're telnetting port 587

    Generally, mail clients should submit to port 587. Port 25 is more and more restricted to communication between mail servers. See also https://www.mailgun.com/blog/which-smtp-port-understanding-ports-25-465-587 (first Google result).

    Of course, as long as you work in an isolated lab environment, you are free to use port 25 (or, in fact, any port you like). But when it comes to using real world mail servers, use port 587.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re^4: sending email under windows 10
by *alexandre* (Beadle) on Jun 29, 2019 at 12:50 UTC
    My mail server run within the port 587

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11102089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-05-29 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?