Send Mail Using Amazon EC2 Instance

前端 未结 4 1609
长发绾君心
长发绾君心 2021-02-03 11:24

I am using Amazon EC2 Instance for one of my project, I have installed LAMP on linux server and now while I am trying to send email using simple function it is not sending email

4条回答
  •  时光取名叫无心
    2021-02-03 12:10

    I solved this issue just by installing sendmail in my instance. Just run bellow command in your terminal

    sudo apt-get install sendmail

    That worked for me

提交回复
热议问题