Class MSMTP

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_SMTP, I_Persistent, Evaluatee, ImmutablePOSupport

public class MSMTP extends X_AD_SMTP implements ImmutablePOSupport
SMTP server for specific email address or domain
See Also:
  • Constructor Details

    • MSMTP

      public MSMTP(Properties ctx, String AD_SMTP_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_SMTP_UU - UUID key
      trxName - Transaction
    • MSMTP

      public MSMTP(Properties ctx, int AD_SMTP_ID, String trxName)
      SMTP constructor
      Parameters:
      ctx - context
      AD_SMTP_ID - ID
      trxName - transaction
    • MSMTP

      public MSMTP(Properties ctx, ResultSet rs, String trxName)
      SMTP constructor
      Parameters:
      ctx - context
      rs - ResultSet
      trxName - transaction
    • MSMTP

      public MSMTP(Properties ctx, MSMTP copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MSMTP

      public MSMTP(Properties ctx, MSMTP copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MSMTP get(Properties ctx, int clientID, String from)
      Search a SMTP server for the sender (1st try with the full address, 2nd try with domain only)
      Parameters:
      ctx -
      clientID -
      from - from email address
      Returns:
      MSMTP or null
    • get

      public static MSMTP get(Properties ctx, int clientID, String from, String trxName)
      Search a SMTP server for the sender (1st try with the full address, 2nd try with domain only)
      Parameters:
      ctx -
      clientID -
      from - from email address
      trxName -
      Returns:
      MSMTP or null
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_AD_SMTP
      Returns:
      info
    • markImmutable

      public MSMTP markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO