Jump to content
Sign in to follow this  
Raziel

help with mail script

Recommended Posts

Raziel

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.

Share this post


Link to post
Share on other sites
Raziel

"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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.