mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
Deprecate most Domain methods
This commit is contained in:
parent
ea4cda6a91
commit
1e55f86f51
12 changed files with 80 additions and 69 deletions
|
|
@ -964,7 +964,7 @@ trait Messages
|
|||
{
|
||||
$oMessage->SetFrom(new \MailSo\Mime\Email(
|
||||
$oIdentity->Email(), $oIdentity->Name()));
|
||||
if ($oAccount->Domain()->OutSetSender()) {
|
||||
if ($oAccount->Domain()->SmtpSettings()->setSender) {
|
||||
$oMessage->SetSender(\MailSo\Mime\Email::Parse($oAccount->Email()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue