Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php mail if successful

$result = mail('abc@test.com', 'Test Subject', $message);
if(!$result) {   
     echo "Error";   
} else {
    echo "Success";
}
 
PREVIOUS NEXT
Tagged: #php #mail #successful
ADD COMMENT
Topic
Name
2+6 =