Solved

formmail on Cbeyond server

Posted on 2009-05-12
5
550 Views
Last Modified: 2013-12-25
I'm trying to use formmail on a website hosted by Cbeyond. I can't get past this error: Application Error
An error has occurred in the program
Can't open mailprog [/usr/lib/sendmail -oi -t]
The error in the in the script_error.log is " Can't exec "/usr/lib/sendmail": No such file or directory at /usr/local/lib/perl5/5.8.4/i386-freebsd/IO/File.pm line 176.
I've attached the FormMail.pl renamed and saved as a .txt file


FormMailFORee.pl.txt
0
Comment
Question by:bwierzbicki
  • 2
  • 2
5 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 24370804
From memory BSD systems have sendmail in /usr/bin/sendmail
0
 

Author Comment

by:bwierzbicki
ID: 24370834
got the same error, except it references the new path. Can't exec "/usr/bin/sendmail": No such file or directory at /usr/local/lib/perl5/5.8.4/i386-freebsd/IO/File.pm line 176.
0
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 24371091
Do you have command line access on the server?  If so, do

which sendmail

and if that doesn't come up with anything, do

find / -name sendmail 2>/dev/null

It's also possible, sendmail isn't installed on your system and you have something else like postfix or qmail.
0
 
LVL 39

Assisted Solution

by:Adam314
Adam314 earned 250 total points
ID: 24371509
Contact your admin, and ask them the location of sendmail.
0
 

Author Closing Comment

by:bwierzbicki
ID: 31580808
thanks for your comments
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question