[Last Call] Learn how to a build a cloud-first strategyRegister Now


Can I redirect an email from my remote RDS desktop to my default client email

Posted on 2011-04-21
Medium Priority
1 Endorsement
Last Modified: 2013-11-21
I need to redirect an email generated from my application on a Windows Server 2008 R2 to my client default email on my machine. Is this possible? How do I do this?
Question by:FredCochrane

Expert Comment

ID: 35446663
Between sender (application) and recipient (you) must be an email server. I presume that you have one, as you have email client. Send the email to your email address connecting to that email server.

Author Comment

ID: 35447002
The application generates a PDF file which is to be sent to a to a specified email address. When the application is run on a desktop, the new email pops up with the PDF attached ready to be addressed. When run on the remote desktop, the application complains that "there is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default Programs control panel".
This is my problem, I am trying to redirect the action to the clients desktop default email program.
LVL 71

Expert Comment

ID: 35456711
Not feasible. All the data needed is remote, and even printing requires a printer driver on the RDP server.
You need to have an email client setup on that server.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 35456954
Seems hard to believe this is not feasible. The latest version of RDS does not require me to load printer drivers to the server. It finds all my printers and redirects to the default printer on any of my users desktops. I am even able to print to PDF files where the application is only loaded on my machine, all this without any printers enabled on the server. Microsoft has done a great job on this RDS versus Terminal Services.
I can also access all the ports on my local machine and activate barcode readers and USB devices, although I have to specify them.
It seems that I need to find a way to access the default modem on my local machine. It may be that I have to set up an email client on the server but then redirect it to my local default client.
LVL 19

Expert Comment

ID: 35469456
How does the application generate the PDF file?  Does it create the PDF using a printer object?   CutePDF; AmyUni; etc...?  If so then it may be possible to utilise the native Easy Print functionality.

Do you have SP1 installed on the 2008 R2 RDS?


Expert Comment

ID: 35469733
Yes, I have SP1 installed.
The PDF is generated within my application which is written in Alpha Five. I believe that Alpha Five uses the Amyuni driver.
Once again, I can print the PDF to my local machine through redirection, just like any other local printer. What I am trying to do, however, is to send an email with the PDF file attached using my local default email client. I want the send email to redirect to my local machine.
LVL 19

Expert Comment

ID: 35469820
Then Qlemo is correct:  this is not possible - at least not natively.  

If you have the time and inclination you could write an application that uses a virtual channel (or hire a developer to do it for you).  You could register the application on the RDS server as the default email client so when your Alpha Five application invokes the default email client the particulars of the email are read and sent via the virtual channel to a client-side component that reconstructs the request and invokes the client-side default email client.
LVL 31

Expert Comment

by:Cláudio Rodrigues
ID: 35469925
As others mentioned, this is only possible with a third party application that would use a virtual channel to redirect the mailto (I assume that is what your app is using and calling the registered app on the system to handle emails) call to the local app on your PC.
There is no other way around it. If you are good with development, given all the examples for Virtual Channels and RDS you should be able to pull this off easily.

Cláudio Rodrigues
Microsoft MVP - RDS
Citrix CTP
LVL 16

Accepted Solution

Auric1983 earned 2000 total points
ID: 35700239
All we do on our TS is install an email client & configure it to send via our exchange server :D

Author Closing Comment

ID: 35703731
This solution worked for me (using the client). I didn't get the redirect I wanted, but I was able to use Windows Live and I don't want to write the software to give me the redirect. I could not find a third party soltion for that.

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

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