Sooo meine nächste Frage.
Mein Script soll eine Email versenden und abrufen können.
Und zwar soll das über meine Strato Emailadresse gehen.
Posteingang (POP3) und Postausgangsserver (SMTP) sind gleich post.strato.de.
Mir ist zu dem Thema die INet.au3 aufgefallen.
Das senden wird wohl mit
[autoit]
#include <INet.au3>
$s_SmtpServer = "mail.strato.de"
$s_FromName = "My Name"
$s_FromAddress = "From eMail Address"
$s_ToAddress = "To eMail Address"
$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
irgendwie gehen. Aber wo werden dort meine Zugangsdaten mitgesendet?
Und wie kann ich prüfen, ob Emails auf meinem Email server liegen und gegebenenfalls runterladen und auslesen? Geht das überhaupt ohne ein Emailprog zu benutzen?