Macemore
Circumcised pineapples
Haidere, I'd like to know if I could setup a E-Mail form on my website (using PHP & ASP & HTML)
I was looking through w3schools' ASP tutorial and I saw this code:
and I was thinking if I could setup a form where I can just fill it out and send an email from there? Like so:
but I have no idea how (or if you can) set that up with PHP.
any help here guys?
Thanks!
I was looking through w3schools' ASP tutorial and I saw this code:
Code:
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="[email protected]"
myMail.To="[email protected]"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
%>
HTML:
<form name="input" action="send_the_fucking_email.php" method="get">
Subject: <input type="text" name="subject" />
To: : <input type="text" name="to" />
Message: : <input type="text" name="textbody" />
<input type="submit" value="Send the fucking email already!" />
</form>
any help here guys?
Thanks!