Package com.cosmicpush.app.resources.api

Examples of com.cosmicpush.app.resources.api.SmtpEmailDelegate


    InetAddress inetAddress = InetAddress.getByName(remoteAddress);

    ApiRequest apiRequest = new ApiRequest(apiClient, action, inetAddress);
    config.getApiRequestStore().create(apiRequest);

    new SmtpEmailDelegate(config.getObjectMapper(), config.getApiRequestStore(), account, apiClient, apiRequest, action).run();

    msg = String.format("Test message sent to %s:\n%s", recipient, msg);
    apiClient.setLastMessage(msg);
    config.getAccountStore().update(account);
View Full Code Here


    if (useAwsEmail()) {
      new AwsEmailDelegate(config.getObjectMapper(), config.getApiRequestStore(), account, apiClient, apiRequest, push).resend();

    } else {
      new SmtpEmailDelegate(config.getObjectMapper(), config.getApiRequestStore(), account, apiClient, apiRequest, push).resend();
    }

    // Do not use the old References - they need to be reloaded.
    apiRequest = config.getApiRequestStore().getByApiRequestId(apiRequestId);
    push = (EmailPush)apiRequest.getPush();
View Full Code Here

TOP

Related Classes of com.cosmicpush.app.resources.api.SmtpEmailDelegate

Copyright © 2018 www.massapicom. 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.