[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9421] api: from name
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9421] api: from name |
Date: |
Tue, 22 May 2012 18:13:09 +0000 |
Revision: 9421
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9421
Author: sigurdne
Date: 2012-05-22 18:13:09 +0000 (Tue, 22 May 2012)
Log Message:
-----------
api: from name
Modified Paths:
--------------
trunk/phpgwapi/inc/class.send.inc.php
Modified: trunk/phpgwapi/inc/class.send.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.send.inc.php 2012-05-22 18:02:52 UTC (rev
9420)
+++ trunk/phpgwapi/inc/class.send.inc.php 2012-05-22 18:13:09 UTC (rev
9421)
@@ -42,7 +42,7 @@
}
if ($sender == '')
{
- $sender =
$GLOBALS['phpgw_info']['user']['fullname'].'
<'.$GLOBALS['phpgw_info']['user']['preferences']['email']['address'].'>';
+ $sender =
$GLOBALS['phpgw_info']['user']['fullname'];
}
switch( $service )
@@ -67,6 +67,7 @@
else
{
$smtp->From = $from_array[0];
+ $smtp->FromName = $sender;
}
/*
if(strpos($to,','))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9421] api: from name,
Sigurd Nes <=