Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: sending email under windows 10

by Perlbotics (Archbishop)
on Jun 28, 2019 at 17:47 UTC ( [id://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 (Chancellor) 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* (Scribe) 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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found