如何将VB中的text1.text内容点击按钮发送到指定邮箱

来源:百度知道 编辑:UC知道 时间:2024/06/25 01:36:59

首先定义ShellExecute
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

在程序中如此运用:
ShellExecute Me.hwnd,"Open","mailto:邮箱地址?body="+发素内容,"","",vbNormal)

用WINSOCK来做!网上有代码,找找吧

我是来学习的

想做木马吗?