0
how to email the data of form ?
13 Réponses
+ 1
error? the return value of mail() could be true or false. please try to output the strings before using mail()
btw why you use @mail insteed of mail()
+ 2
Are you sure that the error was from mail function?
You should debug your post input using print_r to ensure all data received correctly.
+ 1
Use mail command.
+ 1
Since it involves mail server, you need to host a web server, run the code from there. You cannot do it on localhost or SL code playground.
+ 1
We cannot view your server side php code.
+ 1
why you have two closing form tags in your form.php?
do you change sendmail.ini/php.ini?
what is the return value of mail command?
0
it doesn't worked, i used it and also searched on internet.
0
https://datacobot.000webhostapp.com/datacobot/index.php on this page "see a demo form" is not working.
0
these are my codes.
0
data is recieving i checked it
0
error is returned but what the error is not shows
0
ok