Info
- 13 posts
- 6 voices
- Started 4 years ago by nook77
- Latest reply from rslater
- This topic is not resolved
EMAIL WON'T SEND, FROM ANYHTING
-
- Posted 4 years ago #
Hey Everyone,
I have read through tons of posts with email problems...and I have still not been able to resolve the issue I'm having.
If you goto this URL, you will see that the mail test php file I put on my server works fine: http://www.crookedhook.net/forum/mailtest.php
I recieve the email and everything.
But when you try to reset your password (any user!) or just wait for EMAIL conformation about the forum. The email is never sent and it never reaches the clients address. JUNK MAIL folders are EMPTY, the mail is not getting caught up in that.
I had wordpress installed for this site, then we decided not to use wordpress and to go with BBPRESS. So basically I deleted the wordpress folder, and uploaded the BBPRESS Files. Put in my mySQL infor chaned a few things in config, so it has my email etc... and it worked! just the email isn't!
Maybe I missed a setting or something in the setup?
Hopefully someone can help!?
Talk to you all soon!
CHEERS
-
- Posted 4 years ago #
Are you using IIS 5 or 6 as the server? I started looking into it and it seems like the IIS SMTP server returns a 501 error when it receives the bbPress email. Is yours IIS? Where is the site hosted?
-
- Posted 4 years ago #
just checked his response headers:
Connection: close Date: Wed, 16 Jan 2008 12:47:21 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET, PHP/5.0.4 Content-Type: text/html 200 OKit's a IIS webserver :D
-
- Posted 4 years ago #
I suspect that IIS does not like something about the mail that's being handed off by bbPress. Need someone with an IIS server and access to the SMTP logs that can help troubleshoot this.
-
- Posted 4 years ago #
I think that some mail headers are misformed, check the pluggable.php file in the include directory and replace the
\nwith\r\n(not sure if this will help -
- Posted 4 years ago #
I have no backslashes ("\") at all in my pluggable.php file :-(
However, while I have the same problem of NO OUTBOUND EMAIL when I tested, it must work sometimes because I got some new members yesterday that are posting. But I've got a bunch of others whose last log on was "NEVER"....hmmmm
Something is definitely wrong
-
- Posted 4 years ago #
Put this in a plugin file and activate it. It's a drop-in replacement for bb_mail() from the current trunk
<?php /* Plugin Name: Fix bb_mail function Plugin URI: Description: Temporary replacement for bb_mail() function Author: Sam Bauers Author URI: Version: 0.0.1 */ if ( !function_exists( 'bb_mail' ) ) : function bb_mail( $to, $subject, $message, $headers = '' ) { if (!is_array($headers)) { $headers = trim($headers); $headers = preg_split('@\r(?:\n{0,1})|\n@', $headers); } if (!count($headers) || !count(preg_grep('/^from:\s/im', $headers))) { $from = parse_url(bb_get_option('uri')); if ($from && $from['host']) { $from = trim(preg_replace('/^www./i', '', $from['host'])); $headers[] = 'From: "' . bb_get_option('name') . '" <bbpress@' . $from . '>'; } } $headers = trim(join("\r\n", $headers)); return @mail($to, $subject, $message, $headers); } endif; ?> -
- Posted 4 years ago #
Sam, a friend of mine tried this plugin on IIS 5.1 (Windows XP) and IIS 6 (Server 2K3) and still gets the 501 error and no mail.
Would the trunk release be different that using the plugin in any way? We can try that instead if it will do anything different.
-
- Posted 4 years ago #
Sam.. Can you take a look at this thread and see if there is anything you know of to fix this issue. Chrishajer has been helping me thus far and been a tremendous help. We just cannot figure out this email issue.
http://bbpress.org/forums/topic/user-registration?replies=17
-
- Posted 4 years ago #
Sam can you refollow that thread above. The plugin did not work.. any more ideas... Would to have you additional help.. I cannot figure this out whatsoever.
-
- Posted 4 years ago #
I'm out of ideas I'm afraid.
-
- Posted 4 years ago #
Hmm - back to the drawing board...
-
- Posted 4 years ago #
I am trying to think if there is a work around // using what works .. I.E wordpress. Since the passwords would be the same for both.. Maybe there is an angle I can take there.. Sign them up in wordpress and dump the new users into bbpress to edit profile/ or add the additional bbpress profile fieldsto wordpress profile edit.. Just thinking out loud..
-
You must log in to post.