Index: branches/rel/html/admin/mail/index.php
===================================================================
--- branches/rel/html/admin/mail/index.php	(revision 13242)
+++ branches/rel/html/admin/mail/index.php	(revision 13394)
@@ -382,7 +382,8 @@
 	
 	$dtb_send_history = array();
-	
+	if(DB_TYPE=='pgsql'){
 	$dtb_send_history["send_id"] = $objQuery->nextval('dtb_send_history', 'send_id');
-	$dtb_send_history["mail_method"] = $arrData['mail_method'];
+    }
+    $dtb_send_history["mail_method"] = $arrData['mail_method'];
 	$dtb_send_history["subject"] = $arrData['subject'];
 	$dtb_send_history["body"] = $arrData['body'];
