Homec4science

Changing the method of validating sendmail exists on the system.

Authored by Damian Zaremba <damian@damianzaremba.co.uk> on May 30 2011, 03:55.

Description

Changing the method of validating sendmail exists on the system.

Summary:
Removes calling which and instead checks the file path that PHPMailerLite uses directly (/usr/bin/sendmail).

This fixes $PATH export issues which occur on certain platforms causing un-expected errors during setup.

Test Plan:

  • Run setup on server without sendmail install & error should be presented.
  • Install sendmail then re-run setup & no error should be presented.

Reviewers: epriestley

Differential Revision: 375

Details

Committed
Damian Zaremba <damian@damianzaremba.co.uk>May 30 2011, 03:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPHfff08a9894bd: Allow emails to be used for login
Branches
Unknown
Tags
Unknown

Event Timeline

Damian Zaremba <damian@damianzaremba.co.uk> committed rPHe7d2e96c23f0: Changing the method of validating sendmail exists on the system. (authored by Damian Zaremba <damian@damianzaremba.co.uk>).May 30 2011, 03:57