Jump to content

Recommended Posts

Posted

I got INET.au3 off the scraps pages and put the file in my include directory. I put #include<inet.au3> in my script and tried to run some email functions. I get this message

Line 114(File "C:\Program Files\Autoit3\Include\INet.au3"):

Local $v_Struct = DllStructCreate('udword')

Local $v_Struct = ^ ERROR

Unknown fucntion name.

Anyone know how to fix this

Posted

I got INET.au3 off the scraps pages and put the file in my include directory. I put #include<inet.au3> in my script and tried to run some email functions. I get this message

Line 114(File "C:\Program Files\Autoit3\Include\INet.au3"):

Local $v_Struct = DllStructCreate('udword')

Local $v_Struct = ^ ERROR

Unknown fucntion name.

Anyone know how to fix this

are you sure you use the latest official release 3.2.0.1?

using the beta solve the issue but you are not supposed to have an error with the official release.

See the version number you are running with Scite. :P

Posted

are you sure you use the latest official release 3.2.0.1?

using the beta solve the issue but you are not supposed to have an error with the official release.

See the version number you are running with Scite. :P

Yeah I was using a verison I downloaded probably like 6 months or more ago. That was the problem.
Posted (edited)

Yeah I was using a verison I downloaded probably like 6 months or more ago. That was the problem.

Hmm ok following other examples in the forums I did this

$s_SmtpServer = "mail.yahoomx4.com"

$s_FromName = "AutoitTesting"

$s_FromAddress = "Testing1"

$s_ToAddress = "Autoittest@hotmail.com"

$s_Subject = "Auto it testing"

$s_as_body = "Test"

$Response = _INetSmtpMail($s_SmtpServer,$s_FromName,$s_FromAddress,$s_ToAddress,$s_Subject,$s_as_body)

The script runs without error but I dont receive any email.

Edit-

Ok I added a error seciton and got a return of error code 3. Im wondering if I cant use mail.yaoomx4.com?

Edited by loki1982
Posted

Hmm ok following other examples in the forums I did this

$s_SmtpServer = "mail.yahoomx4.com"

$s_FromName = "AutoitTesting"

$s_FromAddress = "Testing1"

$s_ToAddress = "Autoittest@hotmail.com"

$s_Subject = "Auto it testing"

$s_as_body = "Test"

$Response = _INetSmtpMail($s_SmtpServer,$s_FromName,$s_FromAddress,$s_ToAddress,$s_Subject,$s_as_body)

The script runs without error but I dont receive any email.

Edit-

Ok I added a error seciton and got a return of error code 3. Im wondering if I cant use mail.yaoomx4.com?

Can you use mail.yaoomx4.com directly with Outlook, Outlook express or any other software that use the POP3/SMTP to send receive mail?

If yes you should be able to use inet.au3 with the parameter needed to diamog with the smtp server :P

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
×
×
  • Create New...