page410.vbs

来自「Apress - Managing Enterprise Systems Wit」· VBS 代码 · 共 12 行

VBS
12
字号
Dim objMail
Set objMail = CreateObject("CDO.Send")
objMail.Profile = "My Profile" 'set the profile you want to use
If objMail.Logon() Then
 objMail.NewMessage 
 objMail.AddRecipient ("SMTP:fred@abc.com")
 objMail.Message = "Hello Fred" 
 objMail.Subject = "Message to Fred"
 objMail.Send 
 objMail.Logoff 
End iIf

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?