Had an email was supposed to be sent to my system which included a user email address as content in the email however setting the instance variable @email = user.email and then sending that to apostle via mail('contact-form', email: 'system@mywesbite.com') resulted in the email being sent to user.email instead.
IMO instance variables should not clobber the core mail params (or at least a note be made in the rails integration documentation regarding reserved variable names).
Had an email was supposed to be sent to my system which included a user email address as content in the email however setting the instance variable @email = user.email and then sending that to apostle via mail('contact-form', email: 'system@mywesbite.com') resulted in the email being sent to user.email instead.
IMO instance variables should not clobber the core mail params (or at least a note be made in the rails integration documentation regarding reserved variable names).