Hi Edgar, Have a look at /usr/local/share/doc/pkg-readmes/femail-chroot It will tell you everything you need to know and do. :)
Mischa On 2 Jan at 06:21, Edgar Pettijohn <ed...@pettijohn-web.com> wrote: > I'm having trouble getting mail to go through wordpress. > > I have femail installed as /var/www/usr/sbin/sendmail. > > In /etc/php-7.1.ini I have: > > sendmail_path = "/usr/sbin/sendmail -f ed...@pettijohn-web.com" > > > I can: > > echo "HI" | chroot /var/www /usr/sbin/sendmail -f ed...@pettijohn-web.com > testaddress > > and the mail goes through. > > > However, I get the following from wordpress. > > The email could not be sent. Possible reason: your host may have disabled > the mail() function. > > > The mail() function is not disabled. If my reading of class-phpmailer.php is > correct it should see that sendmail_path is defined and use sendmail instead > of mail(). > > Any help is appreciated. > > > Thanks, > > > Edgar >