[insert_php]
if (!empty($_GET[‘email’]))
{
echo "Hi how are you”;
$email=$_GET["email”];
$to = $email;
$subject = ‘Testing email’;
$body = ‘
this is test email
‘;
$headers = array(‘Content-Type: text/html; charset=UTF-8’);
$headers[] = ‘Cc: Shauzab Ali
wp_mail( $to, $subject, $body, $headers );
}
[/insert_php]