title: Should application layer depend on infrastructure layer in DDD?
body: <p>I read that application service is used to orchestrate, they handle workflows of an application.</p>
  
  <p>Eg: After transferring money from user A to user B, system must send email.</p>
  
  <p>So application service calls domain entities, domain services to process domain logic. Then call infrastructure to send email. Then application layer depends on domain layer and infrastructure layer. Does it violate DDD? Should application layer depend on infrastructure layer in DDD?</p>