Skip to content

M_NChronicle_SMTP_Configuration_SmtpChronicleLibraryConfiguration_WithSender

Andrew James edited this page Aug 3, 2017 · 1 revision

SmtpChronicleLibraryConfiguration.WithSender Method (MailAddress)

Set the fromAddress from which records are emailed. The default is no from address (no email is sent).

Namespace: NChronicle.SMTP.Configuration
Assembly: NChronicle.SMTP (in NChronicle.SMTP.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public void WithSender(
	MailAddress fromAddress
)

VB

Public Sub WithSender ( 
	fromAddress As MailAddress
)

F#

member WithSender : 
        fromAddress : MailAddress -> unit 

Parameters

 

fromAddress
Type: System.Net.Mail.MailAddress
The email address to send emails from.

See Also

Reference

SmtpChronicleLibraryConfiguration Class
WithSender Overload
NChronicle.SMTP.Configuration Namespace

Clone this wiki locally