Hi osTicket Community Members,
I have installed, osTicket v1.18.1 on my local host then migrated the installation to a shared hosting service where my website resides. I did the necessary configurations in terms of the database as well as the application.
In order to test whether the ticketing-system is working as desired, I generated a ticket myself and got the response below, though the actual ticket was captured by the system. (I have repeated the installation multiple times and the results are the same).
I saw a similar issue of 2019 on the forum but didn't find any explanation on how the user solved the problem.
Kindly help ;-)
Fatal error: Uncaught Error: Call to undefined function Laminas\Mail\Transport\mail() in /home/rfkpymeu/public_html/support/include/laminas-mail/src/Transport/Sendmail.php:297 Stack trace: #0 [internal function]: Laminas\Mail\Transport\Sendmail->mailHandler('info1@base2fusio...', '=?UTF-8?Q?New=2...', 'This is a messa...', 'Date: Thu, 13 J...', ' -f'support@bas...') #1 /home/rfkpymeu/public_html/support/include/laminas-mail/src/Transport/Sendmail.php(136): call_user_func(Array, 'info1@base2fusio...', '=?UTF-8?Q?New=2...', 'This is a messa...', 'Date: Thu, 13 J...', ' -f'support@bas...') #2 /home/rfkpymeu/public_html/support/include/class.mail.php(740): Laminas\Mail\Transport\Sendmail->send(Object(osTicket\Mail\Message)) #3 /home/rfkpymeu/public_html/support/include/class.mailer.php(631): osTicket\Mail\Sendmail->sendMessage(Object(osTicket\Mail\Message)) #4 /home/rfkpymeu/public_html/support/include/class.email.php(235): osTicket\Mail\Mailer->send(Array, 'New Ticket Aler...', '<h2>Hi Admin,</...', Array, Array) #5 /home/rfkpymeu/public_html/support/include/class.email.php(245): Email->send('info1@base2fusio...', 'New Ticket Aler...', '<h2>Hi Admin,</...', NULL, Array) #6 /home/rfkpymeu/public_html/support/include/class.ticket.php(1753): Email->sendAlert('info1@base2fusio...', 'New Ticket Aler...', '<h2>Hi Admin,</...', NULL, Array) #7 /home/rfkpymeu/public_html/support/include/class.ticket.php(4574): Ticket->onNewTicket(Object(MessageThreadEntry), true, true) #8 /home/rfkpymeu/public_html/support/open.php(45): Ticket::create(Array, Array, 'Web') #9 {main} thrown in /home/rfkpymeu/public_html/support/include/laminas-mail/src/Transport/Sendmail.php on line 297