Here's the error I get:
Seeing that lstat() was involved, I put it lstat('/usr/sbin/sendmail'); in my script, and got:<b>Fatal error</b>: <br /><strong>Uncaught Error</strong> of type
[swift_connectionexception] with message [Sendmail cannot be seen with
lstat(). The command given [/usr/sbin/sendmail -bs] does not appear to be
valid.]<br /> @0 swift::swift() in
/home/playb4/scripts/cron_email_beta_smtp.php on line 98<br /> @1 swift::connect() in
/home/playb4/scripts/Swift-3.3.2-php4/Swift.php on line 109<br /><br /> in
<b>/home/playb4/scripts/Swift-3.3.2-php4/Swift/Errors.php</b> on line <b>99</b><br />
It looks like v.3.3.2 uses lstat whereas v.2.1.7 didn't and was able to access /usr/sbin/sendmail with no problem. What can I do to fix this?<b>Warning</b>: lstat() [<a href='function.lstat'>function.lstat</a>]:
open_basedir restriction in effect. File(/usr/sbin/sendmail) is not
within the allowed path(s):
('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in
<b>/home/playb4/scripts/cron_email_beta_smtp.php</b> on line <b>102</b><br />