Changeset 1232 for pykota/trunk/conf

Show
Ignore:
Timestamp:
12/01/03 14:25:55 (21 years ago)
Author:
jalet
Message:

Enhanced the WinPopup? (smbclient) example, by piping the message into
iconv before sending it to the Windows user, because Windows expects
UTF-8 as input.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1231 r1232  
    231231#   To automatically send a WinPopup message : 
    232232# 
    233 #       mailto: external(echo "%(message)s" | /usr/bin/smbclient -M "%(username)s" 2>&1 >/dev/null) 
     233#       mailto: external(echo "%(message)s"  | /usr/bin/iconv --to-code utf-8 --from-code iso-8859-15 | /usr/bin/smbclient -M "%(username)s" 2>&1 >/dev/null) 
    234234# 
    235235#   NB : Don't forget to redirect your command's standard output somewhere