Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6036455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:55:37+00:00 2026-05-23T05:55:37+00:00

I am having some trouble with the Ion_Auth forgotten password function. I have loaded

  • 0

I am having some trouble with the Ion_Auth forgotten password function.

I have loaded the library and called the function, passing an email address (from an input box).

The email template exists on the server (as do all relevant files) and the function is in fact returning TRUE, tested by using an IF NOT statement.

However, no emails are being sent. Now I know the CI mail function works, as I made a quick mail using the email library and it sent the message with no problems.

I tested the Ion_Auth library and found it was finding the user and was generating the email using the template, and it is returning TRUE after executing $this->ci->email->send()

So how can this be, when no email is being received?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:55:38+00:00Added an answer on May 23, 2026 at 5:55 am

    You can change the default ion auth behaviour by rewritting the send email code to native PHP, or you can change the protocol. Go to forgotten_password() and before $this->ci->email->initialize($config); you can do $config['protocol'] = OPTION; where option can be mail, sendmail, or smtp

    http://codeigniter.com/user_guide/libraries/email.html

    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having some trouble passing values from one class to another. I basically have a
Im having some trouble writing a getstring function, this is what I have so
having some trouble passing a function as a parameter of another function... ERROR: Error
I am having some trouble with the Google Maps API . I have an
I'm having some trouble getting log4net to work from ASP.NET 3.5. This is the
Having some trouble sending properly formatted HTML e-mail from a PHP script. I am
I having some trouble figuring this problem out where I have one button which
Im having some trouble with jQuery's slideToggle function in IE8 for some reason the
I'm having some trouble opening an existing blackberry eclipse project I have to work
I`m having some trouble in understanding how delegates in C# work. I have many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.