Changeset 228
- Timestamp:
- 08/27/08 19:53:39 (3 months ago)
- Files:
-
- 1 modified
-
trunk/system_scripts/autoresponder.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system_scripts/autoresponder.pl
r170 r228 100 100 #Now check if autoresponder is enabled 101 101 my $dbh = DBI->connect($dsn, $config{'db_username'}, $config{'db_password'}); 102 $dbh->do("SET NAMES utf8");103 102 104 103 sub check_du_feature($$) { … … 216 215 my $e_send_to = MIME::Entity->build( 217 216 Type => "text/plain", 218 Charset => " UTF-8",217 Charset => "utf-8", 219 218 Disposition => 'inline', 220 219 Data => $mail_text); 221 $e_send_to->head->add("User-Agent", 'CPM/Autoresponder');222 $e_send_to->head->add("To", $mail_from);223 $e_send_to->head->add("X-Loop", "No");224 $e_send_to->head->add("X-No-Loop", "Yes");225 $e_send_to->head->add("Sender",$sender );226 $e_send_to->head->add("From", $sender);227 $e_send_to->head->add("Subject", $subject );228 $e_send_to->send;229 $e_send_to->stringify;220 $e_send_to->head->add("User-Agent", 'CPM/Autoresponder'); 221 $e_send_to->head->add("To", $mail_from); 222 $e_send_to->head->add("X-Loop", "No"); 223 $e_send_to->head->add("X-No-Loop", "Yes"); 224 $e_send_to->head->add("Sender",$sender ); 225 $e_send_to->head->add("From", $sender); 226 $e_send_to->head->add("Subject", $subject ); 227 $e_send_to->send; 228 $e_send_to->stringify; 230 229 #OK send autoresponder to email and save email addr in DB 231 230 $sql=sprintf("INSERT INTO autoresponder_send SET email=%s, efromto=%s",
