Spoiler anzeigen
#include <INet.au3>
$s_SmtpServer = "pop3.live.com"
$s_FromName = "Vassilis"
$s_FromAddress = "zivilist_x@hotmail.de"
$s_ToAddress = "cj-bozz@hotmail.com"
$s_Subject = "TEST :D"
Dim $as_Body[2]
$as_Body[0] = "Die neue E-Mail UDF wird getestet"
$as_Body[1] = "Zweite Zeile"
$Response = _INetSmtpMail($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body)
$err = @error
If $Response = 1 Then
MsgBox(0, "Erfolg!", "Die E-Mail wurde versandt")
Else
MsgBox(0, "Fehler!", "Das versenden der E-Mail schlug fehl. Fehlercode: " & $err)
EndIf
wie ihr an meinem script sehen könnt will ich testen eine e-mail zu senden auf mein hotmail account!
leider kommt bei mir die fehler meldung "4"
was soviel heisst wie:
4 - Kann keinen Socket erstellen
....woran liegt dieses problem was sollte ich besser machen?
Danke an alle die mir helfen
!
mfg!