Tag Archives: mail php

PHP.ini Mail Settings

Note this, PHP.ini Mail Settings guide, is for users who has an email that is using the MS Office Outlook Email on their dev PC.

Open your PHP.ini and look for the following line of code:

[mail function]
;For Win32 only.
SMTP = <put here the SMTP server address of your email>
;SMTP = localhost
; http://php.net/smtp-port
smtp_port = <port of your smtp server>
;smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = <put your email address here>
;sendmail_from = webmaster@domain.com