Re: how do u send an email using access?
- From: "james.igoe@xxxxxxxxx" <james.igoe@xxxxxxxxx>
- Date: 28 Feb 2006 07:42:06 -0800
Like I said, it is designed for Outlook-assumed clients, but otherweise
you might need to check the registry. Information can be found here:
http://www.insideoutlookexpress.com/files/regkeys.htm
Also, you might need to make sure that it was also setup and the
default mail client.
I ran across this code that purports to work with everything, but does
not do attachments:
'**Module (space formatting added to make it easier to read):
Public 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
'**Code attached to a button:
Dim stext As String
'Hard coded parts of the e-mail, stripped down to the minimum
stext = "mailto:me@xxxxxxxxxxxxxxx?"
stext = stext & "&Subject=" & "Document attached"
stext = stext & "&Body=" & "Please find the document attached"
'Launch default e-mail
Call ShellExecute(hwnd, "open", stext, vbNullString, vbNullString,
SW_SHOWNORMAL)
.
- References:
- how do u send an email using access?
- From: DP
- Re: how do u send an email using access?
- From: fredg
- Re: how do u send an email using access?
- From: Tim Marshall
- Re: how do u send an email using access?
- From: Fred Zuckerman
- Re: how do u send an email using access?
- From: DP
- how do u send an email using access?
- Prev by Date: Re: help with message box
- Next by Date: How to retrieve the date of record creation?
- Previous by thread: Re: how do u send an email using access?
- Next by thread: Re: how do u send an email using access?
- Index(es):
Relevant Pages
|