Class SendMail


  • public class SendMail
    extends Object
    This class is used to handle the "Send reminder email" functionality for JobTracker. NEVER push the username/password of the email you have set up to your repo.
    • Constructor Detail

      • SendMail

        public SendMail()
    • Method Detail

      • sendEmail

        public static void sendEmail​(String tEmail)
        This method uses the javax mail package to send an email using Outlook. In order to use this method, make sure to set up an outlook email and supply the username and password in the "fromEmail" and "password" fields. The email contains a list of the 5 most upcoming deadlines for the user.
        Parameters:
        tEmail - email to send to