Not Solved php mail not sending
#1
Not Solved
I have seen some documentation on setting up php mail but the whole document does not tell you where the file to modify is located, at least in its default location can anyone assist, I have tested my mail server sending and receiving email fine from Gmail to zimbra no problems, it's just the setup of php mail

When I use the SMTP Mail and TLS the log shows:  Failed to start TLS encryption (Works with other sites I have)
When I use SSL it says:  Unable to connect to the mail server with the given details reason: 0
When I use no encryption it says: Unable to connect to the mail server with the given details reason: 0

Keith
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)