NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem
·Image display? - newbie
·php nuke help

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: Vanquistador
Today: 1
Yesterday: 1
Overall: 15103

Visitation:
Guests: 605
Members: 0
Total: 605


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Download the Best Archiver in the World
Download the Best Archiver in the World

NukeResources :: View topic - Forum mail failure using nuke forums
NukeResources Forum Index

NukeResources Forum Index -> Bug Reports -> Forum mail failure using nuke forums Goto page 1, 2  Next
Post new topic  Reply to topic    View previous topic :: View next topic 
Forum mail failure using nuke forums
PostPosted: Wed Oct 06, 2004 6:05 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




This is a long and detailed post...

I installed the froums and they seem to work fine. But I keep getting mailing errors on the forums. the site sends mail fine.

I guess what im asking is do i need to edit any settings in the emailer.php or SMTP.php to make the site use the mail function. This is what im using for mail server. http://www.qksoft.com/qk-smtp-server/

Here is an example of a mass email attempt


Then when posting


Another one posting


this is line 239 of emailer.php include('includes/smtp.' . $phpEx);



Line 242 of emailer.php $result = smtpmail($to, $this->subject, $this->msg, $this->extra_headers);
---------------------------------------------------------------------------
Line 153 of smtp.php // Wait for reply

Line 154 of SMTP.PHP server_parse($socket, "220", __LINE__);

line 174 of smtp.php fputs($socket, "HELO " . $board_config['smtp_host'] . "\r\n");

Line 175 of SMTP.php server_parse($socket, "220", __LINE__);

are these correct?
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 6:47 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




Instead of modifying the files make sure Use SMTP Server for email is set to no in the forum's admin section under configuration.

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Wed Oct 06, 2004 7:16 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




Thats the first thing i checked, its off.

View user's profile Send private message
PostPosted: Wed Oct 06, 2004 7:33 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




I missed the line 239 error on emailer.php you posted, try changing:
Code:
include('includes/smtp.' . $phpEx);

to:
Code:
include('smtp.' . $phpEx);

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Wed Oct 06, 2004 7:42 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




Well the first one has changed to this

Couldn't get mail server response codes

DEBUG MODE

Line : 175
File : D:\flatlinerscorner\Flatlinerscorner\Site\includes\smtp.php

Line 175 reads like this: server_parse($socket, "250", __LINE__);
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 7:48 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




Couldn't get mail server response codes

DEBUG MODE

Line : 154
File : D:\flatlinerscorner\Flatlinerscorner\Site\includes\smtp.php

LOL seems its going random now

Line 154 reads : server_parse($socket, "220", __LINE__);
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 8:49 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




What i find odd although i could be wrong, is that smtp.php should not be included if use smtp is set to no, i have to wonder is the $use_smtp var is getting killed, are you by chance using BBtoNuke 2.0.10? if so open your common.php file and check if the first function in it is called function unset_vars, if yes post it.

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Wed Oct 06, 2004 8:55 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




Powered by phpBB 2.0.10 © 2001 phpBB Group

common.pnp in the forum admin section reads ***************************************************************************/
$forum_admin = "1";
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");

common php in the forums

) = @each($var))
{
if ( ! ( $var_name == 'phpbb_root_path' || $var_name == 'no_page_header' || $var_name == 'phpEx' || $var_name == 'admin'
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 9:03 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




<?php
/***************************************************************************
* common.php
* -------------------
* begin : Saturday, Feb 23, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: common.php,v 1.74.2.13 2004/07/15 18:00:34 acydburn Exp $
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}

//
function unset_vars(&$var)
{
while (list($var_name, $null) = @each($var))
{
if ( ! ( $var_name == 'phpbb_root_path' || $var_name == 'no_page_header' || $var_name == 'phpEx' || $var_name == 'admin' || $var_name == 'user' || $var_name == 'name' ) )
{
unset($GLOBALS[$var_name]);
}
}
return;
}

//
error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 9:08 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




Let's try adding the var to that filter to see if it makes any difference, most likely no but worth trying.

Code:
if ( ! ( $var_name == 'phpbb_root_path' || $var_name == 'no_page_header' || $var_name == 'phpEx' || $var_name == 'admin' || $var_name == 'user' || $var_name == 'name' || $var_name == 'use_smtp' ) )

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
PostPosted: Wed Oct 06, 2004 9:30 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




Still getting the
Couldn't get mail server response codes

DEBUG MODE

Line : 175
File : D:\flatlinerscorner\Flatlinerscorner\Site\includes\smtp.php
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 9:34 pm Reply with quote
Flatliner
Resource Seeker
Resource Seeker
 
Joined: Oct 06, 2004
Posts: 10




Guess time to start looking outside the site like php.ini or the Apache files.
Dunno what else to look at now
View user's profile Send private message
PostPosted: Wed Oct 06, 2004 9:49 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




Are you running your own server, does mail work with feedback and user registration?

http://www.phpbb.com/phpBB/viewtopic.php?t=219800&highlight=mail+server+response+codes

_________________
NukeResources | ScriptHeaven