summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-07 17:24:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-07 17:24:20 +0000
commit7b6d11ed6abf1ae7c96c675b8829bdc31b884d53 (patch)
treeabde088e58dcad1dc17d4e8be55a8bc991205ff9 /extra
parent04fe0412e1d50c54401b03777847ecd189a313a4 (diff)
downloadredmine-7b6d11ed6abf1ae7c96c675b8829bdc31b884d53.tar.gz
redmine-7b6d11ed6abf1ae7c96c675b8829bdc31b884d53.zip
Removed comments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9651 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r--extra/mail_handler/rdm-mailhandler.rb54
1 files changed, 0 insertions, 54 deletions
diff --git a/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb
index bdab5da12..42622e708 100644
--- a/extra/mail_handler/rdm-mailhandler.rb
+++ b/extra/mail_handler/rdm-mailhandler.rb
@@ -1,59 +1,5 @@
#!/usr/bin/env ruby
-# == Synopsis
-#
-# Reads an email from standard input and forward it to a Redmine server
-# through a HTTP request.
-#
-# == Usage
-#
-# rdm-mailhandler [options] --url=<Redmine URL> --key=<API key>
-#
-# == Arguments
-#
-# -u, --url URL of the Redmine server
-# -k, --key Redmine API key
-#
-# General options:
-# --unknown-user=ACTION how to handle emails from an unknown user
-# ACTION can be one of the following values:
-# ignore: email is ignored (default)
-# accept: accept as anonymous user
-# create: create a user account
-# --no-permission-check disable permission checking when receiving
-# the email
-# --key-file=PATH path to a file that contains the Redmine
-# API key (use this option instead of --key
-# if you don't the key to appear in the
-# command line)
-# --no-check-certificate do not check server certificate
-# -h, --help show this help
-# -v, --verbose show extra information
-# -V, --version show version information and exit
-#
-# Issue attributes control options:
-# -p, --project=PROJECT identifier of the target project
-# -s, --status=STATUS name of the target status
-# -t, --tracker=TRACKER name of the target tracker
-# --category=CATEGORY name of the target category
-# --priority=PRIORITY name of the target priority
-# -o, --allow-override=ATTRS allow email content to override attributes
-# specified by previous options
-# ATTRS is a comma separated list of attributes
-#
-# == Examples
-# No project specified. Emails MUST contain the 'Project' keyword:
-#
-# rdm-mailhandler --url http://redmine.domain.foo --key secret
-#
-# Fixed project and default tracker specified, but emails can override
-# both tracker and priority attributes using keywords:
-#
-# rdm-mailhandler --url https://domain.foo/redmine --key secret \\
-# --project foo \\
-# --tracker bug \\
-# --allow-override tracker,priority
-
require 'net/http'
require 'net/https'
require 'uri'