Starting Outlook and having an email pre-populated from command line
2015. 8. 10. 14:02ㆍWindows
Set olApp = CreateObject("Outlook.Application")
Set olMsg = olApp.CreateItem(0)
With olMsg
.To = "test@testing.com"
'.CC = "cc@testing.com"
'.BCC = "bcc@testing.com"
.Subject = "Subject"
.Body = "Body"
.Attachments.Add "C:\path\to\attachment\test.txt"
.Display
.Send
End With
https://www.add-in-express.com/outlook-security/index.php
OlSecurityManager.DisableOOMWarnings = True |
On Error Goto Finally |
' ... any action with protected objects ... |
Finally: |
OlSecurityManager.DisableOOMWarnings = False |
'Windows' 카테고리의 다른 글
Nesting Hyper-V with VMware Workstation 8 and ESXi 5 (0) | 2015.10.22 |
---|---|
Open Virtual Disk Image File - PowerISO (0) | 2015.08.17 |
The Mystery of the Missing Process Performance Counter in Perfmon (0) | 2015.06.25 |
WSUS failures - Duplicate SUSClientIDs (0) | 2015.05.21 |
How to check SQL Express Edition (0) | 2015.05.11 |