[mms] Fix returning reply code in Exceptions.
[mms] Don't provide links to view attachments in compose screen unless the attachment can be displayed (Bug #12841).