[Vtigercrm-commits] [vtiger-commits] r6587 - in /vtigercrm/trunk/modules/Webmails: Save.php class.phpmailer.php class.smtp.php sendmail.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 02:44:12 EDT 2006
Author: mmbrich
Date: Sun May 28 00:44:11 2006
New Revision: 6587
Log:
removed old files, removed sendmail references from Save.php
Removed:
vtigercrm/trunk/modules/Webmails/class.phpmailer.php
vtigercrm/trunk/modules/Webmails/class.smtp.php
vtigercrm/trunk/modules/Webmails/sendmail.php
Modified:
vtigercrm/trunk/modules/Webmails/Save.php
Modified: vtigercrm/trunk/modules/Webmails/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Webmails/Save.php (original)
+++ vtigercrm/trunk/modules/Webmails/Save.php Sun May 28 00:44:11 2006
@@ -147,19 +147,8 @@
$return_action='ListView';
-if(isset($_REQUEST["send_mail"]) && $_REQUEST["send_mail"] == "true") {
- global $adb;
- $sql = "select email1, first_name,last_name from users where id='".$current_user->id."'";
- $res = $adb->query($sql);
- $emailaddr = $adb->query_result($res,0,'email1');
- $who = $adb->query_result($res,0,'first_name')." ".$adb->query_result($res,0,'last_name');
- require_once("sendmail.php");
- sendmail($to_address,$cc_address,$bcc_address,$emailaddr,$who,$subject,$msgData);
- header("Location: index.php?action=$return_action&module=$return_module");
-} else {
- if($_POST["ajax"] != "true")
- header("Location: index.php?action=$return_action&module=$return_module&record=$return_id");
-}
+if($_POST["ajax"] != "true")
+ header("Location: index.php?action=$return_action&module=$return_module&record=$return_id");
return;
?>
More information about the vtigercrm-commits
mailing list