Click or drag to resize

Email Class

Represents an e-mail message object.
Inheritance Hierarchy
SystemObject
  Dynamicweb.News.CommonEmail

Namespace:  Dynamicweb.News.Common
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public class Email

The Email type exposes the following members.

Constructors
  NameDescription
Public methodEmail
Constructor.
Top
Properties
  NameDescription
Public propertyAttachment
Returns the message's collection of attachments.
Public propertyBody
Stores and retrieves the current newsletter body text.
Public propertyCreationTime
Stores and retrieves the current newsletter date of creation.
Public propertyEncoding Obsolete.
Stores and retrieves the current newsletter encoding.
Public propertyFromAddress
Stores and retrieves a sender e-mail address.
Public propertyFromName
Gets the sender name.
Public propertyMailEncoding
Stores and retrieves the current newsletter encoding.
Public propertyMailFormat
Stores and retrieves the current newsletter format.
Public propertyReplyTo
Stores and retrieves the e-mail of the recipient, which will be received the copy of this message.
Public propertySMTP
Stores and retrieves SMTP server name or IP address, which will send a newsletter.
Public propertySubject
Stores and retrieves the message subject.
Public propertyToAddress
Stores and retrieves E-mail of the recipient.
Public propertyToName
Stores and retrieves the recipient name.
Top
Methods
  NameDescription
Public methodAddAttachment
Adds the specified attachment to the collection.
Public methodGetByteArray
Returns an array of bytes represents a message.
Public methodRemoveFileFromAttachment
Finds and removes the specified attached file from the collection.
Public methodSend
Sends the current e-mail message.
Public methodStatic memberSendMail(String, String, String, String, String, String, String)
Creates and sends the e-mail message.
Public methodStatic memberSendMail(String, String, String, String, String, String, Encoding)
Creates and sends the e-mail message.
Public methodSendToPickUpDirectory
Saves the current message in the DropFolder of SMTP server.
Top
Remarks