Project project = client.getProject(sessionKey, projectGuid);
Page currentPg = project.getPageById("34009");
boolean withFollowingPages = false;
boolean withRelated = true;
PublishingJob job = new PublishingJob(currentPg, withFollowingPages, withRelated);
job.addToPublish("projectVariantGuid1,projectVariantGuid2,projectVariantGuid3", ",", "languageVariantGuid");
// currentPg.publishAllCombinations(withFollowingPages, "projectVariantGuids", "separator", "languageVariantGuids");
job.setMailReceiver(client.getConnectedUser());
job.start();
job.getNumberOfPublishingMails();
}