How to determine which environment an application is running in Home Page › Forums › BizTalk 2004 – BizTalk 2010 › How to determine which environment an application is running in This topic has 2 replies, 1 voice, and was last updated 9 years, 8 months ago by community-content. Viewing 1 reply thread Author Posts October 26, 2009 at 8:41 AM #23533 community-content I want to email different people about status updates based on if the app is running on dev server or prod server. how can I accomplish this task? Thanks for any help October 26, 2009 at 9:17 AM #23534 community-content If you get the ServerName thn you know in which environment that server is running in then you can set some string saying..DEV,QA,PROD etc.. Like .. String machineName = System.Environment.MachineName; If(machineName == “xyz”) Then set some string in Outgoing email Subject or Body. October 26, 2009 at 9:23 AM #23535 community-content Thanks a bunch! Author Posts Viewing 1 reply thread The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies. Log in / Register