+ 5

Issue With Emails

Okay, so I’m working on my first website and need a bit of help. I need a user to fill out a form, and it sends it to an email address. Problem is, using mail to: opens up a new mail window, that can be edited and sent. I want to send an email sort of behind the scenes. I don’t know if this is very clear. If you need a better explanation please let me know. https://code.sololearn.com/Wt2qase87Igt/?ref=app

20th Jul 2018, 4:27 PM
Jax
Jax - avatar
7 Respuestas
+ 4
action only works when changing pages , Action can also transfer data when you are working with pHp. ✔ for to use mail you need to use: <a href=mailto:......> <form method="post" enctype="text/plain"> <input name="name" type="text" placeholder="full name" required><br /> <input name="username" type="text" placeholder="username" required><br /> <input name="password" type="password" placeholder="password" required><br /> <a href="mailto: example@gmail.com"> <input type="submit" value="Send"> </a> <br />
20th Jul 2018, 5:28 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 4
20th Jul 2018, 6:42 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 3
Jax make ➡value="send" instead of send request inside <a href="mailto: example@gmail.com"> <input type="submit" value="Send"> </a>
20th Jul 2018, 6:52 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
oi ta pani nepali ho
20th Jul 2018, 6:26 PM
Lazzy_aplye
Lazzy_aplye - avatar
+ 1
HTML alone won't do anything. You need server-side programming languages such as PHP.
20th Jul 2018, 10:33 PM
N00B
+ 1
I gues you want to send verification links after a user signs up, or something like that. you can achieve this on the server side in many ways. the link below provides solutions using php and covers (also) a local server scenario: https://stackoverflow.com/questions/5335273/how-to-send-an-email-using-php next link is a comprehensive (although dated) video that should help you getting started. https://m.youtube.com/watch?v=a8x-pdQM9Cc#
21st Jul 2018, 10:08 PM
seamiki
seamiki - avatar
0
Shudarshan Rai 👑 I edited the code. I’m assuming like that? It won’t send the email though. 🤔
20th Jul 2018, 5:40 PM
Jax
Jax - avatar