Advertisement
ASP_Volume2 Coding Standards #36649

Mailto Command

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

AI

Ringkasan 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.

Kode Sumber
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
Komentar Asli (3)
Dipulihkan dari Wayback Machine