CodeIgniter Forums
Sending Email after submit - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Sending Email after submit (/showthread.php?tid=35871)



Sending Email after submit - El Forum - 11-13-2010

[eluser]Unknown[/eluser]
Hi there,

I'm not sure if anything has been posted like this before (I've searched the forums for a few days and haven't really found anything that relates to what I need).

I have a site where users take tests and I need to be able to send two emails once the user clicks the "submit" button. One e mail to the user and another to myself, both indicating what test the user took, their grade and a certificate attachment if they passed.

I am super new to codeigniter so I am not really sure where to look and what functions to call.

Any help would be great. Let me know if you need more details, I would be happy to supply.

Thanks in advance.


Sending Email after submit - El Forum - 11-14-2010

[eluser]mdvaldosta[/eluser]
Check out the email helper in the user guide. Makes sending emails a breeze. Just make sure you use the clear function between emails.