michcio Posted May 16, 2009 Share Posted May 16, 2009 (edited) thanks for this works so much better then the usual _INetSmtpMail func THANK YOU EDIT: Just one thing I wonder.. the mail seems to get sent from $Username no mether what $FromAddress I choose...am I doing something wrong? cheers Edited May 17, 2009 by michcio Link to comment Share on other sites More sharing options...
froufrou Posted June 4, 2009 Share Posted June 4, 2009 Lovin this. took some time to get it working,but finally did. Link to comment Share on other sites More sharing options...
snaileater Posted June 9, 2009 Share Posted June 9, 2009 Hello,i try to get this code working with an SMTP server using TLS on port 25.does InetSmtpMailCom() allow to do that ? i don't see anything bout TLS ...would u have any advice ?thanks ! Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2009 Author Developers Share Posted June 9, 2009 I do not get any errors now...but I need to know what to write in every variable...because it doesen't send any mail...Have you tried setting "$ssl = 1" like in the GMail example but using port 25?Jos 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. Link to comment Share on other sites More sharing options...
snaileater Posted June 9, 2009 Share Posted June 9, 2009 Have you tried setting "$ssl = 1" like in the GMail example but using port 25?JosI suppose u're answering my question : yes i think i've already tried ... i retry tomorrow to catch the error code i get ...would it be anything special for TLS using CDO ? i don't see anything even in Microsoft online help ...thanks anyway... Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2009 Author Developers Share Posted June 9, 2009 (edited) I suppose u're answering my question : yes i think i've already tried ... i retry tomorrow to catch the error code i get ...would it be anything special for TLS using CDO ? i don't see anything even in Microsoft online help ...thanks anyway...Well honestly I wasn't trying to be a SmartAss (this time) but looked around a bit and got the feeling when reading that GMail also uses TLS, just a different port.So that is why I asked if you tried. I have no means to test it myself.Jos Edited June 9, 2009 by Jos 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. Link to comment Share on other sites More sharing options...
snaileater Posted June 10, 2009 Share Posted June 10, 2009 Hello ...i tried with $ssl = 1 and $IPPort = 25 and it didn't work ... i get the following message :### COM Error ! Number: 80020009 ScriptLine: 91 Description:The transport failed to connect to the server.when i try a telnet session with the smtp server i have no problem (authentication is ok) ...I suppose diffence between TLS and SSL must not be so slight ... Link to comment Share on other sites More sharing options...
binhepu Posted June 30, 2009 Share Posted June 30, 2009 Help me receive mail have attack and download and save attack file at folder in my computer Link to comment Share on other sites More sharing options...
Developers Jos Posted June 30, 2009 Author Developers Share Posted June 30, 2009 Help me receive mail have attack and download and save attack file at folder in my computersure, want fries with that?Wild guess would be you are asking to receive Emails with Attachments and you want to save them in a folder. When that is the case you selected the wrong Topic as this clearly is about Sending Emails, not receiving.Jos 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. Link to comment Share on other sites More sharing options...
bowain Posted July 6, 2009 Share Posted July 6, 2009 JOS- Thanks for the great UDF - coming in very handy at work - they think I'm a coding genius but giving you all the credit! Keep on coding! Link to comment Share on other sites More sharing options...
sunburn Posted July 12, 2009 Share Posted July 12, 2009 (edited) Many thanks to all the support and info on this thread. It has been interesting to say the least. After much grinding of teeth, I'm positive I have cut and pasted all fields correctly. Tried every iteration, but doesn't work yet. I've read the entire thread and finally decided CDO isnt installed (I know, I'm slow). OK I'm running Vista and Outlook 2003, but I'm on the road for 2 more weeks and can't get back to get my install disk to add on the CDO option in outlook. So three questions. First am I barking up the wrong tree? I'm assuming CDO must be installed for this UDF to work. Is there a way to install CDO without Outlook? A generic version? Second how can I install CDO for Outlook 2003 without the install disks. (I've found download for 2007 but it won't install because I have 03) Thanks for helping Now several hours later and found something, I'll let you know how this works out http://www.microsoft.com/downloads/thankyou.aspx?familyId=e17e7f31-079a-43a9-bff2-0a110307611e&displayLang=en Looks like I have to unistall outlook 03 then install messageing, but it gives me the CDO install. Edited July 13, 2009 by sunburn Link to comment Share on other sites More sharing options...
yehia Posted August 25, 2009 Share Posted August 25, 2009 hmmmm sry for bumping this thread but ... can this send to multiple BCCs if yes should mails be splitted by a comma or what 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...
Developers Jos Posted August 25, 2009 Author Developers Share Posted August 25, 2009 (edited) hmmmm sry for bumping this thread but ...can this send to multiple BCCs if yes should mails be splitted by a comma or whatDid you try anything before asking because you would have found that it works? >_<For me both a comma ( , ) and a semicolon ( ; ) is working.Jos Edited August 25, 2009 by Jos 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. Link to comment Share on other sites More sharing options...
Tellblom Posted August 26, 2009 Share Posted August 26, 2009 (edited) Hi, I getting the error "Error Code:2 Description: The transport failed to connect to the server." My settings are: $SmtpServer = "mail.mydomain.se" ; address for the smtp-server to use - REQUIRED $FromName = "Martin" ; name from who the email was sent $FromAddress = "martin@mydomain.se" ; address from where the mail should come $ToAddress = "martin@mydomain.se" ; destination address of the email - REQUIRED $Subject = "Problem with mailing" ; subject from the email - can be anything you want it to be $Body = "Error mailing" ; the messagebody from the mail - can be left blank but then you get a blank mail $AttachFiles = "" ; the file you want to attach- leave blank if not needed $CcAddress = "" ; address for cc - leave blank if not needed $BccAddress = "" ; address for bcc - leave blank if not needed $Importance = "Normal" ; Send message priority: "High", "Normal", "Low" $Username = "martin@mydomain.se" ; username for the account used from where the mail gets sent - REQUIRED $Password = "password" ; password for the account used from where the mail gets sent - REQUIRED $IPPort = 25 ; port used for sending the mail $ssl = 0 My SMTP server uses BASIC AUTH, so no SSL och other is required What can be wrong? /Martin Edited August 26, 2009 by Tellblom Link to comment Share on other sites More sharing options...
Developers Jos Posted August 26, 2009 Author Developers Share Posted August 26, 2009 My SMTP server uses BASIC AUTH, so no SSL och other is requiredWhat can be wrong?I think the UDF should support that but have no account/server available to test the BASIC-AUTH with.You are sure the rest of your script is correct?Jos 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. Link to comment Share on other sites More sharing options...
Tellblom Posted August 27, 2009 Share Posted August 27, 2009 It the original Script, the only thing I have changed is the details I have included above. When I test with Outlook Express it works with the same details /Martin Link to comment Share on other sites More sharing options...
lordofthestrings Posted August 28, 2009 Share Posted August 28, 2009 Needed to send attachements a while ago. since it didn't exist in AutoIt, and I didn't find a solution quick enough, I solved it by sending the data plain text in the mail, now I'll give this a try nice one, Dimi Link to comment Share on other sites More sharing options...
Bru Posted September 14, 2009 Share Posted September 14, 2009 Hello, i would just like to mention i cannot get this to work. Trying to send emails via gmail. Here are my settings. I get Error 2, Descrption: cannot connect to server or something alike. $SmtpServer = "smtp.gmail.com" ; address for the smtp-server to use - REQUIRED $FromName = "Facebook" $FromAddress = "contact@fakemail.com" $ToAddress = "httescty@gmail.com" $Subject = "test" $Body = "yeah just a test dude" $AttachFiles = "" $CcAddress = "" ; leave blank if no1 $BccAddress = "" ; leave blank if no1 $Importance = "Normal" $Username = "httescty" $Password = "mypasshere" $IPPort = 465 $ssl = 1 I am seeing if it works sending a fake email to my real email address. Hope you can help me [right][/right] Link to comment Share on other sites More sharing options...
Szhlopp Posted September 15, 2009 Share Posted September 15, 2009 (edited) This is a great little UDF. But I'm having the same problem everyone else is."The transport failed to connect to the server"FIXED- I updated to Jos's latest version (Had one that was a lot older)- I wasn't passing integers for the IP and SSL. =)Szh Edited September 15, 2009 by Szhlopp RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
Bru Posted September 16, 2009 Share Posted September 16, 2009 I still cannot get this working for some reason :S Any help appreciated. [right][/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