[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Email

What is the best way to have my vb application send email using the end users default email program.

Thank you!
0
Aimyee
Asked:
Aimyee
  • 3
  • 2
1 Solution
 
AimyeeAuthor Commented:
Hi, I'm just wondering.... I've used this method but I thought it just worked if you are using Outlook?  Or does the MAPI work with any email application?
0
 
AimyeeAuthor Commented:
Hi, I'm just wondering.... I've used this method but I thought it just worked if you are using Outlook?  Or does the MAPI work with any email application?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MirkwoodCommented:
With a lot of email application. This is as general as you can get. If works for example also with CC:Mail and Lotus Notes
0
 
JuiletteCommented:
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
'''''''''''''''''''''''''''''''''''''''''''''''''''''
 ShellExecute hwnd, "open", "mailto:vbcode@vbcode.com", _
vbNullString, vbNullString, SW_SHOW
0
 
AimyeeAuthor Commented:
Okay Thanks!  I'll continue to use it then.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now