Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
tourniqu3t
Regular
Regular



Joined: Jan 16, 2009
Posts: 91

PostPosted: Mon Apr 22, 2013 2:17 pm Reply with quote

This one doesn't seem to work. I approved my another account "test". I don't receive the email from my main account "God". I tried to click on resend. I still see the same result.
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Mon Apr 22, 2013 7:38 pm Reply with quote

Have you verified email settings work correctly?

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
tourniqu3t







PostPosted: Mon Apr 22, 2013 11:22 pm Reply with quote

kguske wrote:
Have you verified email settings work correctly?


Where can I find that settings? I probably miss this settings.
 
tourniqu3t







PostPosted: Tue May 07, 2013 2:59 pm Reply with quote

*bump* I haven't heard a word from you guys long time.
 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1774

PostPosted: Tue May 07, 2013 3:04 pm Reply with quote

The email-settings are not a part of RN, you should find it in your panel for your webserver-settings. (CPANEL, PLESK etc)

_________________
Github: RavenNuke 
View user's profile Send private message
kguske







PostPosted: Tue May 07, 2013 11:25 pm Reply with quote

Newer versions of RN include TegoNuke Mailer, which enables 3 methods for sending mail:
- PHP mail() - this is the default and may be disabled on many hosts
- SMTP
- SendMail

The RN admin page has an admin link for TegoNuke Mailer, which allows you to activate TegoNuke Mailer if you can't send mail via the default PHP mail() function. It has popup help to assist in configuration.
 
tourniqu3t







PostPosted: Wed May 08, 2013 12:11 am Reply with quote

I already created one email address in Cpanel. Did I miss anything?
 
tourniqu3t







PostPosted: Wed May 08, 2013 12:17 am Reply with quote

kguske wrote:
Newer versions of RN include TegoNuke Mailer, which enables 3 methods for sending mail:
- PHP mail() - this is the default and may be disabled on many hosts
- SMTP
- SendMail

The RN admin page has an admin link for TegoNuke Mailer, which allows you to activate TegoNuke Mailer if you can't send mail via the default PHP mail() function. It has popup help to assist in configuration.


It has SMTP. I am not sure about sendmail.
 
tourniqu3t







PostPosted: Wed May 08, 2013 12:52 am Reply with quote

TegoNuke Mailer was the one... You are absolutely right about php mail() It may be disabled. I used smtp. It worked now. Thank you, kguske.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu May 09, 2013 6:41 pm Reply with quote

Unfortunately I never got around to making the Mailer also control the Forums. So, if you are using the Forums and want emails to be sent, you'll need to configure the SMTP settings in the Forums Admin as well...

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
kguske







PostPosted: Thu May 09, 2013 8:42 pm Reply with quote

Thanks for pointing that out...
 
tourniqu3t







PostPosted: Thu May 09, 2013 11:23 pm Reply with quote

montego wrote:
Unfortunately I never got around to making the Mailer also control the Forums. So, if you are using the Forums and want emails to be sent, you'll need to configure the SMTP settings in the Forums Admin as well...


I am using the forums too. Mailer works great for approve by admin. I am going to work on smtp for forums.
 
tourniqu3t







PostPosted: Fri May 10, 2013 12:17 am Reply with quote

tourniqu3t wrote:
montego wrote:
Unfortunately I never got around to making the Mailer also control the Forums. So, if you are using the Forums and want emails to be sent, you'll need to configure the SMTP settings in the Forums Admin as well...


I am using the forums too. Mailer works great for approve by admin. I am going to work on smtp for forums.


*bump* It says

Could not connect to smtp host : 111 : Connection refused

DEBUG MODE

Line : 113
File : smtp.php
 
tourniqu3t







PostPosted: Sat May 11, 2013 1:11 am Reply with quote

*bump* again It's fixed. I had to modify this in smtp.php (line 111)

Green color means original.

Red color means changed.

From


if( !$socket = @fsockopen($board_config['smtp_host'], 25, $errno, $errstr, 20) )
{
message_die(GENERAL_ERROR, "Could not connect to smtp host : $errno : $errstr", "", __LINE__, __FILE__);
}


to



if( !$socket = @fsockopen($board_config['smtp_host'], 587, $errno, $errstr, 20) )
{
message_die(GENERAL_ERROR, "Could not connect to smtp host : $errno : $errstr", "", __LINE__, __FILE__);
}


Now it's solved.

smtp.php can be found in modules -> Forums -> includes -> smtp.php

Do I miss anything else? What about private messaging?
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon May 13, 2013 3:33 pm Reply with quote

The original code was actually correct when it was written BUT some hosts are now switching to different ports to help combat spam sent through mail relays due to compromised servers.
Some internet service providers are also blocking port 25 now to help stop zombie PC's sending mail.
 
View user's profile Send private message Send e-mail
tourniqu3t







PostPosted: Wed May 15, 2013 1:45 am Reply with quote

I didn't know they block port 25. You should add the blank bar instead of forcing admins to stick with port 25.

They don't have to edit it through that file.

Example:

Port: [ 25]

Port: [ blank(after deleting)]

Port: [ type numbers for port here after that.]

That option should be added into configurations in admin forums.
 
Guardian2003







PostPosted: Wed May 15, 2013 4:04 am Reply with quote

An internet service provider blocking port 25 won't affect a website sending SMTP email because the data packet isn't sent through the ISP's connection.
 
montego







PostPosted: Wed May 15, 2013 7:24 am Reply with quote

tourniqu3t wrote:
I didn't know they block port 25. You should add the blank bar instead of forcing admins to stick with port 25.


Agreed. The code is very old and needs to be updated or proper hooks into TegoNuke(tm) Mailer need to be made (my preference and on my to-do list).
 
tourniqu3t







PostPosted: Wed May 15, 2013 10:47 pm Reply with quote

montego wrote:
tourniqu3t wrote:
I didn't know they block port 25. You should add the blank bar instead of forcing admins to stick with port 25.


Agreed. The code is very old and needs to be updated or proper hooks into TegoNuke(tm) Mailer need to be made (my preference and on my to-do list).


Yeah, that sounds good. TegoNuke should have two options in there like this

TegoNuke Mailer Settings:

Admins modify this for Approve by Admin

Admin forums settings: (You guys should add this).

Admins modify the port here.
 
tourniqu3t







PostPosted: Wed May 15, 2013 10:49 pm Reply with quote

Guardian2003 wrote:
An internet service provider blocking port 25 won't affect a website sending SMTP email because the data packet isn't sent through the ISP's connection.


I thought it's coming from the server.
 
Guardian2003







PostPosted: Thu May 16, 2013 7:53 am Reply with quote

tourniqu3t wrote:
Guardian2003 wrote:
An internet service provider blocking port 25 won't affect a website sending SMTP email because the data packet isn't sent through the ISP's connection.


I thought it's coming from the server.

Yes, the mail would be sent from your web server but because the data is not from there and not your computer, it is not passed through your Internet Service Provider. Unless of course you are running your own server from home.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©