+ 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
7 Respostas
+ 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 />
+ 4
Lazzy_aplye umm ho
+ 3
Jax
make
➡value="send" instead of send request
inside
<a href="mailto: example@gmail.com"> <input type="submit" value="Send"> </a>
+ 2
oi ta pani nepali ho
+ 1
HTML alone won't do anything. You need server-side programming languages such as PHP.
+ 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#
0
Shudarshan Rai 👑
I edited the code. I’m assuming like that? It won’t send the email though. 🤔