ok
Direktori : /proc/thread-self/root/home2/selectio/www/mm-tailor-billing/hrm/mail/ |
Current File : //proc/thread-self/root/home2/selectio/www/mm-tailor-billing/hrm/mail/mail2.php |
<?php $to = "brindha36brindha36@gmail.com"; $subject = "Subject of the Mail"; $message = "<html><body>"; $message .="Dear ,<br/><br/>"; $message .= "</body></html>"; $message .= "Dear ,". "\r\n". "Your comment added sucessfully "."\r\n"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= 'From: fromid@gmail.com'."\r\n" . // "Cc:".$sendlist_manager."\r\n" . 'MIME-Version: 1.0'.'\r\n'. 'Content-Type: text/html; charset=\"iso-8859-1\" '."\r\n"; // 'X-Mailer: PHP/' . phpversion(); if (mail($to, $subject, $message, $headers)) { //Send success message. echo '<script type="text/javascript">alert("Mail Sent!"); </script>'; } else { echo '<script type="text/javascript">alert(" Mail not sent, please try again!"); </script>'; } ?>