PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
rystan
New Member
New Member


Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Tue Apr 14, 2009 5:49 pm Reply with quote Back to top

On a relatively fresh install of RN (latest version available as of last week) when setting up the forums to send email you cannot use a smtp server and have it work.

I have created a send-only email account on my server, I input the host/username/password and enable smtp. I setup a small test group (3 users max) to test email functionality. I send a email to this group, and the the page blanks, nothing reaches my smtp server (monitoring logs realtime).

However if I remove the smtp YES, and just allow it to use the local sendmail function, it sends emails off just fine. of course from apache, which is a no no. (verfied through view source).

I don't think email should be sent from the site without being authenticated against a real user.

This self-same setup works perfectly on my old BonusNuke website.

Any Suggestions?

I will turn on debugging and see if anything pops up as well.
View user's profile Send private message
rystan
New Member
New Member


Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Tue Apr 14, 2009 6:11 pm Reply with quote Back to top

My god,

Never attempt to troubleshoot an smtp issue after 30+ hours without sleep.

Found the issue, it resides in /modules/Forums/includes/emailer.php

for some reason it requires the full path name (starting at /) to see the friggin smtp.php file.

I tried fixing it without using the full path name.. but it wouldn't take. this is the workaround I guess.

Blank mass mail page when sending via smtp:

line 207 of /modules/Forums/includes/emailer.php

find:
Code:

                        if ( !defined('SMTP_INCLUDED') )
                        {
                                include_once("modules/Forums/includes/smtp.php");
                        }

replace:

("modules/Forums/includes/smtp.php")

with your full path name

ie. ("/var/www/html/modules/Forums/includes/smtp.php")

sorry windows users, You're on your own on figuring out the full path name MS style.

Thank you for your time.
Rystan

"You are too encumbered to move!

Got to thinking. Would this be more of a php/pear setting issue?
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum