PHP mail problem

dutchy90

New Member
Messages
6
Reaction score
0
Points
0
hello,

I has try to send a mail after a registration script.
But he say the mail was send, but the mail was never come.

I has try the follow script:
mail ( $email_address_to , $subject, $message_contents );
If I use it without the registration page, and only this script.
I got the mail, but after the registration i haven`t

Can somebody help me with this problem.

A DutchBoy
 
Last edited:

kbjradmin

New Member
Messages
512
Reaction score
2
Points
0
try doing
PHP:
$sent = mail(...);
echo $sent;
and see what you get. true means your message was sent, false means it wasn't
 

dutchy90

New Member
Messages
6
Reaction score
0
Points
0
thanxs for the answer,

I had put it in my script and he say False.
I has mail the admin of the server and he has something chance.
Now he do send the mails.

It`s works
 

unodot

New Member
Messages
7
Reaction score
0
Points
0
This is the error that sends me back

Warning: mail() has been disabled for security reasons in /home/unodot/public_html/contact1.php on line 15
 

Anna

I am just me
Staff member
Messages
11,733
Reaction score
578
Points
113
mail() will be enabled again when maintenance is completed.
It is currently disabled to relieve the servers of stress.
 
Top