smtp client: if msg_size is 0, assume memory corruption and defer