Does anybody know if you can configure php\'s mail() command so it will only use an SMTP server rather than the local sendmail? We are having trouble with emails being marke
Check these links:
Link One
Link Two
Link Three
Example:
Update: You can use this then, but it opens and closes the SMTP socket on each mail() function called.