Author |
Message |
tourniqu3t
Regular
Joined: Jan 16, 2009
Posts: 91
|
Posted:
Mon Apr 22, 2013 2:17 pm |
|
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. |
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6433
|
Posted:
Mon Apr 22, 2013 7:38 pm |
|
|
|
|
tourniqu3t
|
Posted:
Mon Apr 22, 2013 11:22 pm |
|
kguske wrote: | Have you verified email settings work correctly? |
Where can I find that settings? I probably miss this settings. |
|
|
|
|
tourniqu3t
|
Posted:
Tue May 07, 2013 2:59 pm |
|
*bump* I haven't heard a word from you guys long time. |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Tue May 07, 2013 3:04 pm |
|
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 |
|
|
|
kguske
|
Posted:
Tue May 07, 2013 11:25 pm |
|
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
|
Posted:
Wed May 08, 2013 12:11 am |
|
I already created one email address in Cpanel. Did I miss anything? |
|
|
|
|
tourniqu3t
|
Posted:
Wed May 08, 2013 12:17 am |
|
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
|
Posted:
Wed May 08, 2013 12:52 am |
|
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
|
Posted:
Thu May 09, 2013 6:41 pm |
|
|
|
|
kguske
|
Posted:
Thu May 09, 2013 8:42 pm |
|
Thanks for pointing that out... |
|
|
|
|
tourniqu3t
|
Posted:
Thu May 09, 2013 11:23 pm |
|
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
|
Posted:
Fri May 10, 2013 12:17 am |
|
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
|
Posted:
Sat May 11, 2013 1:11 am |
|
*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
|
Posted:
Mon May 13, 2013 3:33 pm |
|
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. |
|
|
|
|
tourniqu3t
|
Posted:
Wed May 15, 2013 1:45 am |
|
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
|
Posted:
Wed May 15, 2013 4:04 am |
|
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
|
Posted:
Wed May 15, 2013 7:24 am |
|
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
|
Posted:
Wed May 15, 2013 10:47 pm |
|
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
|
Posted:
Wed May 15, 2013 10:49 pm |
|
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
|
Posted:
Thu May 16, 2013 7:53 am |
|
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. |
|
|
|
|
|