Jump to content

Recommended Posts

Posted

I'm working on a project to send a single mail to a selected group of people. The program is finished but right now only gmail is working ( smtp.gmail.com, port 465) but when i use smtp.live.com with my adnan_elezovic@hotmail.com adress it's not working. It says transfer to smtp failed. I tried port 25 and 587. If someone did something similar please send me the code.

Posted

"Transfer failed to connect to the server"

i used:

$SmtpServer = "smtp.live.com"

$FromName = "adnan_elezovic@hotmail.com"

$FromAddress = "adnan_elezovic@hotmail.com"

$ToAddress = "adnan_elezovic@hotmail.com"

$Subject = "test"

$Body = "test message"

$AttachFiles = ""

$CcAddress = ""

$BccAddress = ""

$Importance = "Normal"

$Username = "adnan_elezovic@hotmail.com"

$Password = "*******"

$IPPort = 25 (tried 587)

$ssl = 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...