Hallo,
ich habe ein Problem bei der InetSmtpMail-Funktion
Hier mal das Skript
[autoit]
#include
$s_SmtpServer = "smtp.gmail.com"
$s_FromName = "Dominik Burk"
$s_FromAddress = "skylinegtr3499@googlemail.com"
$s_ToAddress = "dominik-burk@web.de"
$s_Subject = "My Test UDF"
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
Ich bekomme aber immer nur Errorcode 50
also irgendwas mit der SmtpSession.