Neokernel API

SendEmailInterface Interface

This interface describes functionality for sending email messages.

For a list of all members of this type, see SendEmailInterface Members .

public interface SendEmailInterface

Types that implement SendEmailInterface

Type Description
SendEmailAgent

This agent queues up email messages and sends them to the smtp_host at regular intervals. There are a variety of properties that can be configured which define how and when these messages are sent. This agent implements the SendEmailInterface and registers with the Service Manager for other agents to use.

The SendEmailAgent supports the following properties:

service_name
The name this agent uses to register with Service Manager. The default value is send_email
max_queue_size
Max size of the message queue. Default value is 100
smtp_sleep_ms
Number of milliseconds to wait before checking the queue for new messages to send. Default value is 5000
smtp_host
Hostname or IP address of the SMTP server. Default value is localhost
smtp_port
Port to use for SMTP communications. Default value is 25
smtp_timeout_ms
SMTP timeout in milliseconds. Default value is 30000
auth_username
Username to use for SMTP communications (optional). Default value is none
auth_password
Password to use for SMTP communications (optional). Default value is none

Requirements

Namespace: com.neokernel.email

Assembly: Neokernel (in Neokernel.exe)

See Also

SendEmailInterface Members | com.neokernel.email Namespace