+ 1
Sending message from my website to my gmail account
I am creating a portfolio website. I have contact field in it, with input fields like Name, Email Id of a person who visited my website and message. And a send button. When it is pressed I will get that message in my gmail account. How can I implement this using Javascript?
8 Antworten
+ 4
You can not. Use server side.
+ 2
Use this service
invotes.com
https://code.sololearn.com/WuSY91lRBo0G/?ref=app
+ 1
Calvin is that a third party app?
+ 1
It's a third party service
+ 1
For sensitive information, you should build own server script to handle.
0
What about gmail api?
0
But isn't it insecure. Invotes.com will also get the information such as mail id of a person who is sending me message and that message too.
0
I tried php, I got code on the internet but it don't send me mail to my gmail account.
I am thinking about making my own simple gmail.
In that when user sends message php code will run that will add that message to my file on server that will be in either json or xml format. Then I will have another site similar to gmail that will open all that file for me in html.