Jump to content

Recommended Posts

Posted

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/smtpusessl

Does 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

Posted

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 :)

Posted

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/smtpusessl

Does this mean that all email is actually routed through the smpt server at McrSft.Com? :)

Nobody? :D

If you learn from It, it's not a mistake

  • Developers
Posted (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 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.
  :)

Posted

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

Posted

Yahoo does not work

Gmail -- untested

Hotmail -- unknown stmp+port

Can't find a way to make this work :)

Kurt

Awaiting Diablo III..

  • Moderators
Posted

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.

Posted

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 :\ )

  • Moderators
Posted (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 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.

Posted

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 ]---
  • Moderators
Posted

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.

Posted

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

  • Developers
Posted

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

Others 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.
  :)

Posted

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 ?
  • Developers
Posted (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 code

2. Tell us the error you get from the ComError function shown in the output pane (ConsoleOutput)

Edited 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.
  :)

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...