📄 i_adminsmtpclient.java
字号:
/*------------------------------------------------------------------------------Name: I_AdminSmtpClient.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment: Interface to access information about a client instance------------------------------------------------------------------------------*/package org.xmlBlaster.util.admin;/** * Declares available methods to control the POP3 email poller. * * @author xmlBlaster@marcelruff.info * @since 1.0.8 * @see org.xmlBlaster.util.protocol.email.SmtpClient */public interface I_AdminSmtpClient extends I_AdminUsage { /** * Force the MsgUnit attachment to always be base64 encoded. * @return Force base64 */ public boolean isContentForceBase64(); /** * Setting this to true we can force the MsgUnit attachment to * always be base64 encoded. * <br /> * Javamail does base64 encoding automatically if need so * the default of this variable is false. * @param contentForceBase64 */ public void setContentForceBase64(boolean contentForceBase64); /** * @return Returns the messageIdForceBase64. */ public boolean isMessageIdForceBase64(); /** * Setting this to true we can force the messageId attachment to * always be base64 encoded. * <br /> * Javamail does base64 encoding automatically if need so * the default of this variable is false. */ public void setMessageIdForceBase64(boolean messageIdForceBase64); /** * If the message to send has an expiry date and this * addExpiresHeader=true we send an 'Expires:' header in the email * (Expiry Date Indication). * <br /> * Supported as new RFC 822 header (Expires:). In general, no * automatic action can be expected by MTAs. * <br /> * Defaults to true. * @see http://www.faqs.org/rfcs/rfc2156.html */ public boolean isAddExpiresHeader(); /** * Add 'Expires:' email header. * If the message to send has an expiry date and this * addExpiresHeader=true we send an 'Expires:' header in the email * (Expiry Date Indication). * <br /> * Supported as new RFC 822 header (Expires:). In general, no * automatic action can be expected by MTAs. * <br /> * Defaults to true. * @see http://www.faqs.org/rfcs/rfc2156.html */ public void setAddExpiresHeader(boolean addExpiresHeader); /** * Defaults to false. * @return Returns the breakLongMessageIdLine. */ public boolean isBreakLongMessageIdLine(); /** * Defaults to false. * If set to true tries to keep the <messageId> markup in lines * shorter than 72 characters. * @param breakLongMessageIdLine The breakLongMessageIdLine to set. */ public void setBreakLongMessageIdLine(boolean breakLongMessageIdLine); /** * Access the SMTP access uri, * for example "smtp://aUser:mypassword@mySmtpHost.org:25" * @return The SMTP server uri */ public String getSmtpUrl(); /** * @param uri For example "smtp://aUser:mypassword@mySmtpHost.org:25" */ public void setSmtpUrl(String uri); /** * mail.smtp.timeout * Socket I/O timeout value in milliseconds. Default is infinite timeout. */ public int getSmtpIoTimeout(); /** * mail.smtp.connectiontimeout * Socket connection timeout value in milliseconds. Default is infinite timeout. */ public int getSmtpConnectionTimeout();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -