hello.. I'm trying to send email using winsock... is there a way where i can get POP server name from outlook express at run time without having the user to input it manually?
Help needed ASAP
Printable View
hello.. I'm trying to send email using winsock... is there a way where i can get POP server name from outlook express at run time without having the user to input it manually?
Help needed ASAP
just a thought as I don't know what you are trying to accomplish as an end, but if you are using Outlook could you not just shell it.'launch default email program and send mail
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
'form code
ShellExecute hwnd, "open", "mailto:[email protected]", vbNullString, vbNullString, SW_SHOW
there are some good demos of sending email at http://www.planet-source-code.com