Setup PHP email function – ubuntu – sendmail


sudo apt-get install sendmail

// Proceed to php.ini

[mail function]
; Setup for Linux systems
sendmail_path = /usr/sbin/sendmail -t
sendmail_from = [email protected]

[mail function]
; Setup for Windows systems
SMTP = smtp.my.isp.net
sendmail_from = [email protected]

, , ,

Leave a Reply

Your email address will not be published. Required fields are marked *