![]() |
save user message to database and email message notification - 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: save user message to database and email message notification (/showthread.php?tid=13102) |
save user message to database and email message notification - El Forum - 11-11-2008 [eluser]patrick-vibes[/eluser] What is the simplest way to go about creating a solution to the above, similar to for example, a facebook notification email that a user receives when someone emails them via the facebook application. I am trying to have a message board between two users that will post the message once the form is submitted and refresh the page via ajax / jquery so they can immediately see the new message appear at the bottom of the list. I figured that it could be done by using a standard email setup in CI and if the message validates its then sends, go's to the success page where a hidden form automatically sendsa notification to the intended message recipient to say "hey you got a new message - click the link below to check it out blah blah" any help appreciated. or pointing to a example / utorial for something along these lines. > Cheers |