title: ASP.NET ：How to get the domain name of server in a Quartz Job？
body: <p>My website runs on IIS in integrated mode(.Net 4.5).<br>
  I want to send emails in a Quartz job. Each email has a hyperlink to my website. I need to get the domain name in the job ,so the server can create the hyperlink dynamically.<br>
  But my colleagues told me that it is not possible to get the domain name without receiving a request, which means I must get <strong>HttpContext.Current.Request.Url</strong> for resolving the domain name.   </p>
  
  <p><strong>My question is</strong>：
  Is it possible to get the domain name in a Quartz job? Why?</p>
  
  <p>Thanks a lot.</p>