Raziel 0 Posted July 21, 2011 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
Jos 2,209 Posted July 21, 2011 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
Raziel 0 Posted July 21, 2011 "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