I have an Exception Handler that email our Help Desk software whenever there is an error. All properties for the Mailer are handled in app.config. One of which looks like this --> <add key="from" value="[email protected]"/>
Is there a way to have the value set to Environment.Username + '@ourcompany.org
.
As a side note this is an internal app only.