After much fiddling, I’ve managed to install Snipe-IT on a LAMP container. The application needs to send mail, and I set it up to use gmail to send mail (which worked fine). However, I’d like to switch things around so it is sending mail internally (as opposed to using an external service).
As outlined in the documentation (Configuration) it can be set to use the system’s php mail function or the server’s sendmail.
So, some questions:
(1) is there any reason to choose one option over the other? php mail function vs. the server’s sendmail
(2) are either option something I need to enable? if this is the case, how do I do that (I’m assuming enabling the php mail function can be done in php.ini
(3) how do I find the host name for the outgoing mail server?
(4) do I need to set up a separate user to send the mail?
Any thoughts would be appreciated.