Examples of deliver()


Examples of com.icegreen.greenmail.user.GreenMailUser.deliver()

        // whether users are identified by email or name alone)
        // in which case try retrieving by EMAIL rather than USER
        userManager.createUser(email, user, password);
        GreenMailUser gmUser = userManager.getUser(user);
        assert null != gmUser;
        gmUser.deliver(message);
    }

    public static MimeMessage toMessage(String text, String email, String charset) throws MessagingException
    {
        MimeMessage message = new MimeMessage(Session.getDefaultInstance(new Properties()));
View Full Code Here

Examples of com.icegreen.greenmail.user.GreenMailUser.deliver()

        GreenMailUser target = userManager.getUser(user);
        if (null == target)
        {
            throw new IllegalStateException("Failure in greenmail - see comments in test code.");
        }
        target.deliver((MimeMessage) message);
        Thread.sleep(STARTUP_PERIOD_MS);
    }

    protected void createBobAndStoreEmail(Object message) throws Exception
    {
View Full Code Here

Examples of me.normanmaurer.niosmtp.delivery.LMTPDeliveryAgent.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

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

Examples of messaging.AsyncMessaging.deliver()

        ConnectionHelper.setKeepAliveConnection(am, true);
        testInterceptors(bus);

        // oneway
        am.deliver("This is a test");
        am.deliver("This is another test");
    }
}
View Full Code Here

Examples of messaging.AsyncMessaging.deliver()

        ConnectionHelper.setKeepAliveConnection(am, true);
        testInterceptors(bus);

        // oneway
        am.deliver("This is a test");
        am.deliver("This is another test");
    }
}
View Full Code Here

Examples of messaging.AsyncMessaging.deliver()

        ConnectionHelper.setKeepAliveConnection(am, true);
        testInterceptors(bus);

        // oneway
        am.deliver("This is a test");
        am.deliver("This is another test");
    }
}
View Full Code Here

Examples of messaging.AsyncMessaging.deliver()

        ConnectionHelper.setKeepAliveConnection(am, true);
        testInterceptors(bus);

        // oneway
        am.deliver("This is a test");
        am.deliver("This is another test");
    }
}
View Full Code Here

Examples of net.reversehttp.messaging.Message.deliver()

                    : "relay@relay.localhost.lshift.net:8000";
            String body = (args.length > 1 && !args[1].equals("")) ? args[1]
                    : new Date().toString();
            Message msg = new Message(null, Address.parse(targetStr), body
                    .getBytes());
            msg.deliver();
        }
    }
}
View Full Code Here

Examples of org.apache.ivy.Ivy.deliver()

                    doValidate(settings), replacedynamicrev, splitConfs(conf))
                    .setResolveId(resolveId).setReplaceForcedRevisions(isReplaceForcedRev())
                    .setGenerateRevConstraint(generateRevConstraint).setMerge(merge)
                    .setPubBranch(pubBranch);
            if (mrid == null) {
                ivy.deliver(pubRevision, deliverpattern, options);
            } else {
                ivy.deliver(mrid, pubRevision, deliverpattern, options);
            }
        } catch (Exception e) {
            throw new BuildException("impossible to deliver " + mrid == null ? resolveId : mrid
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.