Advertisement
2002ASP Coding Standards #3425

Mailto Command

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

AI

Résumé par IA: 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.

Code source
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
Commentaires originaux (3)
Récupéré via Wayback Machine