- Mail function use for a mailing data programmatically
- using mail function you can mail multiple user at a time like CC and BCC
- Mail functions not working in localhost
<?php $to = "email@example.com";//receiver MailId $subject = "subject";//subject of mail $Messagebody= "Message body";//body of message $headers = "From: firstname.lastname@example.org" . "\r\n" . "CC: formCC@example.com"; mail($to,$subject,$Messagebody,$headers); ?>
Hello, My Name is pradip parker . I am a Web Developer, Professional Blogger from India. i love and like web designing and developing, i have two year of experience in programming and developing I am the founder of programmingconcept. I started this blog in 2017 to for help developers by providing easy,small and best tutorials.