Connecting Tech Pros Worldwide Forums | Help | Site Map

emailing code

Newbie
 
Join Date: Aug 2007
Posts: 12
#1: Oct 22 '07
hello everyone,, well i need a code in vb which could send emails ,,pls help me

Newbie
 
Join Date: Oct 2007
Posts: 1
#2: Oct 27 '07

re: emailing code


Declarations
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
Private Const SW_SHOW = 5




Code

ShellExecute hwnd, "open", "mailto:test@whatever.com", vbNullString, vbNullString, SW_SHOW
Reply