I'm trying to make my first kotlin service and want it to send emails. I'm following this tutorial https://odalinjo.wordpress.com/2017/06/06/sending-mail-via-gmail-using-kotlin-and-commons-mail-library/, but I'm getting the following error....I'm not really sure what it even means?
java.lang.NoSuchMethodError: com.sun.mail.util.TraceInputStream.<init>(Ljava/io/InputStream;Lcom/sun/mail/util/MailLogger;
Any help is appreciated.