Forcing actionmailer to send text based emails
I was very surprised to find out that a user from an un-named large financial services company uses lotus notes (actually the whole company uses lotus notes). The application that I'm working on sends a lot of html email and I received a screenshot of what that user was seeing and wow, that is definitely an email client that can't render html.
Sending out multipart emails (with a text/plain part and a text/html) didn't help me because for some reason lotus notes believes it can render html emails so that won't work.
The work around I found was to actually create the tmail object and then remove the html part from the mime parts:
email = create_email
part = email.parts.detect { |p| p.to_s.include?("Content-Type: text/html;") }
email.parts.delete partThis way your users will get only text email. No chance of crappy html in lotus notes.