Class EMailConnection
This class supports the EPiServer infrastructure and is not intended to be used directly from your code. Used to send e-mail for XForms when specified by an editor.
Inheritance
System.Object
EMailConnection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.XForms.Implementation
Assembly: EPiServer.XForms.dll
Version: 8.11.0Syntax
public class EMailConnection
Constructors
EMailConnection()
Declaration
public EMailConnection()
Properties
From
Declaration
public string From { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Subject
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
To
Declaration
public string To { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UrlContentBase
Declaration
public string UrlContentBase { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XMailer
Declaration
public string XMailer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XsltUrl
Declaration
public string XsltUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
SendEmail(XFormData)
Declaration
public void SendEmail(XFormData xFormData)
Parameters
Type | Name | Description |
---|---|---|
XFormData | xFormData |
SendEmail(Object, ChannelEventArgs)
Declaration
public void SendEmail(object sender, ChannelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
ChannelEventArgs | e |
SendMail(MailMessage)
Declaration
protected void SendMail(MailMessage message)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Mail.MailMessage | message |