Is this possible? I want to have the To:, Body, and an Attachment all pre-populated so all the user has to do is click send. Thanks!
相关问题
- Outlook Object Model - Hooking to the Conversation
- Analyzing Outlook HANG dump (with GoogleCalendarSy
- softlinks atime and mtime modification
- Get unexpanded argument from bash command line
- Include and Execute EXE in C# Command Line App
相关文章
- C# 调用outlook发送邮件获取邮件签名
- Compile and build with single command line Java (L
- How to update command line output?
- How to execute another python script from your scr
- Python file keyword argument?
- Outlook SMTPClient server error 5.3.4 5.2.0
- Interactively merge files tracked with git and unt
- Lauch default editor (like 'webbrowser' mo
You can attach files AND pre-fill in the To/Body if you simply place " " quotes around the command after the
/m
Example:
VonC's solution works, but as stated in the comments by skbergam it doesn't allow for attachments.
If, like me, that's a biggie then the following WSH code does it.
I've tried it with Outlook2003
Open a new mail message (
ipm.note
is the message class for emails)Open a new mail message and populate sender:
Open a new mail message with attachment:
Combination: (First one below didn't work in Office 2016, second did)
The %20 has to be used to produce a blank space.