rails 3 + devise: how to modify the mailer method for confirmation emails to add user's second email address
问题 Background: In our app, we often have a sales rep do the setup for our customer using the salesperson's computer (often customers don't have access to their email at the time we set them up). So we're thinking to add a field to the devise registration form for the sales rep's email address and have the confirm link ALSO go to that email address. Question: Is there a way to tell devise to bcc (or cc) the initial confirmation email ( only the initial confirmation email ) to an (optional)