![]() |
Facing issue sending email and input of user - 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: Facing issue sending email and input of user (/showthread.php?tid=60115) |
Facing issue sending email and input of user - El Forum - 01-19-2014 [eluser]Unknown[/eluser] i make simple form user submit email and city submit the form and send email to user of thanks i host website on godaddy, when i submit it shows errors. 1- Sending email error 2- $email input not get for suggestion i share code. user.php controller Code: public function sendUserMail($email) { In config i made email.php Code: <?php user_model.php in model Code: function create_member() Facing issue sending email and input of user - El Forum - 01-19-2014 [eluser]InsiteFX[/eluser] It would help if you listed the Email Errors that you are getting. Facing issue sending email and input of user - El Forum - 01-19-2014 [eluser]CroNiX[/eluser] For one thing, this line: Code: $this->email->to('$email'); You have $email in single quotes, which makes it a literal "$email" string instead of the contents of the variable. Remove the quotes. Code: $email = '[email protected]'; |