Interface MailSender

All Known Subinterfaces:
IMessageRecipient
All Known Implementing Classes:
Console, SimpleMessageRecipient, User

public interface MailSender
An entity which is allowed to send mail to an IUser. In Essentials, IUser and Console are the entities that implement this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the username of this MailSender.
    Gets the UUID of this MailSender or null if this sender doesn't have a UUID.
  • Method Details

    • getName

      String getName()
      Gets the username of this MailSender.
      Returns:
      The sender's username.
    • getUUID

      UUID getUUID()
      Gets the UUID of this MailSender or null if this sender doesn't have a UUID.
      Returns:
      The sender's UUID or null if N/A.