Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: problem sending mail

by soonix (Canon)
on Aug 05, 2020 at 19:03 UTC ( #11120346=note: print w/replies, xml ) Need Help??

in reply to problem sending mail

policy of your email provider, see also (not a Perl problem)

perhaps they check only part of the username, and you use the wrong TLD (, or maybe it's not exactly the same address, because of a typo or an invisible-and/or-unicode character

Replies are listed 'Best First'.
Re^2: problem sending mail
by Anonymous Monk on Aug 05, 2020 at 19:28 UTC

    With powershell i can send a mail. on port 587, using SSL, like so:

    $from = "" $to = "" $subj = "test PShell." $body = "boddy" $server = "" $port = "587" Send-MailMessage -From $from -To $to -Subject $subj -body $body -SmtpS +erver $server -Port $port -UseSsl -Credential (Get-Credential)

    Surely i can do the same with Perl!

      Surely i can do the same with Perl!

      Certainly, and the fact that you're having trouble doing so means there is some difference between the command that works and the one that doesn't, so you'll have to figure out what the differences between the two are. (Consider comparing a successful transaction and an unsuccessful one with Wireshark.)

      on port 587, using SSL

      Well, that's at least one difference between the code in the root node.

      You might want to give the more modern Email::* modules by RJBS a try, for example see Email::Sender::Manual::QuickStart.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2021-02-26 15:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found