-
having weird FormMail bug
http://cyberhostserver.com/order.htm
Form errors out upon submit
Yes, I do have the FormMail configured to accept requests from that domain...it just started doing this
Anybody got a suggestion?
Thanks
James
-
virgin by request ;)
I do believe formmail is full of security holes and as a security standard it is no longer able to run on most servers. There also may be an issue with sending formmail email to a domain hosted on your own server (I think this is a formmail bug).
But overall, I would not recommend running formmail as your box will be targeted as a spam relay agent. Instead, use a function that authenticates with your SMTP server, and sends mail via that. For instance, use PHP's mail() function and set it to use an Authenticated SMTP connection to send mail.
Hope this helps,
Luke
-
Thanks...I think PHP mail funvtions are a bit beyond my competence, never heard of them. meanwhile my forms aren't working.
-
On the other hand.... You have different fingers
I echo the concerns with formmail... it tends to have a lot of problems, and your ISP will probably not be happy with you running it.
We use a modification of formmail created by Babu at Mailvalley, and available for free at
http://www.mailvalley.com/formmail/
ALternatively, there are several excellent PHP-based form/mailer scripts
A simple one:
http://www.dtheatre.com/scripts/formmail.php
One with a little more flexibility:
http://phpfmg.sourceforge.net/home.php
Both free, donations requested.
Lots more scripts, mostly open source, on freshmeat.net and sourceforge.net.
Don't be afraid of PHP... it's really simple, and frankly, assuming your host is set up to run PHP (most are), it's usually much easier to get PHP scripts up and running than it is to get CGI scripts.
Hope this helps!
-
virgin by request ;)
boyfunk, thanks for those two links, for those that don't know soundforge is an awesome place to get scripts. i have not heard of freshmeat but I am off to check it out now.
cheers,
Luke
-
Just to repeat what everyone else just said... PHP is awesome! It'll let you do some really complex and nifty things insanely easily.
Read a quick tutorial on it, and you'll see how easy it is to setup a cleaner way to process your forms than that FormMail script.
PHP is the best!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks