From 33790ec1c41986d95d95c10b7dc78e3d26b17f2b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 23 Aug 2007 22:02:59 +0000
Subject: [PATCH] Add a main method to the org.opends.server.util.EMailMessage class that can be used to send an e-mail message from the command line.
---
opends/src/messages/messages/utility.properties | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/opends/src/messages/messages/utility.properties b/opends/src/messages/messages/utility.properties
index 4f02a3b..47e1299 100644
--- a/opends/src/messages/messages/utility.properties
+++ b/opends/src/messages/messages/utility.properties
@@ -423,3 +423,28 @@
INFO_SUBCMDPARSER_OPTIONS_168={options}
INFO_SUBCMDPARSER_SUBCMD_AND_OPTIONS_169={subcommand} {options}
INFO_SUBCMDPARSER_WHERE_OPTIONS_INCLUDE_170=\ where {options} include:
+INFO_EMAIL_TOOL_DESCRIPTION_171=Send an e-mail message via SMTP
+INFO_EMAIL_HOST_DESCRIPTION_172=The address of the SMTP server to use to send \
+ the message
+INFO_EMAIL_FROM_DESCRIPTION_173=The address to use for the message sender
+INFO_EMAIL_TO_DESCRIPTION_174=The address to use for the message recipient
+INFO_EMAIL_SUBJECT_DESCRIPTION_175=The subject to use for the e-mail message
+INFO_EMAIL_BODY_DESCRIPTION_176=The path to the file containing the text for \
+ the message body
+INFO_EMAIL_ATTACH_DESCRIPTION_177=The path to a file to attach to the e-mail \
+ message
+INFO_EMAIL_HELP_DESCRIPTION_178=Display this usage information
+SEVERE_ERR_CANNOT_INITIALIZE_ARGS_179=An error occurred while attempting to \
+ initialize the argument parser: %s
+SEVERE_ERR_CANNOT_PARSE_ARGS_180=An error occurred while attempting to parse \
+ the provided command-line arguments: %s
+SEVERE_ERR_EMAIL_NO_SUCH_BODY_FILE_181=The file %s specified as the body file \
+ for the e-mail message does not exist
+SEVERE_ERR_EMAIL_CANNOT_PROCESS_BODY_FILE_182=An error occurred while \
+ attempting to process message body file %s: %s
+SEVERE_ERR_EMAIL_NO_SUCH_ATTACHMENT_FILE_183=The attachment file %s does not \
+ exist
+SEVERE_ERR_EMAIL_CANNOT_ATTACH_FILE_184=An error occurred while trying to \
+ attach file %s: %s
+SEVERE_ERR_EMAIL_CANNOT_SEND_MESSAGE_185=An error occurred while trying to \
+ send the e-mail message: %s
--
Gitblit v1.10.0