How to send email from localhost using PHP on Linux

前端 未结 7 2049
别那么骄傲
别那么骄傲 2020-12-09 19:25

I know that to send e-mail from localhost on Windows, you need to change SMTP server in php.ini however this is valid only on Windows:

[mail function]
; For         


        
相关标签:
7条回答
  • 2020-12-09 20:27

    This worked for me on Linux Mint 17 for sending emails from the localhost:

    sudo apt-get install sendmail
    
    0 讨论(0)
提交回复
热议问题