• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: user option to send a copy of form

user option to send a copy of form 14 years 11 months ago #10611

  • dcoder50
  • dcoder50's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I am trying to create a checkbox in which the user can choose to recieve a copy of the form data. I have been unable to make it send even a simple email with php based on the checkbox value. Any ideas?
$emailcopy2 = $_POST['form']['emailcopy'];
 
$emailcopy1 = "E-Mail a copy of this message to your own address";
 
if($emailcopy2 == $emailcopy1){
 $to = "email@someplace.com";
 $subject = $emailcopy2;
 $body = "Hi,\n\nHow are you?";
 mail($to, $subject, $body);
 
}
 
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!