Amazon ec2 带有sendmail路径配置的Amazon ec2 SES
我已经用SES设置了我的ec2实例,记录在 除了最后一点之外,一切都在相应地进行着Amazon ec2 带有sendmail路径配置的Amazon ec2 SES,amazon-ec2,sendmail,amazon-ses,Amazon Ec2,Sendmail,Amazon Ses,我已经用SES设置了我的ec2实例,记录在 除了最后一点之外,一切都在相应地进行着 sudo /usr/bin/sendmail -f from@example.com to@example.com 抛出错误,说明/usr/bin/sendmail:没有这样的文件或目录 使用带有“sbin”的路径,我可以成功地发送邮件 sudo /usr/sbin/sendmail -f from@example.com to@example.com 如何将php配置为使用此路径。使用sendmail\u
sudo /usr/bin/sendmail -f from@example.com to@example.com
抛出错误,说明/usr/bin/sendmail:没有这样的文件或目录
使用带有“sbin”的路径,我可以成功地发送邮件
sudo /usr/sbin/sendmail -f from@example.com to@example.com
如何将php配置为使用此路径。使用sendmail\u path=/usr/sbin/sendmail设置我的php ini
不起作用。通过创建一个从sbin到bin的simlink解决了这个问题:ln-s/usr/sbin/sendmail/usr/bin/sendmail可以将其报告为SES错误吗?[sendmail二进制文件的错误路径]嗯,我真的不知道这是否是我的sendmail安装配置,但我会发布它。谢谢你的评论!