0

how to email the data of form ?

6th May 2017, 4:05 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
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()
6th May 2017, 8:24 AM
Oliver
+ 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.
6th May 2017, 5:03 AM
Calviղ
Calviղ - avatar
+ 1
Use mail command.
6th May 2017, 4:19 AM
Calviղ
Calviղ - avatar
+ 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.
6th May 2017, 4:23 AM
Calviղ
Calviղ - avatar
+ 1
We cannot view your server side php code.
6th May 2017, 4:58 AM
Calviղ
Calviղ - avatar
+ 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?
6th May 2017, 5:58 AM
Oliver
0
it doesn't worked, i used it and also searched on internet.
6th May 2017, 4:21 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
0
https://datacobot.000webhostapp.com/datacobot/index.php on this page "see a demo form" is not working.
6th May 2017, 4:30 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
0
these are my codes.
6th May 2017, 4:59 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
0
data is recieving i checked it
6th May 2017, 5:04 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
0
error is returned but what the error is not shows
6th May 2017, 6:07 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar
0
ok
6th May 2017, 9:00 AM
Ajit Singh Kushwaha
Ajit Singh Kushwaha - avatar