Author: pmouawad
Date: Sun Feb 5 13:29:53 2012
New Revision: 1240726
URL: http://svn.apache.org/viewvc?rev=1240726&view=rev
Log:
Bug 52603 - MailerVisualizer : Enable SSL , TLS and Authentication
Fixed @throws Javadocs
Modified:
jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
Modified: jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java?rev=1240726&r1=1240725&r2=1240726&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java Sun Feb 5 13:29:53
2012
@@ -320,8 +320,8 @@ public class MailerModel extends Abstrac
* @param user the login used to authenticate
* @param password the password used to authenticate
* @param mailAuthType {@link MailAuthType} Security policy
- * @throws AddressException
- * @throws MessagingException
+ * @throws AddressException If mail address is wrong
+ * @throws MessagingException If building MimeMessage fails
*/
public void sendMail(String from, List<String> vEmails, String subject,
String attText, String smtpHost,
@@ -329,7 +329,7 @@ public class MailerModel extends Abstrac
final String user,
final String password,
MailAuthType mailAuthType)
- throws AddressException, MessagingException {
+ throws AddressException, MessagingException{
String host = smtpHost;
boolean debug = Boolean.valueOf(host).booleanValue();
// InetAddress remote = InetAddress.getByName(host);
@@ -391,8 +391,8 @@ public class MailerModel extends Abstrac
/**
* Send a Test Mail to check configuration
- * @throws AddressException
- * @throws MessagingException
+ * @throws AddressException If mail address is wrong
+ * @throws MessagingException If building MimeMessage fails
*/
public synchronized void sendTestMail() throws AddressException, MessagingException {
String to = getToAddress();
|