Hi, I seem to run into a problem with this simple .php form submission code.
The message "Mail Sent" appears successfully - however I do not receive the contents of the form to the email that I had specified. Need help!!
Form Code (html)
<form method="post" action="test.php">
Subject<br><input type="text" name="subject" size="40">
Message<br><textarea name="message" rows="5" cols="40">
<button type="submit">Send</button>
</form>
PHP Code (.php)
<?php
$strTo = "admin@aadithyatravel.com.my";
$strSubj = $_POST["subject"];
$strMsg = $_POST["message"];
ini_set('SMTP', 'mail1.netmyne.com');
ini_set("smtp_port", 25);
mail($strTo,$strSubj,$strMsg);
echo "Mail Sent.";
?>

