Change recipient email address in form?

This may sound dumb to you experts but I just can’t find the answer and I’m a tard with php. : (

I have a php form with recaptcha installed.
It is not using the mailhide api from google that I know of.

All I want to do is change the email addresses to where the form results go to:
$myemail = "[email protected]"; to $myemail = "[email protected]";

I upload and test the changes and it goes to the older email still "[email protected]".

Any suggestions as to what I’m doing wrong?

Also, now for some reason I’m getting a mail function error when I submit the form from this line:
mail($myemail, $subject, $message);

Thanks for any help!!

Have you removed the old email address from the file?

If you place the mail() function in a try catch statement you should find out why it is failing.

Thanks for the response.
Yes I did remove the old email addresses.

I have no idea what you mean by catch statement.

I took over this site and it is php which OK except for this form page.
I had to hire someone to install the recaptcha because I couldn’t get it to work.
Now the only change I made was the recipient’s email address and I get errors.

I can put the code up it needed, not sure if I should put the entire page code up or just the recaptcha and mail code.

Check your pm.

Sponsor our Newsletter | Privacy Policy | Terms of Service