-1

my send.php code is

<?php
mail('mn###an@gmail.com', 'Mail Subject', 'From: md###an@gmail.com');

?>

and php.ini file is

enter image description here

enter image description here

and sendmail.php is

enter image description here

enter image description here

Thomas Smyth - Treliant
  • 4,993
  • 6
  • 25
  • 36
T.mandal
  • 21
  • 7

1 Answers1

0

I think its best you use PHPMailer https://github.com/Synchro/PHPMailer . Its object oriented, and super easy with a lot of options .Here is a simple example Using phpmailer()

SayoPaul
  • 153
  • 2
  • 10