detroit-email
- send out customizable email announcement
The Email plug-in for Detroit can send out release announcements,
or other messages during the standard promote
stage.
The following options can be used in the Detroit toolchain file for defining an Email tool instance.
file
- If the body of the message is in a file use this option
to set the path to that file relative to the project's root
directory.
subject
- The subject of the message. Defaults to a typical
release announcement subject of "ANN: {title} {version}".
mailto
/to
- List of email addresses to whom to email.
from
- Email address from whom.
server
- Email host url.
port
- Emails server port. The default is usually correct.
account
- Email account name (defaults to from
).
domain
- User domain (not sure why SMTP requires this).
login
- Login type. Can be either plain
or login
.
secure
- Use TLS/SSL, true or false?
parts
- List of components of the announcement. This will be
used to construct the message as long as file
or message
are
not used. Recognizes values are readme
, message
, description
,
resources
, notes
and changes
.
noenv
- Do not use environment variables for email defaults.
Most of the options default to environment variables (unless noenv
is used).
EMAIL_SERVER
EMAIL_FROM
EMAIL_ACCOUNT
EMAIL_PORT
EMAIL_DOMAIN
EMAIL_LOGIN
EMAIL_SECURE
EMAIL_PASSWORD
Note that if EMAIL_PASSWORD is not set in the environment, then the user will be prompted for it on the command line when it is required.
Usually the usecase is for sending out a release announcement, and in that case the default configuration suffices. So, the typical example is simply:
announce:
tool: email
mailto:
- ruby-talk@ruby-lang.org
For more information:
Copyright (c) 2010 Rubyworks
Detroit EMail is distributable in accordance with the GPLv3 license.
detroit(1)