Where is sendmail.ini




















Viewed times. Improve this question. Does this answer your question? Add a comment. Active Oldest Votes. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Skip to content. You may supply arguments as well default: "sendmail -t -i". Related Posts: Configuring Postfix with Yandex. Configuring sendmail with GMail relay on Ubuntu November 25, at pm. Juan says:. June 14, at pm. Nanyaks says:. August 8, at pm.

August 12, at am. Also, -f sets the Return-Path: header which is used as the Bounce address, if errors occur, so you can process them. You you can not set Return-Path: in mail headers for some reason Now you have to use the -f option.

If anyone gets this cryptic error message in the PHP error logs: "sh: -t: command not found" after upgrading from PHP 5.

I upgraded PHP from 5. That's all there is to it -- that fixed all the mail functionality for us. Hope this little note saves someone else as much time as I spent troubleshooting and researching. The comment in php. I use this technique when teaching or testing in PHP. You can set on apache2 a "per domain" default address in apache conf VirtualHost section too.



0コメント

  • 1000 / 1000