[vhffs-dev] [svn] commit: r188 - in /trunk: vhffs-api/src/Vhffs/Functions.pm vhffs-robots/src/mailing.pl

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: soda
Date: Thu Apr 27 11:53:36 2006
New Revision: 188

Log:
Should now send email with UTF8 support


Modified:
    trunk/vhffs-api/src/Vhffs/Functions.pm
    trunk/vhffs-robots/src/mailing.pl

Modified: trunk/vhffs-api/src/Vhffs/Functions.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Functions.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Functions.pm Thu Apr 27 11:53:36 2006
@@ -191,7 +191,7 @@
         From    => "$from", 
         To      => "$to",    
         Subject => "$subject",
-        Type    => 'TEXT',  
+        Type    => 'text/plain; charset=utf-8',  
         Data    => "$message";
     $msg -> send;
 }

Modified: trunk/vhffs-robots/src/mailing.pl
==============================================================================
--- trunk/vhffs-robots/src/mailing.pl (original)
+++ trunk/vhffs-robots/src/mailing.pl Thu Apr 27 11:53:36 2006
@@ -65,8 +65,6 @@
 		$subject = Vhffs::Functions::stripslashes( $mailings->{$idm}{subject} );
 		$message = Vhffs::Functions::stripslashes( $mailings->{$idm}{message} );
 
-		$message = decode( "utf-8" , $message );
-		$subject = decode( "utf-8" , $subject );
 
 		foreach $user ( @{$users} )
 		{




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/