Welcome Guest, Not a member yet? Register   Sign In
Sending form to email with CI
#1

[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 Smile
#2

[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.
#3

[eluser]Subfactor[/eluser]
awesome.. thanks for point in the right direction Smile
#4

[eluser]axle_foley00[/eluser]
You're most welcome. Let me know if you need any further assistance.
#5

[eluser]Grahack[/eluser]
Quote:I usually use a php form
Maybe a html form ? Wink
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.




Theme © iAndrew 2016 - Forum software by © MyBB