I am using the MVC pattern in ASP.NET using service (BLL) and repository layers for data managment. In some cases, I want to send out an automatic e-mail when a new request is sent through our website. In what layer of the architecture should this e-mail be sent? In the controller layer or the service layer? I was thinking the service layer, since that is where "business logic" is supposed to go, but am not 100% sure if that is semantically correct.
Edit: When I say "new request" I mean that a user takes an action that saves to some sort of datastore. As an example they create a new "Project" on the website. So the request will pass through the controller > service > repository layers.