8
GeanySendMail is a little plugin to send a document as attachment
9
using the preferred mail client from inside Geany. It is similar to
10
the envelope symbol of most office tools and requires a mail client
11
that is supporting remote calls.
17
For compiling the plugin yourself, you will need the GTK (>= 2.6.0)
18
libraries and header files. You will also need its dependency
19
libraries and header files, such as Pango, Glib and ATK. All these
20
files are available at http://www.gtk.org.
22
And obviously, you will need to have Geany installed. If you have Geany
23
installed from the sources, you should be ready to go. If you used a
24
prepared package e.g. from your distribution you probably need to
25
install an additional package, this might be called geany-dev or
26
geany-devel. Please note that in order to compile and use this plugin,
27
you need Geany 0.16 or later (Geany Plugin API v116 or higher).
29
Furthermore you need, of course, a C compiler and the Make tool. The
30
GNU versions of these tools are recommended.
36
Compiling and installing the code is done by the following three
43
For more configuration details run
46
If there are any errors during compilation, check your build environment
47
and try to find the error, otherwise contact one of the authors. (See below)
53
After installed successfully, load the plugin in Geany's plugin manager
54
and a new menu item in the Tools menu will appear. Before you can start
55
you need to configure your mail client. This can be done in the
56
configuration dialog (details on it later). You can also assign a
57
keyboard shortcut in Geany's preferences dialog to send your document.
63
In the configuration dialog you can set up a command that is called by the
64
plugin to communicate with your mail client. Depending on what's
65
your favorite mailer, the command will differ. A number of placeholders
66
are available for doing this:
68
* %s: Will be replaced by the complete path of the file that should be send.
69
* %r: Will be replaced by one or more recipient's email address that can
70
be entered inside a separate dialog. (Please remember during input,
71
what your mail client is expecting here)
72
* %b: Will be replace by the file name. For a file /tmp/foo.baa it will
73
be replaced by foo.baa.
75
Depending on how you like to use, you can combine all of the placeholders
76
to build up your command. It is possible to use one placeholder
77
several times. Examples could be:
78
sylpheed --attach "%f" --compose "%r"
79
mutt -s "Sending '%b'" -a "%f" "%r"
80
"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" \
81
-compose to="%r",subject="%b",attachment="%f"
87
You can checkout the current source code from the Subversion repository at
88
Sourceforge.net. Get the code from:
91
http://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/geanysendmail
93
If you want to create a patch, please respect the license of GeanySendMail
94
as well as intellectual property of third. Patches that should be
95
included to the default distribution must be licensed under the same conditions
96
as GeanySendMail by the copyright owner.
102
During installation it might happen, that the plugin wants to install the
103
files for localization to /usr/local as a prefix. This can be avoided by
104
adding --prefix="/new/path" when running configure/autogen.sh.
106
In case you are working with white spaces either in your path names,
107
file names or at mail addresses (e.g. for separating two addresses) you
108
should keep care of proper quoting since %s, %b and %r will be replaced
111
For more recent information all reported issues will be tracked at
112
http://sourceforge.net/tracker/?group_id=222729
118
GeanySendMail and all its parts is distributed under the terms of the
119
GNU General Public License as published by the Free Software
120
Foundation; either version 2 of the License, or (at your option) any
121
later version. A copy of this license can be found in the file COPYING
122
included with the source code of this program. If not, you will be
123
able to get a copy by contacting the Free Software Foundation, Inc.,
124
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
127
Bugs, questions, bugs, homepage
128
---------------------------------
130
If you found any bugs or want to provide a patch, please contact Frank
131
Lanitz (frank(at)geany(dot)org). Please also do so, if you got any
132
questions and visiting http://frank.uvena.de/en/Geany/geanysendmail
133
didn't help you to figure out the answer. Visiting the website is also
134
a good start if you want to check for any update on this plugin.