I read that application service is used to orchestrate, they handle workflows of an application.
Eg: After transferring money from user A to user B, system must send email.
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?