bdb4269 Posted October 23, 2007 Posted October 23, 2007 I am looking for a function like _INetSmtpMail but that supports SMTP authentication. (or if someone could tell me a smtp server that doest require authentication (do those even exist on the public internet anymore?!?))Also, I was wondering if there is a function like InetGet -- but that lets you upload files to an FTP site?
evilertoaster Posted October 23, 2007 Posted October 23, 2007 (edited) SMTP doesn't require authnetication by itself. The extension SMTP AUTH allows server to do this.If you look in the source for the _INetSmtpMail () function you'll see where it creates starts setting up the SMTP session-$s_Send[0] = "HELO " & $s_helo & @CRLF If StringLeft($s_helo,5) = "EHLO " Then $s_Send[0] = $s_helo & @CRLF $s_ReplyCode[0] = "250" $s_Send[1] = "MAIL FROM: <" & $s_FromAddress & ">" & @CRLF $s_ReplyCode[1] = "250" $s_Send[2] = "RCPT TO: <" & $s_ToAddress & ">" & @CRLF $s_ReplyCode[2] = "250" $s_Send[3] = "DATA" & @CRLF $s_ReplyCode[3] = "354"Here is where you could add your AUTH command. (64 bit encoded, see qmail.jms1.net/test-auth.shtml for more detials on syntax, or Here if your using IE and the site wont let you through) Edited October 23, 2007 by evilertoaster
BrettF Posted October 23, 2007 Posted October 23, 2007 Search for FTP.au3 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!
bdb4269 Posted October 23, 2007 Author Posted October 23, 2007 I need to remember to search before posting!!!Link to FTP.au3http://www.autoitscript.com/forum/index.ph...p;hl=ftp+uploadLink to thread for updated _INetSmtpMail to include SMTP AUTHhttp://www.autoitscript.com/forum/index.ph...st&p=148460
Developers Jos Posted October 23, 2007 Developers Posted October 23, 2007 Look for _INetSmtpMailCom() function i posted in the Examples forum ... 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.
bdb4269 Posted October 23, 2007 Author Posted October 23, 2007 A couple more questions about ftp. Is there a way to make it use pasv mode? Also, are there any UDF's that support FTP over TLS?
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