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 Link to comment https://forums.phpfreaks.com/topic/43710-define-a-snmp-server-in-phpini/ 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. Link to comment https://forums.phpfreaks.com/topic/43710-define-a-snmp-server-in-phpini/#findComment-212379 Share on other sites More sharing options...
hitman6003 Posted March 21, 2007 Share Posted March 21, 2007 http://phpmailer.sourceforge.net/ Link to comment https://forums.phpfreaks.com/topic/43710-define-a-snmp-server-in-phpini/#findComment-212388 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? Link to comment https://forums.phpfreaks.com/topic/43710-define-a-snmp-server-in-phpini/#findComment-212392 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.