Advertisement
Java_Volume1 Coding Standards #96255

Mailto Command

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

AI

KI-Zusammenfassung: 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.

Quellcode
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
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine