in reply to Sendmail issue

Isn't this a Sendmail, or email question? The script uses a local Sendmail binary. What do the local Sendmail logs report? Very likely the ISP is blocking the connection.

Neil Watson
watson-wilson.ca