mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
cleanups - to make it more OO
This commit is contained in:
parent
4e3e6c77cb
commit
12badc6dc1
@ -88,7 +88,7 @@ class send {
|
||||
$header .= "Content-Disposition: inline\n"
|
||||
. "Content-description: Mail message body\n";
|
||||
}
|
||||
if ($phpgw_info["user"]["preferences"]["email"]["mail_server_type"] == "imap" && $phpgw_info["user"]["apps"]["email"]){
|
||||
if ($phpgw_info["user"]["preferences"]["email"]["mail_server_type"] == "imap" && $phpgw_info["user"]["apps"]["email"] && is_object($phpgw->msg)){
|
||||
$stream = $phpgw->msg->login("Sent");
|
||||
$phpgw->msg->append($stream, "Sent", $header, $body);
|
||||
$phpgw->msg->close($stream);
|
||||
|
Loading…
Reference in New Issue
Block a user