public class MailServiceUtil
extends Object
Constructor and Description |
---|
MailServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addForward(long companyId,
long userId,
List<Filter> filters,
List<String> emailAddresses,
boolean leaveCopy) |
static void |
addUser(long companyId,
long userId,
String password,
String firstName,
String middleName,
String lastName,
String emailAddress) |
static void |
addVacationMessage(long companyId,
long userId,
String emailAddress,
String vacationMessage) |
static void |
clearSession() |
static void |
deleteEmailAddress(long companyId,
long userId) |
static void |
deleteUser(long companyId,
long userId) |
static MailService |
getService() |
static javax.mail.Session |
getSession() |
static void |
sendEmail(MailMessage mailMessage) |
void |
setService(MailService mailService) |
static void |
updateBlocked(long companyId,
long userId,
List<String> blocked) |
static void |
updateEmailAddress(long companyId,
long userId,
String emailAddress) |
static void |
updatePassword(long companyId,
long userId,
String password) |
public static void addForward(long companyId, long userId, List<Filter> filters, List<String> emailAddresses, boolean leaveCopy)
public static void addUser(long companyId, long userId, String password, String firstName, String middleName, String lastName, String emailAddress)
public static void addVacationMessage(long companyId, long userId, String emailAddress, String vacationMessage)
public static void clearSession()
public static void deleteEmailAddress(long companyId, long userId)
public static void deleteUser(long companyId, long userId)
public static MailService getService()
public static javax.mail.Session getSession()
public static void sendEmail(MailMessage mailMessage)
public static void updateBlocked(long companyId, long userId, List<String> blocked)
public static void updateEmailAddress(long companyId, long userId, String emailAddress)
public static void updatePassword(long companyId, long userId, String password)
public void setService(MailService mailService)