Advertisement
C_Volume2 Coding Standards #77711

Mailto Command

Easy way to create a new email with Subject,Body and Attachment, using the default email program!!!

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Public Function SendMail(ByVal MailAddress As String, ByVal MailSubject As String, ByVal MailBody As String, ByVal MailAttach As String)
 ShellExecute 0&, vbNullString, "mailto: " & MailAddress & _
 "&subject=" & MailSubject & _
 "&body=" & MailBody & _
 "&attach=" & Chr(34) & MailAttach & Chr(34) _
 , vbNullString, vbNullString, vbHide
End Function
Commenti originali (3)
Recuperato da Wayback Machine