public class MailPluginApi extends Api
Constructor and Description |
---|
MailPluginApi(MailPlugin plugin,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
int |
checkMail(String provider,
String server,
String user,
String password) |
javax.mail.Message[] |
getMail(String provider,
String server,
String user,
String password) |
javax.mail.Message[] |
getMailHeaders(String provider,
String server,
String user,
String password) |
MailPlugin |
getPlugin() |
javax.mail.Store |
getStore(String provider) |
void |
setPlugin(MailPlugin plugin) |
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
public MailPluginApi(MailPlugin plugin, XWikiContext context)
public MailPlugin getPlugin()
public void setPlugin(MailPlugin plugin)
public int checkMail(String provider, String server, String user, String password) throws javax.mail.MessagingException
javax.mail.MessagingException
public javax.mail.Message[] getMailHeaders(String provider, String server, String user, String password) throws javax.mail.MessagingException
javax.mail.MessagingException
public javax.mail.Message[] getMail(String provider, String server, String user, String password) throws javax.mail.MessagingException
javax.mail.MessagingException
public javax.mail.Store getStore(String provider) throws javax.mail.MessagingException
javax.mail.MessagingException
Copyright © 2004–2021 XWiki. All rights reserved.