If I already have a Mailer class with a contact_message method for an
enquiry form, can I use the same Mailer, just add methods to it if I
want to send a confirmation email when an order i splaced? or should I
create a new mailer?
If I already have a Mailer class with a contact_message method for an
enquiry form, can I use the same Mailer, just add methods to it if I
want to send a confirmation email when an order i splaced? or should I
create a new mailer?
Yes you can, but that doesn’t necessarily mean you should (in the
same way that you could have a single controller containing all of
your app’s actions but that would also be a bad idea).