Neokernel API

Emailer Class

This subclass of Thread sends Email using the ESMTPSender class. This Thread will sleep until the send(IMessage) method is called, which causes the Thread to wake up. Upon wakeup, the Thread checks the queue for IMessages to send and sends them. Messages that return an error when attempting to deliver the message will be dropped from the queue. If the SMTP host which this Thread uses to relay the message is down, all the messages are added back into the Queue. The mesage queue has a max size of 500 messages.

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

System.Object
   ThreadClass
      Emailer

public class Emailer : ThreadClass

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: com.neokernel.email

Assembly: Neokernel (in Neokernel.exe)

See Also

Emailer Members | com.neokernel.email Namespace