in reply to Disabling mod_perl on some files / folder?

If you don't want mod_perl to apply to a file, don't name the file .cgi.

I don't think that mod_perl breaks sendmail, but maybe sendmail cannot be started from the user your webserver resp. script runs under.

Also, consider simply using MIME::Lite or Net::SMTP.

Replies are listed 'Best First'.
Re^2: Disabling mod_perl on some files / folder?
by ultranerds (Hermit) on Apr 06, 2017 at 11:27 UTC
    Thanks. Maybe I will look into Net::SMTP. I'm only using sendmail as it's the built in method of this script, and I really don't want to have to re-write all it's emailing functions just to make it work on mod_perl.