I have a bunch of ActionMailer emails that are causing some of our users to hit a "Unsafe website" error message in their browser.
In my production.rb
I have this line
config.action_mailer.default_url_options = {host: 'app.mybeautifulapp.com', protocol: 'https'}
However, the link that users are receiving in their emails look like this
http://url9522.mybeautifulapp.com/ls/click?upn=CAp2S4s83QBSYKFZSCk5WwfWNUsqJYF6px5T-2BOuGToTGZ8t9qB4P4BTaKBZqlk2vVoJVe9xuVz2PSMMTc7S2AutaZ6j0v5W1XCh75hyix90-3DJuxV_ZtyLTlYa78bQffWNrIlGC7tg8tsMt2Men5eX6g6gxS5tsHKfqDtf3RkdzuylrapUrcYdz5qdOo197RxRznJbD3B9yvPNOfWqgC-2Bh4wL2NohNLpvcJqZw-2FGgQ6LY3XiK3YJIsSWupLZw4LZVPpoJ1fOqV6ugSpk5j8jFmtwCRrxv4UdNgdxksxB6MPGA3NgdMRRNqT1Rla6sBuPyKnZW5thuGtYx4LBqkenbIwTvRMM0-3D
Both the subdomain and the protocol are being ignored. Any way I can fix this?