Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Email via Lotus Notes From Access2000/97

Status
Not open for further replies.

RobReid

MIS
Aug 12, 2001
9
GB
Hi anybody,
I am trying to send a message through email based upon contents of a form. I can get this to work with Outlook but client is using lotus notes as email carrier.
I have tried changing WIN.ini settings pointing to Mapivi32.dll but still does not want to work.
Outlook is also installed on the server.
Any ideas much appreciated.
 
Not sure what you mean "Can get it to work with Outlook"

What happens? does it show up in the outbox of Outlook???

DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Thanks for the enquiry DougP.
When I run my piece of code behind my button (shown below) I get all the details entered into the 'Compose Message' box of Outlook when I am using an Outlook only system.
With Lotus Notes I get nothing. Message disappears.

Code is:
Private Sub Command107_Click()
Dim callermail As String
Dim txtCallID As Integer
callermail = DLookup("CallerInternalEMail", "tblCallers", "CallerID = '" & Forms!frmCallsAdd!Caller & "'")
txtCallID = Forms!frmCallsAdd!CallID
DoCmd.SendObject acSendNoObject, , , callermail, , , "Help Desk Call Recorded", "Your call has been recorded in the Help Desk database. It will be dealt with as quickly as possible. Please quote Call Reference " & txtCallID & " when contacting the Help Desk", False
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top