Questions tagged [formmail]

59 questions
4
votes
4 answers

Do Perl CGI programs have a buffer overflow or script vulnerability for HTML contact forms?

My hosting company says it is possible to fill an HTML form text input field with just the right amount of garbage bytes to cause a buffer overflow/resource problem when used with Apache/HTTP POST to a CGI-Bin Perl script (such as NMS FormMail).…
NorthK
  • 153
  • 1
  • 2
  • 8
3
votes
1 answer

Fatal error: Class 'PHPMailer' not found in .../contact/mailtest/process.php on line 8

I'm trying to make PHPMailer work, but it keeps giving me this error: Fatal error: Class 'PHPMailer' not found in /home/a4588543/public_html/contact/mailtest/process.php on line 8. and line 8 is: $mail = new PHPMailer(); Here's the…
qwaz
  • 1,151
  • 3
  • 19
  • 45
2
votes
1 answer

Formmail.com with conditions on checkboxes

Using this service (http://www.formmail.com) on a form and Ive run into a bit of a problem that after extensive google searching has not given me an answer. I want to add who gets an email if a check box has been checked. Ive tried a few JS and PHP…
alsu3
  • 35
  • 5
2
votes
1 answer

Formmail Redirect Issue

I'm trying to get a Formmail form to re-direct back to it's own page. For example, if I'm on the page, http://www.rightfittech.com/paincenter/contact-us.html, I would like the re-direct to go back to…
Rob Myrick
  • 797
  • 9
  • 23
2
votes
1 answer

reCAPTCHA V2 with FormMail.cgi (Matt's Script Archive)

I was previously using reCAPTCHA V1 in conjunction with FormMail.cgi from Matt's Script Archive, with the following Perl function to validate the reCAPTCHA response: sub check_captcha { my $ua = LWP::UserAgent->new(); my $result=$ua->post( …
Lee Mac
  • 14,469
  • 6
  • 23
  • 70
2
votes
2 answers

Should I use formmail or PHP mail?

I recently started working on a web project which was already in progress; the guy who built the foundation for it had the signup page sending the form fields to a formmail Perl script, so that he could get an email when a user signs up. I'm not…
Sam Dufel
  • 16,546
  • 3
  • 43
  • 49
2
votes
3 answers

How to output "Thanks" text, instead of opening a separate URL using formmail.php

This is my site that I'm working on the contact page. I'm using formmail.php for the contact form (http://www.tectite.com/) When the user submits the form I want it to say something like "Thank you, your message has been sent." But I want this text…
user2419684
  • 33
  • 1
  • 3
2
votes
2 answers

IIS 405 HTTP verb used to access this page is not allowed email

First off, I'm familiar with IIS however do not have much practical experience, hence why I have come here. I have setup IIS7 and put my HTML website, scripts etc into the wwwroot folder. I'm able to browse the website locally just for testing…
Chris
  • 107
  • 2
  • 4
  • 12
1
vote
1 answer

send form to email in hostgator

I need to create a custom Form in hostgator and should be able to send the Form input to my email address. I am new to html and form in general. I have used the code on the following link to create the base html file:…
inp.kez
  • 31
  • 2
1
vote
0 answers

Php mail() to GSuite/GMail Deliverability Issue, Not all GSuite Domains Impacted

I've run into a quirky GSuite/Gmail deliverability issue from a PHP mail() form on one of my websites. Here's the scenario in as much detail as I can give: We have two businesses (A and B), each with its own domain. Both domains are set up in our…
ceporcella
  • 11
  • 5
1
vote
2 answers

Post select option PHP

I cannot figure out how to POST select options. The form posts empty values for the contact (option) field. I know the selected_val is incorrect but not sure how to correct. The form posts fine, but contact returns an empty value. Can anyone help…
ControlZ
  • 171
  • 2
  • 14
1
vote
4 answers

PHP "Wrong referrer" error when submitting a mail form

I am pretty new to php, but I am learning! I have a simple form on a client website. I am testing the form and when I click submit, I get the following error: Form Mail Script Wrong referrer (referring site). For security reasons the form can only…
Diventare Creative
  • 481
  • 3
  • 10
  • 31
1
vote
1 answer

PHP Form - BCC not receiving emails

I'm trying to BCC an email in my PHP form. For some reason, the following code isn't sending the form to the BCC address: $headers = "From: " . strip_tags($from) . "\r\n" . "BCC:test@test.com"; $headers .= "Reply-To: ". strip_tags($from) .…
user3216933
  • 275
  • 1
  • 3
  • 11
1
vote
1 answer

nms formmail - no email validation if not required + separate redirect page

I have setup nms formmail recently on my blog and I made email optional, however I would like to make sure that when it is filled out, an email validation check is run. It looks like nms formmail only offers this check in case the email field is…
benomatis
  • 5,035
  • 7
  • 30
  • 51
1
vote
2 answers

Looking for a replacement for NMS FormMail.pl

I have a simple contact form that I knocked up in a few minutes using NMS FormMail.pl. But the customer has requested that I have a second email address entry field, and validation that kicks them back if the two addresses are different. I could…
Paul Tomblin
  • 167,274
  • 56
  • 305
  • 392
1
2 3 4