- mail: documentation ( source)
- wordwrap: documentation ( source)
<?php
// the message
$msg = "First line of textnSecond line of text";
// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);
// send email
mail("muhammad.imran@elementarylogics.com","My subject",$msg);