lucee.runtime.exp.NativeException: No provider for smtp

Google Groups | Roger Samuel | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sending email generates an error No provider for smtp

    Google Groups | 6 months ago | Roger Samuel
    lucee.runtime.exp.NativeException: No provider for smtp

    Root Cause Analysis

    1. lucee.runtime.net.mail.MailException

      No provider for smtp

      at javax.mail.Session.getProvider()
    2. JavaMail API
      Session.getTransport
      1. javax.mail.Session.getProvider(Session.java:473)
      2. javax.mail.Session.getTransport(Session.java:667)
      3. javax.mail.Session.getTransport(Session.java:648)
      3 frames
    3. lucee.runtime.net
      SMTPClient._send
      1. lucee.runtime.net.smtp.SMTPConnectionPool$SessionAndTransport.<init>(SMTPConnectionPool.java:179)
      2. lucee.runtime.net.smtp.SMTPConnectionPool.getSessionAndTransport(SMTPConnectionPool.java:55)
      3. lucee.runtime.net.smtp.SMTPClient.createMimeMessage(SMTPClient.java:424)
      4. lucee.runtime.net.smtp.SMTPClient._send(SMTPClient.java:781)
      4 frames
    4. lucee.runtime.spooler
      SpoolerEngineImpl$TaskThread.run
      1. lucee.runtime.spooler.mail.MailSpoolerTask.execute(MailSpoolerTask.java:113)
      2. lucee.runtime.spooler.SpoolerTaskSupport._execute(SpoolerTaskSupport.java:103)
      3. lucee.runtime.spooler.SpoolerEngineImpl.execute(SpoolerEngineImpl.java:587)
      4. lucee.runtime.spooler.SpoolerEngineImpl$TaskThread.run(SpoolerEngineImpl.java:522)
      4 frames