Beispiel #1
0
        /// <summary>
        /// devuelve el contenido del mensaje en texto plano
        /// </summary>
        /// <returns></returns>
        public string GetPlainText()
        {
            string ret = string.Empty;

            if (ContentStream != null)
            {
                ret = ContentStream.ReadToEnd(
                    message.ContentTransferEncoding,
                    WebConfig.BufferSize);
            }

            return(ret);
        }