Forum Moderators: coopster & phranque

Message Too Old, No Replies

trouble with mailprog on formmail script

         

sodani

2:58 pm on Sep 17, 2006 (gmt 0)

10+ Year Member



I'm using NMS FormMail Version 3.14c1, which has the following line
$mailprog = '/usr/lib/sendmail -oi -t';

When I execute the script, I receive this error message:
Application Error
An error has occurred in the program
Can't open mailprog [/usr/lib/sendmail -oi -t]

I use godaddy's virtual dedicated servers, and I think it uses qmail instead of sendmail. So I tried replacing "sendmail" with "qmail", but I still got the same application error.

Any ideas?

perl_diver

5:41 pm on Sep 17, 2006 (gmt 0)

10+ Year Member



first check godaddys FAQs to make sure they use qmail or sendmail. It could be the path to sendmail is different than the path you posted, although that is a very common one. If they use qmail then you probably want to use the SMTP option. See the NMS FormMail readme file for details.

sodani

9:22 pm on Sep 17, 2006 (gmt 0)

10+ Year Member



You know, I just figured it out. I had the path wrong. It should've been sbin rather than lib.