[mms] Workaround broken Net_SMTP handling regarding the end of message data (Bug #12614).