// Date/time could be obtained from the comment database. // I just took the current time $pinmozhi_date .= date('m/d/Y h:m:s A'); // Make the subject line. // The timestamp should be there, to be recognized by pinmozhikal. // Others are optional $pinmozhi_subject = sprintf( __("[$blogname]")); $pinmozhi_subject .= sprintf(__('(%1$s) '), $comment->comment_author); $pinmozhi_subject .= $pinmozhi_date; // Subject should be 7-bit encoded, otherwise Malayalam // will appear as strage characters $pinmozhi_subject = '=?' . get_settings('blog_charset') . '?B?' . base64_encode($pinmozhi_subject) . '?='; // Extract the comment. $pinmozhi_message = sprintf($comment->comment_content ) . "

--
\n"; // Put the name of the commentator, post name, blog name and // timestamp in the pinmozhikal style $pinmozhi_message .= sprintf( __('Posted by %1$s to '), $comment->comment_author); $pinmozhi_message .= "comment_post_ID)); $pinmozhi_message .= "\">"; $pinmozhi_message .= sprintf(__('%1$s'), $post->post_title); $pinmozhi_message .= " in blog $blogname at $pinmozhi_date";