My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members

DESCRIPTION

Send 'current editing buffer', or 'selected area of text' with email. Most simplest usage is to execute :Mail command.

Supported Mail Auth type is
- basic SMTP password Auth - POP before STMP Auth - Outbound Port 25 Blocking - GMail
This plugin needs '+python', '+iconv', '+multi_byte' and Python is installed, and $PATH is appropriately set.

USAGE

You can use :Mail command to send email. See also postmail-example .

:rangeMail

send mail message. if range is selected, send selected text. if range is not selected, send current buffer.

:rangeMail {to_mailaddress}

send mail message to {to_mailaddress}. if range is selected, send selected text. if range is not selected, send current buffer.

:rangeMail {to_mailaddress1} {to_mailaddress2}, {to_mailaddress3}

send mail message to {to_mailaddress1}, {to_mailaddress2}, and {to_mailaddress2}. if range is selected, send selected text. if range is not selected, send current buffer.

COMMAND USAGE EXAMPLE :Mail

send mail message. message is current buffer text.

:Mail mail@nanasi.jp

send current buffer text to 'mail@nanasi.jp' address.

:6,20Mail mail@nanasi.jp

send from line 6 to line 20 text to 'mail@nanasi.jp' address.
INSTALL DETAILS 1. Unzip postmail-vim-plugin.zip, and copy to 'plugin', 'doc' directory in
your 'runtimepath' directory.

$HOME/vimfiles (Windows) $HOME/.vim/ (Unix)

2. Edit 'postmail.conf' and setup mail server configuration.

postmail.conf file encoding is same with &encoding value.

:echo &encoding

3. Execute ':helptags' command to your runtimepath 'doc' directory.

:helptags $HOME/vimfiles/doc (Windows) :helptags $HOME/.vim/doc (Unix)

CONFIGURATION

postmail.conf file is mail server configuration file. simply configuration file setup is to comment out, and replace some configuration setting. See postmail.conf in your plugin directory.

Powered by Google Project Hosting