[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.send.inc.php,1.13,1.14
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.send.inc.php,1.13,1.14 |
Date: |
Fri, 12 Apr 2002 10:22:25 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv11069/phpgwapi/inc
Modified Files:
class.send.inc.php
Log Message:
This should fix the sending of any emails and the saving to the users sent
folder.
Index: class.send.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.send.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** class.send.inc.php 28 Sep 2001 21:38:29 -0000 1.13
--- class.send.inc.php 12 Apr 2002 14:21:57 -0000 1.14
***************
*** 115,123 ****
. 'Content-description: Mail
message body'."\n";
}
! if
($GLOBALS['phpgw_info']['user']['preferences']['email']['mail_server_type'] ==
'imap' && $GLOBALS['phpgw_info']['user']['apps']['email'] &&
is_object($GLOBALS['phpgw']->msg))
{
! $stream =
$GLOBALS['phpgw']->msg->login('Sent');
! $GLOBALS['phpgw']->msg->append($stream,
'Sent', $header, $body, "\\Seen");
! $GLOBALS['phpgw']->msg->close($stream);
}
if (strlen($cc)>1)
--- 115,130 ----
. 'Content-description: Mail
message body'."\n";
}
! if
($GLOBALS['phpgw_info']['user']['preferences']['email']['mail_server_type'] ==
'imap' && $GLOBALS['phpgw_info']['user']['apps']['email'])
{
! if(!is_object($GLOBALS['phpgw']->msg))
! {
! $GLOBALS['phpgw']->msg =
CreateObject('email.mail_msg');
! }
! $args_array = Array();
! $args_array['do_login'] = True;
! $args_array['folder'] =
$GLOBALS['phpgw_info']['user']['preferences']['email']['sent_folder_name'];
!
$GLOBALS['phpgw']->msg->begin_request($args_array);
!
$GLOBALS['phpgw']->msg->phpgw_append('Sent', $header."\n".$body, "\\Seen");
! $GLOBALS['phpgw']->msg->end_request();
}
if (strlen($cc)>1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.send.inc.php,1.13,1.14,
Mark A Peters <address@hidden> <=