+ 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?

26th Nov 2018, 11:24 AM
Prathamesh Sawant
Prathamesh Sawant - avatar
8 Antworten
+ 4
You can not. Use server side.
26th Nov 2018, 2:09 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
26th Nov 2018, 3:22 PM
Calviղ
Calviղ - avatar
+ 1
Calvin is that a third party app?
26th Nov 2018, 8:48 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 1
It's a third party service
27th Nov 2018, 12:26 AM
Calviղ
Calviղ - avatar
+ 1
For sensitive information, you should build own server script to handle.
27th Nov 2018, 11:36 AM
Calviղ
Calviղ - avatar
0
What about gmail api?
26th Nov 2018, 2:57 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
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.
27th Nov 2018, 9:59 AM
Prathamesh Sawant
Prathamesh Sawant - avatar
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.
27th Nov 2018, 10:03 AM
Prathamesh Sawant
Prathamesh Sawant - avatar