MessageBuilderConfigSetDomainKeysSignOnSend Method
Forces MailBee to sign all outgoing e-mail messages with DKIM or DomainKeys signatures.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public void SetDomainKeysSignOnSend(
	bool enabled,
	bool isWebApp,
	string[] headersToSign,
	string privateKeyStr,
	bool isFilename,
	string selector,
	DomainKeysTypes dkTypes
)

Parameters

enabled
Type: SystemBoolean
If true, enables automatic signing. If false, disables it (this is the default behavior).
isWebApp
Type: SystemBoolean
Must be true for ASP.NET applications, false otherwise.
headersToSign
Type: SystemString
The array of the names of the headers to be included in the signature, or a null reference (Nothing in Visual Basic) if all the message headers should be included in the signature.
privateKeyStr
Type: SystemString
The contents or the filename of the DomainKeys/DKIM private key.
isFilename
Type: SystemBoolean
If true, privateKeyStr denotes the private key filename; otherwise, the contents.
selector
Type: SystemString
The prefix of the sub-domain serving DomainKeys/DKIM for the sender domain.
dkTypes
Type: MailBee.SecurityDomainKeysTypes
Specifies which signatures to create (classic DK, newer DKIM, or both).
Remarks

This method tells MailBee to automatically call DomainKeysSign(Boolean, String, String, Boolean, String, DomainKeysTypes) each time this e-mail gets sent or submitted to the pickup folder.

MessageBuilderConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Builder property.

See Also