Interface MailAddress

All Known Implementing Classes:
BasicMailAddress

public interface MailAddress
API for mail address information.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get list of addresses to blind-carbon-copy the mail to.
    Get list of addresses to carbon-copy the mail to.
    Get the address to send the mail from.
    Get list of addresses to send the mail to.
  • Method Details

    • getTo

      String[] getTo()
      Get list of addresses to send the mail to.
      Returns:
      array of email addresses
    • getCc

      String[] getCc()
      Get list of addresses to carbon-copy the mail to.
      Returns:
      array of email addresses
    • getBcc

      String[] getBcc()
      Get list of addresses to blind-carbon-copy the mail to.
      Returns:
      array of email addresses
    • getFrom

      String getFrom()
      Get the address to send the mail from.
      Returns:
      email address