SendMail (2)




Option Explicit

Private 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


Private Sub Command1_Click()

ShellExecute 0, vbNullString, "mailto:rik@elbalink.it?subject=Prova
invio mail&body=Prova riuscita!", 0&, 0&, 1

End Sub










( sendmail2.html )- by Paolo Puglisi - Modifica del 17/12/2023