I'd like to send an email from my rails3 application to a set of users but have a dummy To address.
For example:
To: Some Entity
From: Some Entity
Bcc: [email protected], [email protected], [email protected]
However, since ActionMailer leaves it up to the MTA to parse out the email addresses to send to (as opposed to passing an explicit recipient list), the MTA errors on the invalid To: address.
Is there anyway to provide a non-valid address for the To: field with ActionMailer or to divorce the email headers and RCPT list?