Verifying Capcha Compliance

I’m going to list a piece of real estate I own for sale and I’ll be uploading a basic Contact Form with Capcha verification. I don’t think the following applies to Infinity but I just want to confirm the following isn’t something I’ll have to worry about (this is a Php 5 script):

Some web hosts do not configure their PHP mail settings properly with the result that no mail is actually sent even though the “Thank You” page is displayed. When asked, such hosts sometimes give the excuse that PHP 5 requires scripts to use a “fifth parameter” when sending mail, or that the PHP mail function needs to have a “-f” parameter. If you use such a host, put a tick in this box.

The site is 6123forsale.synergize.co

Thanks!

I don’t know if that option affects the PHP mail() function usage in any way on our hosting, but you can’t still send emails with that function on free hosting because the SMTP server that function uses has limited sending functionality, if not working at all. Maybe your only bet is to use PHPMailer if your script supports it.

3 Likes

Oh damn. So you’re saying it can’t be done as coded?

That’s correct. Basically no matter how you use the PHP mail() function, you won’t be able to get the email, because it’s heavily restricted on our end.

Please consider sending the email using an external SMTP service. You can use a library like PHPMailer for this.

5 Likes

Okay and phpmailer is something I’ll install to my 6123forsale directory? It will then be able to forward it to my yahoo address?

It’s something you have to integrate with your code.

I would see if there is an SMTP plugin or Addon you can get for your software, or ask the developers for assistance.

(You can also search all files for the mail() function and manually edit the code to use PHPMailer)

6 Likes

I’m confused. I don’t have access to a desktop computer currently so I’m on Android using my SmartPhone. Obviously I’ll have to code the page (no problem there) but what I was asking is if I have to upload a program to my synergize.co directory to get this to work?

Thank you I really appreciate your walking me through the outline of this. It’s incredibly helpful.

If the application does not support it, you would need to install an configure PHPMailer, so yes, uploading the PHPMailer library would be a required part of that.

5 Likes

Thank you GreenReader! I may need some help with that when the time comes. :wink:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.