I am setting up a "built in" contact form that I need to pull the administrators email address from an external php page.
For instance, my form
proces_form.php I have a few options set up.
$msg = "Form Contents: \n\n"; foreach ($this->fields as $key => $field) $msg .= "$key : $field \n"; $to = 'firstname.lastname@example.org'; $subject = 'New Form Submission'; $from = $this->fields['email'];
My goal is to dynamicly grab the admin email address from this page and populate the
$to = '' area.
Any help would be much much appreciated!