Solved

Access MAPI email using Remote Desktop Connection

Posted on 2003-10-22
4
527 Views
Last Modified: 2006-11-17
Scenario

MS Access version 2002 front end and back end database on Win2000 server.
Client access to database via Remote Desktop Connection from various platforms, mainly Win2000.

There is an option to email reports and I have set up a MAPI function to achieve this, thanks in no small way to the very helpful answer given to another question by TextReport, see Q_20338946.html for answer.

This works well except that wherever the MAPI function is called from, i.e. a user in Queensland or in Victoria the default profile on the server is placed in the e-mail From property, therefore whoever sends the e-mail it appears to come from one user.

I could set up the default profile on the server to something like DB Report, but that's little agricultural.

So the question is can I set the From property of the e-mail to the client user name in the MAPI code that I am using, prior to sending it?

Regards
Steven.


0
Comment
Question by:Steven_Flint
4 Comments
 
LVL 32

Accepted Solution

by:
jadedata earned 100 total points
ID: 9606260
http://support.microsoft.com/default.aspx?scid=kb;EN-US;262700#CDO
The above link leads up to sending mail using CDONTS instead of MAPI which requires the profile to be used.
Read thru this one while I look for more, but there are a bunch of "see also"s on that link.
0
 
LVL 28

Assisted Solution

by:TextReport
TextReport earned 100 total points
ID: 9609333
It is my understanding that you will need to configure the profile for each user, perhaps you can identify the user using ENVIRON("USERNAME") and set the MAPI profile based on that info.

Cheers, Andrew
0
 
LVL 39

Expert Comment

by:stevbe
ID: 9990957
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: jadedata {http:#9606260} & TextReport {http:#9609333}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

stevbe
EE Cleanup Volunteer
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now