Examples of EmailListRecipientEntry


Examples of com.google.gdata.data.appsforyourdomain.provisioning.EmailListRecipientEntry

      String recipientAddress, String emailList)
      throws AppsForYourDomainException, ServiceException, IOException {

    LOGGER.log(Level.INFO, "Adding '" + recipientAddress + "' to emailList '" + emailList + "'.");

    EmailListRecipientEntry emailListRecipientEntry = new EmailListRecipientEntry();
    Who who = new Who();
    who.setEmail(recipientAddress);
    emailListRecipientEntry.addExtension(who);

    URL insertUrl =
        new URL(domainUrlBase + "emailList/" + SERVICE_VERSION + "/" + emailList + "/recipient");
    return emailListRecipientService.insert(insertUrl, emailListRecipientEntry);
  }
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.