|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
johndoe Smarty n00b
Joined: 14 May 2019 Posts: 1
|
Posted: Tue May 14, 2019 8:11 am Post subject: Contact form to send email on form submission? |
|
|
Hi, I'm new to smarty, need to submit contact form to email. Below is the form, what should be the next step. I already looked at the fetch() method - https://www.smarty.net/docsv2/en/api.fetch.tpl - but not able to understand.
Code: |
<form method=post action="">
<input type=text name=email>
<input type=text name=phone>
<input type=submit>
</form>
|
|
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat May 18, 2019 11:19 am Post subject: |
|
|
Smarty is not a programming language, it's a templating system.
It can't send mails. Do that in your PHP code that handles the form submission. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|