Package me.normanmaurer.niosmtp.delivery

Examples of me.normanmaurer.niosmtp.delivery.SMTPDeliveryAgent.deliver()


      SMTPDeliveryEnvelope transaction = new SMTPDeliveryEnvelopeImpl(
          "rustam@elasticinbox.com",
          Arrays.asList(new String[] { TEST_ACCOUNT, "nonexistent@example.com" }),
          new SMTPMessageImpl(this.getClass().getResourceAsStream(EMAIL_REGULAR)));

      SMTPClientFuture<Collection<FutureResult<Iterator<DeliveryRecipientStatus>>>> future = c
          .deliver(new InetSocketAddress(LMTP_PORT), conf, transaction);

      for(Iterator<FutureResult<Iterator<DeliveryRecipientStatus>>> i = future.get().iterator(); i.hasNext();)
      {
        FutureResult<Iterator<DeliveryRecipientStatus>> item = i.next();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.