Frage zu VBScript, dass Mails ohne SMTP Service versendet
Hallo,
bei MS findet man folgendes kleines Skript:
Kann mir jemand erklären, was hier die Zeilen "http://schemas......" zu bedeuten haben ?
Das Skript funktioniert gut...nur wüsste ich gerne, was da im Hintergrund abläuft.
Vielen Dank
Stephan
bei MS findet man folgendes kleines Skript:
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "admin1@fabrikam.com"
objEmail.To = "admin2@fabrikam.com"
objEmail.Subject = "Server down"
objEmail.Textbody = "Server1 is no longer accessible over the network."
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _
"MySMTPHost"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.Send
Das Skript funktioniert gut...nur wüsste ich gerne, was da im Hintergrund abläuft.
Vielen Dank
Stephan
Please also mark the comments that contributed to the solution of the article
Content-Key: 1134
Url: https://administrator.de/contentid/1134
Printed on: April 28, 2024 at 02:04 o'clock