Can't send email threw Outlook Add-in

%3CLINGO-SUB%20id%3D%22lingo-sub-2060935%22%20slang%3D%22en-US%22%3ECan't%20send%20email%20threw%20Outlook%20Add-in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2060935%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20recently%20deployed%20Windows%20Virtual%20Desktop%20for%20one%20of%20my%20costumers.%20I%20configured%20my%20session%20hosts%20with%20new%20CRM%20system%20and%20Office%20applikations%2C%20every%20user%20is%20also%20authenticated%20to%20Office%20365%20apps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20costumer%20is%20working%20on%20their%20local%20PC%20with%20RemoteApp%20configured%20for%20accessing%20their%20CRM%20in%20Session%20Hosts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20CRM%20system%20has%20Office%20add-ins.%20So%20they%20can%20send%20emails%20from%20their%20CRM%20System.%3C%2FP%3E%3CP%3EWhen%20they%20click%20on%20Send%20Email%2C%20the%20Outlook%20window%20pops%20up%2C%20as%20it%20should.%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20they%20decide%20to%20send%20the%20email%2C%20the%20Outlook%20window%20is%20closed%2C%20and%20the%20%3CSTRONG%3E%3CU%3Eemail%20is%20never%20sent.%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20way%20to%20fix%20this%20issue%20is%20to%20open%20the%20%3CSTRONG%3E%3CU%3EOutlook%20client%20from%20Remote%20Desktop%20Client%20(the%20one%20that%20is%20allocated%20to%20them%20threw%20workspace)%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EProblem%20is%20that%20my%20users%20are%20used%20to%20using%20their%20local%20recources%20as%20much%20as%20possible%2C%20is%20there%20any%20fix%20to%20this%20without%20forcing%20them%20to%20switch%20to%20RemoteAPP%20outlook%20instead%20of%20locally%20installed%20outlook%20program%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%20%26lt%3B3%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2070745%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20email%20threw%20Outlook%20Add-in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2070745%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F811440%22%20target%3D%22_blank%22%3E%40SamirAbdou1999%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20if%20this%20will%20fix%20the%20problem%2C%20but%20you%20could%20create%20a%20batch%20file%20that%20starts%20the%20two%20applications%20and%20publish%20the%20batch%20file%20as%20an%20application.%26nbsp%3B%20I%20did%20a%20quick%20test%20with%20Paint%20and%20Notepad%20and%20was%20able%20to%20get%20both%20applications%20to%20launch%20from%20one%20published%20app.%26nbsp%3B%20Maybe%20try%20starting%20Outlook%20with%20the%20%2Fmin%20switch%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2073130%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20email%20threw%20Outlook%20Add-in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2073130%22%20slang%3D%22en-US%22%3EHi%20Travis%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20i%20do%20the%20batch%20file%20that%20opens%20both%20Outlook%20and%20CRM%2C%20then%20%22workspace%22%20outlook%20will%20open%20for%20the%20user%2C%20and%20in%20this%20case%20my%20users%20only%20want%20to%20use%20their%20locally%20installed%20Outlook.%20This%20so%20i%20can%20save%20on%20Resources%20and%20easier%20for%20user.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2073695%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20email%20threw%20Outlook%20Add-in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2073695%22%20slang%3D%22en-US%22%3EHey%20Travis%2C%3CBR%20%2F%3E%3CBR%20%2F%3ENot%20sure%20if%20i%20understand%20it%20properly%2C%20please%20correct%20me.%3CBR%20%2F%3EShould%20i%20do%20a%20batch%20file%20that%20opens%20both%20Outlook%20and%20CRM%20system%3F%20Should%20Outlook%20be%20minized%20or%20regular%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20I%20have%20tired%20opening%20Outlook%20on%20the%20user%20profile%20and%20have%20it%20on%20the%20background%20but%20did%20not%20solve%20the%20issue.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2083237%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20email%20threw%20Outlook%20Add-in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083237%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F78468%22%20target%3D%22_blank%22%3E%40Travis%20Roberts%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20making%20a%20batch%20file%20that%20opens%20both%20Outlook%20and%20CRM%20at%20the%20same%20time%2C%20it%20works%20fine.%3C%2FP%3E%3CP%3EProblem%20is%20that%2C%20Outlook%20is%20not%20minized%2C%20so%20it's%20opened%20in%20taskbar.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20i%20would%20need%20to%20fix%20this%20issue%20would%20be%20if%2C%20RDS%20Outlook%20somehow%20only%20was%20open%20in%20system%20tray.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hello

 

I've recently deployed Windows Virtual Desktop for one of my costumers. I configured my session hosts with new CRM system and Office applikations, every user is also authenticated to Office 365 apps.

 

This costumer is working on their local PC with RemoteApp configured for accessing their CRM in Session Hosts.

 

The CRM system has Office add-ins. So they can send emails from their CRM System.

When they click on Send Email, the Outlook window pops up, as it should. 

But when they decide to send the email, the Outlook window is closed, and the email is never sent.

 

The only way to fix this issue is to open the Outlook client from Remote Desktop Client (the one that is allocated to them threw workspace)

 

Problem is that my users are used to using their local recources as much as possible, is there any fix to this without forcing them to switch to RemoteAPP outlook instead of locally installed outlook program?

 

Thanks! <3

6 Replies

@SamirAbdou1999 

Not sure if this will fix the problem, but you could create a batch file that starts the two applications and publish the batch file as an application.  I did a quick test with Paint and Notepad and was able to get both applications to launch from one published app.  Maybe try starting Outlook with the /min switch?

Hi Travis,

If i do the batch file that opens both Outlook and CRM, then "workspace" outlook will open for the user, and in this case my users only want to use their locally installed Outlook. This so i can save on Resources and easier for user.
Hey Travis,

Not sure if i understand it properly, please correct me.
Should i do a batch file that opens both Outlook and CRM system? Should Outlook be minized or regular?

Also, I have tired opening Outlook on the user profile and have it on the background but did not solve the issue.

Hello @Travis Roberts 

 

I have tried making a batch file that opens both Outlook and CRM at the same time, it works fine.

Problem is that, Outlook is not minized, so it's opened in taskbar.

 

Any ideas ? 

What i would need to fix this issue would be if, RDS Outlook somehow only was open in system tray.

@ZureliaSE the "start /min" command will start applications minimized.  That may get what you are looking for but I haven't tried it with WVD.  

I tried making a batch file that
Start /min Outlook.exe but it appears in system tray but also in task bar (which is not the solution im looking for, only want it in background so it can trigger send/recieve)

I managed to find a script, that worked fine on my local pc https://www.reddit.com/r/PowerShell/comments/et0ml2/hide_a_minimized_application/

But when add this script, to the batch file and publish it as application it does not get minized as a remoteapp.

Sadly....
Starting to give up, just does not seem to be a solution here, feels like i have been searching the whole internet to fix this