Emails not being sent if bcc option is checked
Some users of my Redmine instance complained about not receiving email when tried to recover the password. I entered the email config page and sent a test email, that was NOT delivered. Trying to discover why, I unchecked the bcc checkbox, saved, and sent the test email again. And it worked! As far as I tested, All emails sent to only 1 destination is not being sent correctly. The email is sent, but there is neither a "to" nor a "bcc" in the message (I checked my gmail and could see the mesages, but without destination).
Follows logs with the test email being sent with and without bcc.
Redmine 1.2.1.stable.7540 (MySQL)
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Database adapter mysql
Database schema version 20110511000000
#1 Updated by Bruno Medeiros over 8 years ago
- File test-with-bcc-outside-redmine.txt added
I double checked my email account now, and see all the messages are in the spam box... Although they were sent, there is something wrong in the message for it to be considered a spam, because I did a test outside Redmine, using the same account redmine uses and sending a message, with bcc, to the same destination, and it worked. I'm attaching the original of this test message.
Please edit the subject to "Emails being considered spam if bcc option is checked", I don't have permission to do that.