Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Formmail.pl without mail server on the webserver

formmail.pl error message



9:34 pm on Aug 5, 2009 (gmt 0)

5+ Year Member

Hi Gurus;

I have a question, I am designing a website and i have a form inside that should be send the results to my email address.

Well I am using the free formmail.pl and I do the necessary changes but Still got an error. I checked the code and I am sure I that the problem is not the code, so I called the hosting company and they said that I am using SMTP:localhost or '/usr/lib/sendmail' as a $mailprog and they dont have a mail server in the web server. They said that I have to direct it to an IP address (they sent me the address). I entered the address on the $mailprog but I am getting a different error which says
Content-Type: text/html; charset=iso-8859-1
Application Error.

What can I do to use the formmail without mail server on the web server...How should I setup the $mailprog to use the IP they gave me.

Please help!

Thank you


11:55 pm on Aug 5, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

There are several modifications to the original Matt's Formmail that will use SMTP instead of the system program 'sendmail'. You just need to have access to an SMTP Mail Server (like for your own Email account). A Google search will bring up several alternatives.

Featured Threads

Hot Threads This Week

Hot Threads This Month