Mapi32.dll/Outlook

G

Guest

I am programming an application which runs on a Citrix server. This
application should send an email using Outlook. I am using mapi32.dll to do
this. The problem is that on the Citrix server no Outlook is installed. There
is however a connection between the Citrix server and my local machine. I was
wondering if it is possible to use the Mapi32.dll and Outlook from my local
machine. It seems that I can use Mapi32.dll on my local machine by specifying
a path to this dll:

Declare Function MAPISendMail Lib "V:\Winnt\system32\MAPI32.DLL" Alias
"BMAPISendMail" (ByVal Session&, ByVal UIParam&, Message As MAPIMessage,
Recipient() As MapiRecip, File() As MapiFile, ByVal Flags&, ByVal Reserved&)
As Long

(v is a folder which maped to my local c:\ drive)

Unfortunately when I run the code it tries to install Outlook on the Citrix
server instead of using Outlook installed on my local machine. Is it possible
to use Outlook on my local machine.

Marco
 
D

Douglas J Steele

As far as I know, what you want to do isn't possible. However, you'll get a
far more knowledgable answer if you post this to one of the newsgroups
related to Terminal Server.

This newsgroup is for questions about Access, the database product that's
part of Office Professional.
 
G

Guest

The application is written in VBA code. I am trying to send this email using
MS Access.

"Douglas J Steele" schreef:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top