Solved

Access MAPI email using Remote Desktop Connection

Posted on 2003-10-22
4
545 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

830 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