Facing issue sending email and input of user |
[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()
[eluser]InsiteFX[/eluser]
It would help if you listed the Email Errors that you are getting.
[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]'; |
Welcome Guest, Not a member yet? Register Sign In |