Send URL with the email class |
[eluser]bahjaat[/eluser]
Hi all, I'm still new to CI but almost finished my app. Still having a problem with sending an email with the email-class with an URL in the body. It has something to with the 'permitted_uri_chars' I guess. When I add the slash (/) in the body like: 'reset your password with the following link: http://www.example.com/resetpass/123/hash' the mail will not send, but with no errormessage. When I replace the slash with a minus (-) the mail will be send. Also when adding the slash to the $config['permitted_uri_chars'] the mail will be send, but I read some comments that this 'solution' is not an option (when you not totally understand the 'permitted_uri_chars'. I also used '$this->email->print_debugger()' and it says at all times that them message is send. Hopefully the is some one who can help me out. Thanks.
[eluser]InsiteFX[/eluser]
Try using CodeIgniters url_helper anchor. InsiteFX
[eluser]bahjaat[/eluser]
sorry, Found out that the missing mail was in my spam-folder. :-( |
Welcome Guest, Not a member yet? Register Sign In |