What are Mail class methods?

What are Mail class methods?

List of different mail class methods are -

  1. Host - The host name of the SMTP server.
  2. Mail - Send the mail message.
  3. Domain - Domain name of the host.
  4. New - Create a new email object.
  5. Port - TCP port number of the SMTP server.