Jump to content

_INetSmtpMail


Recommended Posts

i always get code error 4 dont know y

#include <INet.au3>
$s_SmtpServer = "plus.smtp.mail.yahoo.com"
$s_FromName = "die"
$s_FromAddress = "yehia_serag@yahoo.com"
$s_ToAddress = "yehia_serag@yahoo.com"
$s_Subject = "Testing"
Dim $as_Body[2]
$as_Body[0] = "Testing the new email udf"
$as_Body[1] = "Second Line"
$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)
$err = @error
If $Response = 1 Then
    MsgBox(0, "Success!", "Mail sent")
Else
    MsgBox(0, "Error!", "Mail failed with error code " & $err)
EndIf

really need help dont know what to do

and plz if anyone can tell me what is yahoo and hot mail smtp servers

thanks all

Link to comment
Share on other sites

Pay for hotmail/yahoo.... :P If they've banned your mail, there is nothing we can do about it...

If you are doing something illegal, please reconsider... Malicious code gives AutoIt a bad name, you've only got to see the volume of threads saying, "false positive..."

Link to comment
Share on other sites

If you are doing something illegal, please reconsider... Malicious code gives AutoIt a bad name, you've only got to see the volume of threads saying, "false positive..."

no way iam doing anything that can harm autoit

i love it and i love its community

thanks for ur helpful replay

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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