Specs on Server 2019:

If I try to upload an image/logo, it always shows as a broken image link:


I temporarily gave everyone access to the Attachments folder and still didn't work (reverted back permissions after).
I've tried downgrading my PHP version but I can't get that to work either. I updated it through PHP manager in IIS, copied php.ini from current version but always get the below error:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\inetpub\wwwroot\helpdesk\include\pear\Mail\mail.php on line 153
Fatal error: Uncaught Error: Call to undefined function _S() in C:\inetpub\wwwroot\helpdesk\include\class.mailer.php:612 Stack trace: #0 C:\inetpub\wwwroot\helpdesk\include\class.mailer.php(632): Mailer->send(Array, 'osTicket Fatal ...', 'Unable to conne...', Array) #1 C:\inetpub\wwwroot\helpdesk\bootstrap.php(316): Mailer::sendmail('redacted.email@redacted...', 'osTicket Fatal ...', 'Unable to conne...', '"osTicket Alert...') #2 C:\inetpub\wwwroot\helpdesk\bootstrap.php(201): Bootstrap::croak('Unable to conne...') #3 C:\inetpub\wwwroot\helpdesk\main.inc.php(28): Bootstrap::connect() #4 C:\inetpub\wwwroot\helpdesk\scp\staff.inc.php(20): require_once('C:\inetpub\wwwr...') #5 C:\inetpub\wwwroot\helpdesk\scp\tickets.php(17): require('C:\inetpub\wwwr...') #6 C:\inetpub\wwwroot\helpdesk\scp\index.php(17): require('C:\inetpub\wwwr...') #7 {main} thrown in C:\inetpub\wwwroot\helpdesk\include\class.mailer.php on line 612