mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
Display BCC field in sent mail.
This commit is contained in:
parent
4a153a59c1
commit
f7106f375c
5 changed files with 114 additions and 17 deletions
|
|
@ -579,11 +579,28 @@ class Part
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return resorce
|
||||
*/
|
||||
public function Rewind()
|
||||
{
|
||||
if ($this->Body && \is_resource($this->Body))
|
||||
{
|
||||
$aMeta = \stream_get_meta_data($this->Body);
|
||||
if (isset($aMeta['seekable']) && $aMeta['seekable'])
|
||||
{
|
||||
\rewind($this->Body);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return resorce
|
||||
*/
|
||||
public function ToStream()
|
||||
{
|
||||
$this->Rewind();
|
||||
|
||||
$aSubStreams = array(
|
||||
|
||||
$this->Headers->ToEncodedString().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue