heartcombo/mail_form

What is best way to copy message to sender?

airblade opened this issue · 1 comments

I'd like to offer the user filling in a contact form a checkbox which they could tick if they'd like to receive a copy of their message.

What's the best way to do this?

I think you should be able to use an after_deliver callback in your MailForm class, and deliver a new mail to the given email if the user has asked for it.