I am working on a php / C # project, which is a mail server with a web interface for managing an email application.
The program is supposed to run on windows and linux, but I am mainly involved in Windows development.
I did not come for testing on Linux and found a terrible problem.
From what I was looking for in Windows PHP, you can choose the SMTP server you want to use, but it looks like you don't have this option on Linux, so when PHP sends an email, it completely bypasses my program.
Is there a way to get PHP to use the SMTP server of your choice, I know that you can use PEAR to override the SMTP settings, but I would prefer the standard PHP mail function to work, so that other software like the PHPBB forum send email mail through my SMTP server instead of the default mail.
Is this something that is possible, or is my only option to use a pear?
source
share