(2011-08-26, 05:20 PM)faviouz Wrote: Please try the following mail test script: [Wiki: Help:Mail] (Broken link, head over to docs.mybb.com instead)
If this test says it could not send the mail, or it said it sent but you did not receive any email, even in your spam/trash folder, then the issue lies with your host. If you receive the email from this test, we will investigate the issue further.
I uploaded this file to my main hosting directory:
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww21600\viewh26200\viewkind0
\deftab720
\pard\pardeftab720\ql\qnatural
\f0\fs48 \cf0 <?php\
error_reporting(E_ALL);\
\
$to = '
[email protected]';\
\
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';\
\}\
?>\
}
I did not get an email message at
[email protected] but when I went to
http://www.futurebeacon.com/mailtest.php I got this message on my browser screen:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/content/j/i/m/jimadrian/html/mailtest.php on line 8
Parse error: syntax error, unexpected T_STRING in /home/content/j/i/m/jimadrian/html/mailtest.php on line 9
Did I do it right?
Jim Adrian