Google App Engine: Sendmail, command not found

I am trying to get sendmail to work on localhost. The problem is that the application engine detected an incorrect path to sendmail, because it gives an error: / bin / sh: sendmail: command not found

Using Mac OS X, the path to sendmail: / usr / sbin / sendmail

Does anyone know how to change this?

.. Fredrick

+6
google-app-engine sendmail
source share
2 answers

I don't know how to change this, but a symlink will do the job. I had the same problem and this solved this:

sudo ln -s /usr/sbin/sendmail /usr/bin/sendmail 

Another option is to configure the local AppEngine runtime to use an external SMTP server .

+11
source share

According to the documentation,

The web server will use sendmail commands to send emails using your default setting

If it uses NETINFO to locate sendmail, the full path to sendmail.cf is saved as the value of the sendmail.cf property in the "/ locations / sendmail" NETINFO subdirectory, so try setting the value of this property to "/usr/sbin/sendmail.cf" ( without quotes)

Hope this helps

0
source share

All Articles