Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have setup SMTP server on my linux (Ubuntu) server and send mail using PHPmailer. its works 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 = 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..

share|improve this question

migrated from stackoverflow.com Oct 20 '13 at 14:11

This question came from our site for professional and enthusiast programmers.

add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.