Module org.jpo
Package org.jpo.gui

Class Emailer

All Implemented Interfaces:
Runnable, Future<String>, RunnableFuture<String>

public class Emailer extends SwingWorker<String,String>
This thread sends the emails.
  • Constructor Details

    • Emailer

      public Emailer(List<SortableDefaultMutableTreeNode> emailSelected, javax.mail.internet.InternetAddress senderAddress, javax.mail.internet.InternetAddress destinationAddress, String subjectLine, String bodyText, boolean scaleImages, Dimension scaleSize, boolean sendOriginal)
      Creates and starts a Thread that writes the picture nodes from the specified receivingNode to the target directory.
      Parameters:
      emailSelected - List of nodes for emailing
      senderAddress - The sender address
      destinationAddress - The destination Address
      subjectLine - The subject line
      bodyText - The body Text
      scaleImages - Whether to scale images
      scaleSize - The size to scale them to
      sendOriginal - Whether to include originals
  • Method Details