Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48

Thread: User registration problems

  1. #41
    Senior Member
    Join Date
    Sep 2009
    Posts
    429
    Thanks
    159
    Thanked 54 Times in 41 Posts

    Default

    So my suggestion from post #19 fixed it for Gibby. Can anyone else confirm this works before I remove $return_path in the next version of Hotaru?

    I opened /libs/EmailFunctions.php and removed the $return_path parameter from line 103, doesn't work for me.

  2. #42
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    @nothingman, perhaps you could try running a similar test to Gibby? Upload a separate mail test first and see if that works.

    At the moment, this is the change I'll be making in Hotaru 1.1.4 due the first weekend in April:

    /libs/EmailFunctions.php lines 102-104:

    PHP Code:
    //$return_path = "-f " . SITE_EMAIL;
    $return_path "";
    mail($this->to$this->subject$this->body$this->headers$return_path); 
    I've left $return_path in there, but set it to blank. Gibby, could I bother you one more time to test the above code? Thanks.

    @Alf, how about you? Any progress at your end?

  3. #43
    Junior Member gibby's Avatar
    Join Date
    Mar 2010
    Location
    Shanghai
    Posts
    29
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    Hi

    Changed but still no email for me :-(
    Happy that my eyes open every morning

  4. #44
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    Quote Originally Posted by gibby View Post
    Changed but still no email for me :-(
    Wow, I guess I'll have to leave $return_path out completely.

    Thanks for trying it.

  5. #45
    Junior Member alfbrand's Avatar
    Join Date
    Dec 2009
    Location
    Bay Area, CA
    Posts
    17
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    OK I've found a solution, for me at least, turns out I set my SITE EMAIL to "admn@mydomain.com" , once I switched it to my SMTP USERNAME the emails started sending.

    No changes to /libs/EmailFunctions.php needed
    Last edited by alfbrand; 03-29-2010 at 05:39 PM.

  6. #46
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    Quote Originally Posted by alfbrand View Post
    OK I've found a solution, for me at least, turns on I set my SITE EMAIL set to "admn@mydomain.com" , once I switched it to my SMTP USERNAME the emails started sending.
    LOL, sometimes the biggest problems have the simplest solutions

    Glad it's working for you now.

  7. #47
    Senior Member
    Join Date
    Sep 2009
    Posts
    429
    Thanks
    159
    Thanked 54 Times in 41 Posts

    Default

    Quote Originally Posted by alfbrand View Post
    OK I've found a solution, for me at least, turns out I set my SITE EMAIL to "admn@mydomain.com" , once I switched it to my SMTP USERNAME the emails started sending.
    No changes to /libs/EmailFunctions.php needed
    Ok, I too set up my SMTP to ON and entered the SITE EMAIL as "do-not-reply@mydomain.com". But I wonder why I'm getting the following errors after clicking the Register button.

    Code:
    Warning: EmailFunctions::require_once(Mail.php) [function.EmailFunctions-require-once]: failed to open stream: No such file or directory in /serverpath/html/libs/EmailFunctions.php on line 125
    
    Fatal error: EmailFunctions::require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/local/php5/lib/php') in /serverpath/html/libs/EmailFunctions.php on line 125
    EDIT: I'm still not getting the confirmation mails (I'm probably entering the incorrect info on the SMTP settings)

  8. #48
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 806 Times in 526 Posts

    Default

    @nothingman, you shouldn't need to use SMTP email authentication unless your server requires it. If you're on a shared server then it's highly unlikely you need to turn SMTP on. Those errors are caused because you don't have PEAR Mail enabled on your server with you only need when SMTP is turned on. Don't worry about that. Just...

    1. Turn SMTP off
    2. Put in a valid site email address that matches the domain you are sending emails from.
    3. Reorder the plugins as suggested a few times before (if you're not using Hotaru 1.1.3, then upgrade)
    4. Remove the 5th parameter from the mail function like Gibby did

    Then you should be back in business.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installation problems
    By rolfdohrmann in forum Installation and Upgrading
    Replies: 25
    Last Post: 07-02-2010, 02:43 AM
  2. Upgrade Problems 1.0.5 to 1.1
    By angolanmade in forum Installation and Upgrading
    Replies: 5
    Last Post: 02-23-2010, 03:49 AM
  3. Registration and Post Submission Problems
    By runnertalk in forum How-To and Troubleshooting
    Replies: 4
    Last Post: 09-30-2009, 12:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •