Ignore:
Timestamp:
Apr 24, 2023, 8:26:33 AM (13 months ago)
Author:
chronos
Message:
  • Fixed: Defined missing class fields.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Mail.php

    r935 r949  
    2121  private string $Boundary;
    2222  public bool $TestMode;
     23  public string $SenderAddress;
     24  public string $SenderName;
    2325
    2426  function __construct()
     
    7274  function Organization(string $org): void
    7375  {
    74     if (trim($org != '')) $this->xheaders['Organization'] = $org;
     76    if (trim($org != '')) $this->Headers['Organization'] = $org;
    7577  }
    7678
     
    8183    if (!isset($this->Priorities[$Priority - 1])) return false;
    8284
    83     $this->xheaders['X-Priority'] = $this->Priorities[$Priority - 1];
     85    $this->Headers['X-Priority'] = $this->Priorities[$Priority - 1];
    8486    return true;
    8587  }
Note: See TracChangeset for help on using the changeset viewer.