-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
  • 3,978
  • 5
  • 23
  • 33
T.mandal
  • 21
  • 6

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
  • 133
  • 1
  • 10