Class SmtpClient


  • public class SmtpClient
    extends org.subethamail.smtp.client.SmartClient
    SmtpClient extends SmartClient so that it requires no additional information to connect to a client.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.subethamail.smtp.client.SMTPClient

        org.subethamail.smtp.client.SMTPClient.Response
    • Constructor Summary

      Constructors 
      Constructor Description
      SmtpClient()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connect()  
      MtaAddress getMtaAddress()  
      void setMtaAddress​(MtaAddress mtaAddress)  
      • Methods inherited from class org.subethamail.smtp.client.SmartClient

        connect, dataEnd, dataStart, dataWrite, from, getAuthenticator, getExtensions, getHeloHost, getRecipientCount, quit, receive, sendHeloOrEhlo, sentFrom, sentTo, setAuthenticator, setHeloHost, to
      • Methods inherited from class org.subethamail.smtp.client.SMTPClient

        close, createSocket, getBindpoint, getHostPort, isConnected, receiveAndCheck, send, sendAndCheck, sendReceive, setBindpoint, setHostPort, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SmtpClient

        public SmtpClient()
    • Method Detail

      • connect

        public void connect()
                     throws org.subethamail.smtp.client.SMTPException,
                            java.io.IOException
        Throws:
        org.subethamail.smtp.client.SMTPException
        java.io.IOException
      • getMtaAddress

        public MtaAddress getMtaAddress()
      • setMtaAddress

        public void setMtaAddress​(MtaAddress mtaAddress)