Not Solved php mail not sending
#2
Not Solved
php mail testing file should be uploaded to main folder of your forum
where global.php, index.php files exist along with other files & folders

your mail ID needs to be added in the file & file should be executed to test

example file : mailtest.php
    <?php
     error_reporting(E_ALL);
       $to = 'your/mail/id';
       if(mail($to, 'Testing mail', 'This is a mailing test to see if PHP mail works.'))
       {
        echo 'Mail was sent by PHP';
       }
       else
       {
        echo 'PHP could not send the mail';
        print_r(error_get_last());
       }
Reply


Messages In This Thread
php mail not sending - by kdmiller45 - 2020-04-10, 06:30 PM
RE: php mail not sending - by .m. - 2020-04-11, 03:52 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)