JustinK101 Posted March 21, 2007 Share Posted March 21, 2007 I am looking to set a custom SNMP server in the php.ini file. We are runing a CENTOS server running php5. Instead of providing the path to sendmail, can we provide a custom SNMP server and login and password to use to send email from? Currently my php.in mail settings are as follows: ; For Win32 Only smtp = localhost smtp_port = 25 ; For Unix Only sendmail_path = /usr/sbin/sendmail -t -i Quote Link to comment Share on other sites More sharing options...
JustinK101 Posted March 21, 2007 Author Share Posted March 21, 2007 Anybody? Sorry, I typed SNMP when I meant SMTP above. There must be a way to set an external SMTP server in linux/php instead of using sendmail. I want to use our ISP's SMTP which required authen. Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted March 21, 2007 Share Posted March 21, 2007 http://phpmailer.sourceforge.net/ Quote Link to comment Share on other sites More sharing options...
JustinK101 Posted March 21, 2007 Author Share Posted March 21, 2007 This required that all previous code and applications that simply take use of mail() be recoded though to make use of this new library. This insta built in feature of PHP? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.