shellexecute "mailto: [email protected]?subject=Subject of 
Message&[email protected]

解决方案 »

  1.   

    OutLook Express的执行文件msimn.exe后加参数可完成一些功能,以下是我知道的一些:
    /mailurl:mailto: 新建邮件 
     例如:path\msimn.exe /mailurl:mailto:[email protected]?subject=你好
    /eml: 打开eml格式的邮件(存在硬盘上的)
    /nws: 打开eml格式的新闻信息
    /newsurl: 阅读位于newsurl的新闻
    /outnews 新建账号向导
    /mail 设置导入信箱向导 例如:ShellExecute Me.hwnd, "open", "mailto:[email protected]", vbNullString, vbNullString, 0
      

  2.   

    '以下程序出自袁飞 Win32API 超级工具。 
    'ygyuan.go.163.comPrivate Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    Const SW_SHOWNORMAL = 1
    Private Sub Form_Load()
        'Send an E-Mail to the KPD-Team
        ShellExecute Me.hwnd, vbNullString, "mailto:[email protected]", vbNullString, "C:\", SW_SHOWNORMAL
    End Sub