Monday, 30 September 2013

SMTP Server configuration in localhost

SMTP Server configuration in localhost

I have setup SMTP server on my linux (Ubuntu) server and send mail using
PHPmailer. its eorks perfect. but i want to send mail throw my local host
using that server..so how can i do that...
i have already change the php.ini file like:
[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP = localhost
smtp_server = 192.168.1.106
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = you@yourdomain
; For Unix only. You may supply arguments as well (default: "sendmail -t
-i").
; http://php.net/sendmail-path
sendmail_path = /usr/sbin/sendmail
192.168.1.106 is my server where i have config the SMTP server...
please help me i am stuck..

No comments:

Post a Comment