![]() |
? How do I email a LINK from this Codeigniter 3 form? ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: ? How do I email a LINK from this Codeigniter 3 form? ? (/showthread.php?tid=78657) |
? How do I email a LINK from this Codeigniter 3 form? ? - Ajax30 - 02-21-2021 I am working on a basic blog application in Codeigniter 3.1.8 and Bootstrap 4. I have added a registration and login system to this application. I am current working on a password reset system. I was able to do these 2 things separately: Send a password reset email containing dummy text. Create a valid password reset link. I was unable however, to send the email once the reset link was inserted into the email body. Here is he controller: PHP Code: class Newpassword extends CI_Controller { I have inspected the link, it is valid and the value of the href attribute is as intended, but once I remove echo $this->reset_link;die() I see the attempt to send the email failing: ![]() Why? RE: ? How do I email a LINK from this Codeigniter 3 form? ? - InsiteFX - 02-21-2021 Echo out the variable to see what it is doing. PHP Code: echo $this->reset_url; |