The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Use default PHP mail handling - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: General (https://userspice.com/forums/forumdisplay.php?fid=20)
+--- Forum: UserSpice 5 - Roadmapping the Future (https://userspice.com/forums/forumdisplay.php?fid=31)
+--- Thread: Use default PHP mail handling (/showthread.php?tid=158)



Use default PHP mail handling - mets_web@outlook.com - 06-09-2016

Neat project, thanks for sharing and making it available.

Might I suggest an option to allow the mail function to use the default configured in php.ini instead of forcing SMTP? While not difficult to comment out some of your code to make this happen a more graceful way might be helpful.

Thanks
Mark


Use default PHP mail handling - mudmin - 06-09-2016

I will definitely take a look at that. The original PHP mail was not working on a lot of servers, so in 4.0 we switched to SwiftMailer, but that required composer. The mail in 4.1 is still a work in progress. At least offering the option of using the normal php mail might be a good option for those that don't want SMTP.