Index: branches/dev/html/admin/mail/sendmail.php
===================================================================
--- branches/dev/html/admin/mail/sendmail.php	(revision 12821)
+++ branches/dev/html/admin/mail/sendmail.php	(revision 12861)
@@ -79,6 +79,28 @@
 		//-- ¥á¡¼¥ëÇÛ¿®¥Ö¥ì¥¤¥óÏ¢·È¤Î¾ì¹ç	
 		if(MELMAGA_MOBIE_SEND){
-			$str = "²¤ÊÆ¤«";
-			print_r($str);
+			if($mail_data[$i][0]["mail_method"]) {
+				$mail_text = array(
+									$list_data[$i][$j]["email"]				//¡¡¸ÜµÒ°¸Àè
+									,$subjectBody								//¡¡Subject
+									,$mailBody									//¡¡¥á¡¼¥ëËÜÊ¸
+									,$objSite->data["email03"]					//¡¡Á÷¿®¸µ¥á¡¼¥ë¥¢¥É¥ì¥¹
+									,$objSite->data["company_name"]				//¡¡Á÷¿®¸µÌ¾
+									,$objSite->data["email03"]					//¡¡reply_to
+									,$objSite->data["email04"]					//¡¡return_path
+									,$objSite->data["email04"]					//¡¡errors_to
+																	);
+				//¥á¡¼¥ë¤ÎÊ¬²ò
+				$decoder = new Mail_mimeDecode(  );
+				$parts = $decoder->getSendArray($mail_text);
+				list( $to, $headers, $body) = $parts;
+				
+				//SMTP¥µ¡¼¥Ð
+				$mail_options = array(
+				                       'host'    => '210.188.254.83',
+				                       'port'    => 25
+				                                                        );
+				$mail_object =& Mail::factory("SMTP", $mail_options);
+				$mail_object->send($to, $header, $body);
+			}
 		} else {
 		    //-- ¥Æ¥­¥¹¥È¥á¡¼¥ëÇÛ¿®¤Î¾ì¹ç
@@ -155,4 +177,17 @@
 
 
+//--- ¥á¡¼¥ëÇÛ¿®¥Ö¥ì¥¤¥óÏ¢·È¤ÎÇÛ¿®
+function BLAYN_MAIL_SENDING( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to="", $bcc="", $cc ="" ) {
+
+
+    $mail_obj = new GC_SendMail();  
+    $mail_obj->setItem( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to, $bcc, $cc );
+        
+    if( $mail_obj->sendMail() ) {
+        return true;
+    }
+    
+}
+
 //--- ¥Æ¥­¥¹¥È¥á¡¼¥ëÇÛ¿®
 function MAIL_SENDING( $to, $subject, $body, $fromaddress, $from_name, $reply_to, $return_path, $errors_to="", $bcc="", $cc ="" ) {
