Class Sender

java.lang.Object
org.flasby.net.mail.Sender

public class Sender extends Object
sends mail using SMTP. Potentially another implementation could send using another protocol, but this would require more abstraction than I can be bothered with just now. Protocol is:
  • Open socket
  • Wait for greeting from server
  • Send EHLO with
Author:
steve
  • Constructor Details

    • Sender

      public Sender(String smtpHost, int smtpPort, Message msg)
  • Method Details

    • processSocketFault

      public void processSocketFault(Exception ex)
    • getState

      public SmtpState getState()
    • send

      public void send()