com.jscape.inet.dns.record

## Class MailForwarder

- java.lang.Object
- - com.jscape.inet.dns.record.DnsRecord
  - - com.jscape.inet.dns.record.MailForwarder

- All Implemented Interfaces:
    java.io.Serializable

      public class MailForwarder
      extends DnsRecord

  MailForwarder record represents a mail forwarder domain. Obsolete per RFC 1035 - use MailExchanger record
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MailForwarder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getMailForwarder()` Gets domain-name which specifies a host which has a mail agent for the domain which will accept mail for forwarding to the domain.
    `java.lang.String` | `toString()` Gets String representation of this record.

    - ### Methods inherited from class com.jscape.inet.dns.record.DnsRecord

      `getRecordClass, getRecordName, getRecordTTL, getRecordType, init, isValid`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MailForwarder

          public MailForwarder()

  - ### Method Detail

    - #### getMailForwarder

          public java.lang.String getMailForwarder()

      Gets domain-name which specifies a host which has a mail agent for the domain which will accept mail for forwarding to the domain.
      Returns:
        domain-name

    - #### toString

          public java.lang.String toString()

      Gets String representation of this record.
      Overrides:
        `toString` in class `java.lang.Object`
      Returns:
        String

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved