yehia Posted July 25, 2008 Share Posted July 25, 2008 i always get code error 4 dont know y #include <INet.au3> $s_SmtpServer = "plus.smtp.mail.yahoo.com" $s_FromName = "die" $s_FromAddress = "yehia_serag@yahoo.com" $s_ToAddress = "yehia_serag@yahoo.com" $s_Subject = "Testing" Dim $as_Body[2] $as_Body[0] = "Testing the new email udf" $as_Body[1] = "Second Line" $Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body) $err = @error If $Response = 1 Then MsgBox(0, "Success!", "Mail sent") Else MsgBox(0, "Error!", "Mail failed with error code " & $err) EndIf really need help dont know what to do and plz if anyone can tell me what is yahoo and hot mail smtp servers thanks all My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
Andreik Posted July 25, 2008 Share Posted July 25, 2008 @ERROR = 4 - Unable to create socket Try to change SMTP server. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
yehia Posted July 25, 2008 Author Share Posted July 25, 2008 well i did like tryed everything with the smtp server do u have any servers that i can use? My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
Andreik Posted July 25, 2008 Share Posted July 25, 2008 Try a.mx.mail.yahoo.com When the words fail... music speaks. Link to comment Share on other sites More sharing options...
yehia Posted July 25, 2008 Author Share Posted July 25, 2008 thanks alot but it didnt work cant get any smtp server for yahoo or hotmail My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
BrettF Posted July 26, 2008 Share Posted July 26, 2008 Have you paid to be able to access the SMTP server?It is my understanding that you have to update your subscription type.http://billing.mail.yahoo.com/bm/Upgradeshttp://email.about.com/od/windowslivehotma..._pop_access.htmJust use GMAIL if you want to send mail, check out this post, #547253 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
yehia Posted July 26, 2008 Author Share Posted July 26, 2008 gmail worked for me yesterday but now they like banned my mail like iam doin something illeagal and even with creating new mails it dont work any one got hints? My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
BrettF Posted July 26, 2008 Share Posted July 26, 2008 Pay for hotmail/yahoo.... If they've banned your mail, there is nothing we can do about it... If you are doing something illegal, please reconsider... Malicious code gives AutoIt a bad name, you've only got to see the volume of threads saying, "false positive..." Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
yehia Posted July 27, 2008 Author Share Posted July 27, 2008 If you are doing something illegal, please reconsider... Malicious code gives AutoIt a bad name, you've only got to see the volume of threads saying, "false positive..."no way iam doing anything that can harm autoit i love it and i love its community thanks for ur helpful replay My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
Confuzzled Posted August 1, 2008 Share Posted August 1, 2008 no way iam doing anything that can harm autoit i love it and i love its community thanks for ur helpful replay$s_FromName = "die"$s_FromAddress = "yehia_serag@yahoo.com"Yeah right! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now