Send Mail Using Amazon EC2 Instance

前端 未结 4 1582
长发绾君心
长发绾君心 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

    Although your problem relates to Sendmail have you tried following Amazons Documentation?

    http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp-app.html

    This uses postfix but it seems like a better alternative and there's help readily available for it.

    You also can use SMTP as Amazon SES supports this:

    http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp.html

    I know this doesn't directly answer your question. You might just need to configure the mail settings in php.ini.

提交回复
热议问题