huacnlee / social-share-button

Helper for add social share feature in your Rails app. Twitter, Facebook, Weibo, Douban ...
MIT License
582 stars 309 forks source link

Remove to param from email URL #196

Closed castwide closed 3 years ago

castwide commented 3 years ago

This is a small change to remove the empty to parameter from the email button URL. It caused the headers to get mangled in Outlook. Since it's empty (and the to parameter is usually specified in the path anyway), it shouldn't affect other clients.

Confirmed to work as expected in Outlook, Gmail, and MacOS Mail.