phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.send.inc.php,1.13.2.2.2.1,1.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.send.inc.php,1.13.2.2.2.1,1.13.2.2.2.2
Date: Fri, 30 May 2003 12:09:54 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv28062

Modified Files:
      Tag: Version-0_9_16-branch
        class.send.inc.php 
Log Message:
fix for bug #3427: no email-notifications
send class does not default to port 25, as email does when smpt-port is left 
empty in the email-site-config


Index: class.send.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.send.inc.php,v
retrieving revision 1.13.2.2.2.1
retrieving revision 1.13.2.2.2.2
diff -C2 -r1.13.2.2.2.1 -r1.13.2.2.2.2
*** class.send.inc.php  17 May 2003 20:40:05 -0000      1.13.2.2.2.1
--- class.send.inc.php  30 May 2003 16:09:52 -0000      1.13.2.2.2.2
***************
*** 350,354 ****
  
                        // now we try to open the socket and check, if any smtp 
server responds
!                       $socket = 
fsockopen($GLOBALS['phpgw_info']['server']['smtp_server'],$GLOBALS['phpgw_info']['server']['smtp_port'],$errcode,$errmsg,$timeout);
                        if (!$socket)
                        {
--- 350,355 ----
  
                        // now we try to open the socket and check, if any smtp 
server responds
!                       $smtp_port = 
$GLOBALS['phpgw_info']['server']['smtp_port'] ? 
$GLOBALS['phpgw_info']['server']['smtp_port'] : 25;
!                       $socket = 
fsockopen($GLOBALS['phpgw_info']['server']['smtp_server'],$smtp_port,$errcode,$errmsg,$timeout);
                        if (!$socket)
                        {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]