Thank you so much. That's the line of code I've been looking for. My page is communicating with Sendmail now.
I am having another problem though. I get this error from sendmail "No recipient addresses found in header." If I take out the -oi I get a different but similar error. If I replace the...
Actually, the perl path is /usr/local/bin/perl and the sendmail module path is /usr/sbin/sendmail. I put /usr/local/bin/perl in my shebang but I don't know how to point my code to the /usr/sbin/sendmail path after that.
The problem I think I'm running into is that my hosting company has sendmail installed in a different directory than Perl. All the standard code works fine but the sendmail part of my code doesn't execute because my CGI page can't see sendmail. I don't know how to allow my sendmail code to use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.