RayShade писал(а):Используя CDO это будет примерно так:
Dim msg As CDO.Message
With msg
.To = "pupkin@vasya.net"
.Subject = "Hello!"
.TextBody = "Hello, Pupkin! It's my test mail!"
.AddAttachment "c:\mypic.jpg"
.send
End With
RayShade писал(а):2 goro
Ну примени голову то!
не хватает очевидно set msg = new cdo.message
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 As Long = 1&
...
msg="mailto:bill.gates@microsoft.com?subject=Windows%20TechSupport&body=HELP!!!%0D%0AI%20have%20troubles%20with%20Windows!"
ShellExecute hWnd, vbNullString, msg, vbNullString, vbNullString, SW_SHOWNORMAL
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 53