Email sent to address depending on chosen subject
Is it possible to have an email sent to a particular email address depending on which subject is chosen? For example, if the "service" subject/option is chosen, the email needs to be sent to the service department's email address. If "sales" is chosen, it needs to be sent to the sales department's email address...and so on. Somebody please tell me how this can be done.