mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Change build system (Grunt -> Gulp)
Remove attachments on reply (Closes #195) Do not show deleted (flag \Deleted) messages (Closes #185) Release commit
This commit is contained in:
parent
aebd47393c
commit
333c063cf1
44 changed files with 1300 additions and 772 deletions
|
|
@ -69,7 +69,7 @@ class Message
|
|||
public function DoesNotAddDefaultXMailer()
|
||||
{
|
||||
$this->bAddDefaultXMailer = false;
|
||||
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
@ -371,7 +371,7 @@ class Message
|
|||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param \MailSo\Mime\EmailCollection $oEmails
|
||||
*
|
||||
|
|
@ -504,7 +504,12 @@ class Message
|
|||
{
|
||||
if (0 === strlen($sHostName))
|
||||
{
|
||||
$sHostName = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'mailso';
|
||||
$sHostName = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : '';
|
||||
}
|
||||
|
||||
if (empty($sHostName))
|
||||
{
|
||||
$sHostName = 'localhost';
|
||||
}
|
||||
|
||||
return '<'.md5(rand(100000, 999999).time().$sHostName).'@'.$sHostName.'>';
|
||||
|
|
@ -557,7 +562,7 @@ class Message
|
|||
Header::NewInstance(\MailSo\Mime\Enumerations\Header::CONTENT_ID, $sCID)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
if (0 < strlen($sContentLocation))
|
||||
{
|
||||
$oAttachmentPart->Headers->Add(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue