Sending form to email with CI |
[eluser]Subfactor[/eluser]
Hello, Im trying to send form data to an email address and I hit a bit of a roadblock..I usually use a php form to do the work but since CI is new to me and im still trying to find my way around things.. Can I use the form helper to send an email or does that require some crazy coding ... ? Thanks in advance if anyone can help ![]()
[eluser]axle_foley00[/eluser]
Subfactor: You'd want to use both the Form helper and Email Class to do this. And no it doesn't require any 'crazy coding'. It's very straightforward and easy to do.
[eluser]Subfactor[/eluser]
awesome.. thanks for point in the right direction ![]()
[eluser]axle_foley00[/eluser]
You're most welcome. Let me know if you need any further assistance.
[eluser]Grahack[/eluser]
Quote:I usually use a php formMaybe a html form ? ![]() Use the form helper to create the html tags, and have a look at the Validation class if you don't know it. It's REALLY powerful. Then once the data is validated, you'll send your mails with the Email class as our favorite cop suggested. |
Welcome Guest, Not a member yet? Register Sign In |