@Test @IfProfileValue(name="runMailTests", value="true") @Ignore public final void testJavaMailerWithDefaults() throws Exception { JavaMailer jm = createMailer("Test message from testJavaMailer using details"); jm.mailSend(); }
public void mailSend() throws JavaMailerException { log().debug(createSendLogMsg()); sendMessage(buildMessage()); }
JavaMailer { public void mailSend() throws JavaMailerException { log().debug(createSendLogMsg()); sendMessage(buildMessage()); } }
JavaMailer { public void mailSend() throws JavaMailerException { log().debug(createSendLogMsg()); sendMessage(buildMessage()); } JavaMailer(Properties javamailProps);  JavaMailer(); }
JavaMailer { public void mailSend() throws JavaMailerException { log().debug(createSendLogMsg()); sendMessage(buildMessage()); } JavaMailer(Properties javamailProps);  JavaMailer(); void mailSend(); Authenticator createAuthenticator(); Message buildMessage(); MimeBodyPart createFileAttachment(final File file); void sendMessage(Message message); String getPassword(); void setPassword(String password); String getUser(); void setUser(String user); boolean isUseJMTA(); void setUseJMTA(boolean useMTA); String getFrom(); void setFrom(String from); boolean isAuthenticate(); void setAuthenticate(boolean authenticate); String getFileName(); void setFileName(String fileName); InputStream getInputStream(); void setInputStream(InputStream inputStream); String getInputStreamName(); void setInputStreamName(String inputStreamName); String getInputStreamContentType(); void setInputStreamContentType(String inputStreamContentType); String getMailHost(); void setMailHost(String mail_host); String getMailer(); void setMailer(String mailer); String getMessageText(); void setMessageText(String messageText); String getSubject(); void setSubject(String subject); String getTo(); void setTo(String to); String getTransport(); void setTransport(String transport); boolean isDebug(); void setDebug(boolean debug); Session getSession(); void setSession(Session session); String getContentType(); void setContentType(String contentType); String getCharSet(); void setCharSet(String charSet); String getEncoding(); void setEncoding(String encoding); boolean isStartTlsEnabled(); void setStartTlsEnabled(boolean startTlsEnabled); boolean isQuitWait(); void setQuitWait(boolean quitWait); int getSmtpPort(); void setSmtpPort(int smtpPort); boolean isSmtpSsl(); void setSmtpSsl(boolean smtpSsl); Properties getMailProps(); Map<String,String> getExtraHeaders(); void setExtraHeaders(final Map<String,String> headers); void addExtraHeader(final String key, final String value); }
JavaMailer { public void mailSend() throws JavaMailerException { log().debug(createSendLogMsg()); sendMessage(buildMessage()); } JavaMailer(Properties javamailProps);  JavaMailer(); void mailSend(); Authenticator createAuthenticator(); Message buildMessage(); MimeBodyPart createFileAttachment(final File file); void sendMessage(Message message); String getPassword(); void setPassword(String password); String getUser(); void setUser(String user); boolean isUseJMTA(); void setUseJMTA(boolean useMTA); String getFrom(); void setFrom(String from); boolean isAuthenticate(); void setAuthenticate(boolean authenticate); String getFileName(); void setFileName(String fileName); InputStream getInputStream(); void setInputStream(InputStream inputStream); String getInputStreamName(); void setInputStreamName(String inputStreamName); String getInputStreamContentType(); void setInputStreamContentType(String inputStreamContentType); String getMailHost(); void setMailHost(String mail_host); String getMailer(); void setMailer(String mailer); String getMessageText(); void setMessageText(String messageText); String getSubject(); void setSubject(String subject); String getTo(); void setTo(String to); String getTransport(); void setTransport(String transport); boolean isDebug(); void setDebug(boolean debug); Session getSession(); void setSession(Session session); String getContentType(); void setContentType(String contentType); String getCharSet(); void setCharSet(String charSet); String getEncoding(); void setEncoding(String encoding); boolean isStartTlsEnabled(); void setStartTlsEnabled(boolean startTlsEnabled); boolean isQuitWait(); void setQuitWait(boolean quitWait); int getSmtpPort(); void setSmtpPort(int smtpPort); boolean isSmtpSsl(); void setSmtpSsl(boolean smtpSsl); Properties getMailProps(); Map<String,String> getExtraHeaders(); void setExtraHeaders(final Map<String,String> headers); void addExtraHeader(final String key, final String value);  }