-
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
started renaming packages for #39 to match the domain name
- Loading branch information
Showing
38 changed files
with
1,057 additions
and
1,052 deletions.
There are no files selected for viewing
66 changes: 33 additions & 33 deletions
66
...emonkey/simplejavamail/MailException.java → ...ava/org/simplejavamail/MailException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
package org.codemonkey.simplejavamail; | ||
|
||
/** | ||
* This exception is used to communicate errors during the sending of email. | ||
* | ||
* @author Benny Bottema | ||
*/ | ||
@SuppressWarnings("serial") | ||
public class MailException extends RuntimeException { | ||
|
||
static final String GENERIC_ERROR = "Third party error"; | ||
static final String MISSING_HOST = "Can't send an email without host"; | ||
static final String MISSING_USERNAME = "Can't have a password without username"; | ||
static final String INVALID_ENCODING = "Encoding not accepted"; | ||
static final String INVALID_RECIPIENT = "Invalid TO address: %s"; | ||
static final String INVALID_REPLYTO = "Invalid REPLY TO address: %s"; | ||
static final String INVALID_SENDER = "Invalid FROM address: %s"; | ||
static final String MISSING_SENDER = "Email is not valid: missing sender"; | ||
static final String MISSING_RECIPIENT = "Email is not valid: missing recipients"; | ||
static final String MISSING_SUBJECT = "Email is not valid: missing subject"; | ||
static final String MISSING_CONTENT = "Email is not valid: missing content body"; | ||
static final String INVALID_DOMAINKEY = "Error signing MimeMessage with DKIM: %s"; | ||
static final String INVALID_PROXY_SLL_COMBINATION = "Proxy is not supported for SSL connections (this is a limitation by the underlying JavaMail framework)"; | ||
static final String MISSING_PROXY_USERNAME = "Missing proxy username"; | ||
static final String MISSING_PROXY_PASSWORD = "Missing proxy password"; | ||
|
||
MailException(final String message) { | ||
super(message); | ||
} | ||
|
||
public MailException(final String message, final Exception cause) { | ||
super(message, cause); | ||
} | ||
package org.simplejavamail; | ||
|
||
/** | ||
* This exception is used to communicate errors during the sending of email. | ||
* | ||
* @author Benny Bottema | ||
*/ | ||
@SuppressWarnings("serial") | ||
public class MailException extends RuntimeException { | ||
|
||
static final String GENERIC_ERROR = "Third party error"; | ||
static final String MISSING_HOST = "Can't send an email without host"; | ||
static final String MISSING_USERNAME = "Can't have a password without username"; | ||
static final String INVALID_ENCODING = "Encoding not accepted"; | ||
static final String INVALID_RECIPIENT = "Invalid TO address: %s"; | ||
static final String INVALID_REPLYTO = "Invalid REPLY TO address: %s"; | ||
static final String INVALID_SENDER = "Invalid FROM address: %s"; | ||
static final String MISSING_SENDER = "Email is not valid: missing sender"; | ||
static final String MISSING_RECIPIENT = "Email is not valid: missing recipients"; | ||
static final String MISSING_SUBJECT = "Email is not valid: missing subject"; | ||
static final String MISSING_CONTENT = "Email is not valid: missing content body"; | ||
static final String INVALID_DOMAINKEY = "Error signing MimeMessage with DKIM: %s"; | ||
static final String INVALID_PROXY_SLL_COMBINATION = "Proxy is not supported for SSL connections (this is a limitation by the underlying JavaMail framework)"; | ||
static final String MISSING_PROXY_USERNAME = "Missing proxy username"; | ||
static final String MISSING_PROXY_PASSWORD = "Missing proxy password"; | ||
|
||
MailException(final String message) { | ||
super(message); | ||
} | ||
|
||
public MailException(final String message, final Exception cause) { | ||
super(message, cause); | ||
} | ||
} |
1,400 changes: 700 additions & 700 deletions
1,400
...org/codemonkey/simplejavamail/Mailer.java → src/main/java/org/simplejavamail/Mailer.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...demonkey/simplejavamail/ServerConfig.java → ...java/org/simplejavamail/ServerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.