Académique Documents
Professionnel Documents
Culture Documents
Message")
objMessage.From = WScript.Arguments(0)
objMessage.To = WScript.Arguments(1)
objMessage.Cc = WScript.Arguments(2)
objMessage.Bcc = WScript.Arguments(3)
objMessage.Subject = WScript.Arguments(4)
objMessage.TextBody = WScript.Arguments(5) & vbCrLf
objMessage.AddAttachment WScript.Arguments(6)
'==This section provides the configuration information for the remote SMTP server.
'==Normally you will only change the server name or IP.
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMessage.Configuration.Fields.Update