Jump to content
Sign in to follow this  
Killer_Hammster

Inet E-mailing

Recommended Posts

Hey guys, I have been fooling around with the Inet stuff in the beta, and I cant send an E-mail to myself with

_InetSmptMail

My E-maill address is through hotmail dos anyone know how to get it to work? thanks for reading.

Share this post


Link to post
Share on other sites

Add some code of what you are doing and maybe a version number of your running Autoit?

Share this post


Link to post
Share on other sites

Here is the code for the thing im doing, I wanted to see if I could send an E-mail to myself, just fooling around :lmao:

Just trying to get the HElp file script to work, I dident do anything on my own.

#include <INet.au3>

$s_SmtpServer = "hotmail.msn.com" ;<-------- ??????????????????????
$s_FromName = "Adam"
$s_FromAddress = "ada"
$s_ToAddress = "ThisismyE-mail@hotmail.com"
$s_Subject = "Test, Bitch"
Dim $as_Body[2]
$as_Body[0] = "a"
$as_Body[1] = "a"
$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

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...