Revision: 5828
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5828&view=rev
Author:   dotzball
Date:     2011-08-24 07:29:20 +0000 (Wed, 24 Aug 2011)
Log Message:
-----------
Use utf-8 when sending system email (traffic warning etc.) with emailhelper.

Modified Paths:
--------------
    ipcop/trunk/src/misc-progs/emailhelper.c
    ipcop/trunk/updates/1.9.21/ROOTFILES.i486-1.9.21
    ipcop/trunk/updates/1.9.21/information.xml

Modified: ipcop/trunk/src/misc-progs/emailhelper.c
===================================================================
--- ipcop/trunk/src/misc-progs/emailhelper.c    2011-08-23 07:23:55 UTC (rev 
5827)
+++ ipcop/trunk/src/misc-progs/emailhelper.c    2011-08-24 07:29:20 UTC (rev 
5828)
@@ -392,7 +392,7 @@
 
 
     snprintf(command, STRING_SIZE_LARGE,
-            "/usr/bin/sendEmail -s %s%s %s %s -f %s -t %s %s %s %s ", server, 
port, user, password, from, to, subject, message, attachment);
+            "/usr/bin/sendEmail -s %s%s %s %s -f %s -t %s %s %s %s -o 
message-charset=utf-8", server, port, user, password, from, to, subject, 
message, attachment);
 
     verbose_printf(2, "Command: %s\n", command);
     rc = safe_system(command);

Modified: ipcop/trunk/updates/1.9.21/ROOTFILES.i486-1.9.21
===================================================================
--- ipcop/trunk/updates/1.9.21/ROOTFILES.i486-1.9.21    2011-08-23 07:23:55 UTC 
(rev 5827)
+++ ipcop/trunk/updates/1.9.21/ROOTFILES.i486-1.9.21    2011-08-24 07:29:20 UTC 
(rev 5828)
@@ -1,3 +1,4 @@
 ## please place IPCop files first, then packages sorted by alphabetical order
+/usr/local/bin/emailhelper
 /usr/share/locale/tr_TR/LC_MESSAGES/install.mo
 /usr/share/locale/tr_TR/LC_MESSAGES/ipcop.mo

Modified: ipcop/trunk/updates/1.9.21/information.xml
===================================================================
--- ipcop/trunk/updates/1.9.21/information.xml  2011-08-23 07:23:55 UTC (rev 
5827)
+++ ipcop/trunk/updates/1.9.21/information.xml  2011-08-24 07:29:20 UTC (rev 
5828)
@@ -4,6 +4,7 @@
         <releasedate>2010-mm-dd</releasedate>
         <size>0</size>
         <description>Language updates.&lt;br /&gt;
+        Use utf-8 when sending system email (traffic warning etc.)&lt;br /&gt;
         </description>
         <previousversion>1.9.20</previousversion>
         <installdate>INSTALLDATE</installdate>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to