Scriptonize Posted January 12, 2007 Share Posted January 12, 2007 Hi,Can anybody explain why these url's are needed?$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = $s_Username$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = $s_Password$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusesslDoes this mean that all email is actually routed through the smpt server at McrSft.Com? If you learn from It, it's not a mistake Link to comment Share on other sites More sharing options...
Scriptonize Posted January 14, 2007 Share Posted January 14, 2007 BUMP If you learn from It, it's not a mistake Link to comment Share on other sites More sharing options...
anixon Posted January 16, 2007 Share Posted January 16, 2007 To the Author I have tried this emailer (script) and it works an absolute treat. I especially like the code that allows you to attach more than one file as well as the cc options Well done........... Ant Link to comment Share on other sites More sharing options...
Scriptonize Posted January 17, 2007 Share Posted January 17, 2007 Hi,Can anybody explain why these url's are needed?$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = $s_Username$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = $s_Password$objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusesslDoes this mean that all email is actually routed through the smpt server at McrSft.Com? Nobody? If you learn from It, it's not a mistake Link to comment Share on other sites More sharing options...
Developers Jos Posted January 17, 2007 Author Developers Share Posted January 17, 2007 (edited) Nope ... It is used in each example found on the internet but haven't tried to figure out why did you google for it ? Let us know when you find it. Edited January 20, 2007 by JdeB 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...
Scriptonize Posted January 20, 2007 Share Posted January 20, 2007 Nope ... It is used in each example found on the internet but haven;t tried to figire out why did you google for it ?Let us know when you find it.I noticed that too.Microsoft's answer on this matter is:By the way, these URIs concern a lot of people: they wonder why they need to connect to Microsoft in order to send an email. The truth is, you dont actually connect to Microsoft; these URIs are just properties. Why are they referenced like this? To be honest, we dont know. But dont worry: your mail doesnt get routed through Microsoft, and no one here reads it. Trust us, we have enough problems keeping up with our own email, let alone taking time to read someone elses.I'm not sure to believe this, but it's the only found explanation so far... If you learn from It, it's not a mistake Link to comment Share on other sites More sharing options...
_Kurt Posted January 20, 2007 Share Posted January 20, 2007 Yahoo does not work Gmail -- untested Hotmail -- unknown stmp+port Can't find a way to make this work Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
alex OF DEATH Posted January 22, 2007 Share Posted January 22, 2007 Hey, um, whats going on here?I changed nothing on his original script, (except filling in my info) and it just gives me this error. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 22, 2007 Moderators Share Posted January 22, 2007 Hey, um, whats going on here?I changed nothing on his original script, (except filling in my info) and it just gives me this error.You're missing an EndFunc/Next/EndIf/WEnd something in your main script right before you call that function more than likely. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
alex OF DEATH Posted January 22, 2007 Share Posted January 22, 2007 Oh, now I see it. I had it something like this: Func buttonpressed() func <his script> endfunc -- I gave up with that script anyway, im just trying to get it through the _inetSMTPmail thing now. (i THINK it sends it, but im not receiving :\ ) Link to comment Share on other sites More sharing options...
alex OF DEATH Posted January 22, 2007 Share Posted January 22, 2007 Okay, now what? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 22, 2007 Moderators Share Posted January 22, 2007 (edited) Posting the UDF with out showing how you are using it, is really silly/stupid... you did this last time as well. Post your question in the support forum along with the code you are generating to use it. Edited January 22, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
alex OF DEATH Posted January 22, 2007 Share Posted January 22, 2007 No. Link to comment Share on other sites More sharing options...
sandyd Posted January 22, 2007 Share Posted January 22, 2007 No script = No chance of us giving you help! How do you expect us to help you without giving us a clue as to how you are arriving at your error message? Oh, and yes, posting to the correct forum might help ... ----[ SandyD ]--- Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 22, 2007 Moderators Share Posted January 22, 2007 No.That's a silly response... Guess you answered your own question then. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
LOULOU Posted January 22, 2007 Share Posted January 22, 2007 I try your code with GMAIL but anything is working and the ser ver rejected my demand. Is anyone know how to do to have a connection with GMAIL Link to comment Share on other sites More sharing options...
Developers Jos Posted January 23, 2007 Author Developers Share Posted January 23, 2007 I try your code with GMAIL but anything is working and the ser ver rejected my demand. Is anyone know how to do to have a connection with GMAILOthers tested it and it works... no without the code we probably are not able to "see" what you are doing wrong .. 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...
LOULOU Posted January 23, 2007 Share Posted January 23, 2007 Others tested it and it works... no without the code we probably are not able to "see" what you are doing wrong ..Yes I know because i test the program alone and it works. The main difference between the exaple and what i do is that i have an image include in the html body, that i copy from clipboard , may be gmail considr that like a virus ? Link to comment Share on other sites More sharing options...
Developers Jos Posted January 23, 2007 Author Developers Share Posted January 23, 2007 (edited) Yes I know because i test the program alone and it works. The main difference between the exaple and what i do is that i have an image include in the html body, that i copy from clipboard , may be gmail considr that like a virus ?You are not providing any information, only questions that cannot be answered without proper information:1. show your code2. Tell us the error you get from the ComError function shown in the output pane (ConsoleOutput) Edited January 23, 2007 by JdeB 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...
FitzChivalry Posted January 29, 2007 Share Posted January 29, 2007 Hey thanks so much for this, it is really awesome!!!! I have one question, is the $s_FromAddress variable really necessary? I tried putting a couple different values in there to see if i could spoof an email address, but it always shows the email address that I am really sending from... So, is there really any need to have that there? I'm still learning, so just wondering about that. I am using gmail, so could it have something to do with their email service? 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