Unosquare
    Show / Hide Table of Contents

    Class SmtpExtensions

    Extension methods.

    Inheritance
    Object
    SmtpExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan
    Syntax
    public static class SmtpExtensions

    Methods

    ToMimeMessage(MailMessage)

    The raw contents of this MailMessage as a MemoryStream.

    Declaration
    public static MemoryStream ToMimeMessage(this MailMessage this)
    Parameters
    Type Name Description
    MailMessage this

    The caller.

    Returns
    Type Description
    MemoryStream

    A MemoryStream with the raw contents of this MailMessage.

    Comments

    Back to top Copyright © 2017-2019 Unosquare