<?php $txtemail = "harishmadaan@xportsoft.com"; $value = "harish.xportsoft@gmail.com"; $sub = "Thanks for Contacting Us!" ; //subject of email that is sent $headersuser = 'From: '.$txtemail . "\r\nContent-Type: text/html; charset=utf-8" .'X-Mailer: PHP/' . phpversion(); $mess = '<html> <head> <script type="application/ld+json"> { "@context": "http://json-ld.org/contexts/person.jsonld", "@id": "http://dbpedia.org/resource/John_Lennon", "name": "John Lennon", "born": "1940-10-09", "spouse": "http://dbpedia.org/resource/Cynthia_Lennon" } </script> </head> <body> <p> This a test for a Go-To action in Gmail. </p> </body> </html>'; $this_mail = mail($value,$sub,$mess,$headersuser); if($this_mail) echo 'sent!'; else echo error; ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)