Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
neggard
Hangin' Around



Joined: Jan 20, 2006
Posts: 40
Location: Seden

PostPosted: Sun May 14, 2006 10:25 am Reply with quote

I use phpnuke 7.8 and CNBYA 4.4.2
The module dont send any mail to the user.
I have tried gmail and hotmail, I have also tried resend and and the other option that the module send mail to user but none have workt.

Do I need a local webserver for this or what is wrong?
 
View user's profile Send private message MSN Messenger
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun May 14, 2006 10:33 am Reply with quote

your not hosting this yourself right?
Check if your able to send any mail...
litle code by raven....

Code:
<?

if (isset($submit)) $resultMsg = 'Mailed - This just means that the PHP mail() function is working.<br />If you do not receive the email, then there is probably something wrong with your SMTP setup.';
else $resultMsg = '';
echo "<form action=\"".$_SERVER["PHP_SELF"]."\" method=post>Input your email address to test";
echo "<br />";
echo "<input type=text name=addy size=50>";
echo "<br />";
echo "<br />";
echo "<input type=submit name=submit></form>";
if (isset($submit)&&!empty($addy)) {
   unset($submit);
   mail($addy,'Test message','Did you get this?') or die('ERROR');
   echo($resultMsg);
   unset($resultMsg);
   die();
}
?> 


put this on your server and send a mail...
 
View user's profile Send private message
neggard







PostPosted: Sun May 14, 2006 11:38 am Reply with quote

The script dosent give me an email.
When I write my mailadress and press the button it just went blank, no errors.

I have my webserver behind my firewall.
The server is gentoo with apache, php and mySQL installed on it.

So I host the phpnuke page and use my ISP mailserver (well I try)
or do I have to install a local webserver?
 
hitwalker







PostPosted: Sun May 14, 2006 4:02 pm Reply with quote

yeah well i think you have a misconfiguration somewhere,as i understand your have it locally running...
and that it then doesnt send any mail could be a thousand things...
 
Guardian2003
Site Admin



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

PostPosted: Sun May 14, 2006 5:35 pm Reply with quote

Off topic - you might want to check out secunia.com who have reported a number of recent vulnerabilities with gentoo
 
View user's profile Send private message Send e-mail
hitwalker







PostPosted: Sun May 14, 2006 6:10 pm Reply with quote

huh??
I have absolutely no clue what you mean guardian...
 
Guardian2003







PostPosted: Sun May 14, 2006 7:57 pm Reply with quote

neggard said he was using gentoo, I just wanted to make him aware there have been a number of recent vulnerabilities reported.
 
neggard







PostPosted: Sun May 14, 2006 9:44 pm Reply with quote

I also have a windows 3000 server with phpbb and it works great to send mail from.
So I have same mailsettings in both servers.
Or is there more than one place to set mailserver in phpnuke?
 
hitwalker







PostPosted: Mon May 15, 2006 3:41 am Reply with quote

well this is a bit the area of raven....pm here for some assistance..
 
neggard







PostPosted: Mon May 15, 2006 6:31 am Reply with quote

Port 25 is blocked for everything except for smtp.bredband.net outgoing.
That is what my ISP told me.
 
neggard







PostPosted: Mon May 15, 2006 10:17 am Reply with quote

Do you guys have an IRC channel for support?

Do I need a webserver or not to get this to work or do I need to edit some in my php?
 
neggard







PostPosted: Mon May 15, 2006 8:47 pm Reply with quote

I have this in my php.ini (windows server)
[mail function]
; For Win32 only.
SMTP = smtp.bredband.net
smtp_port = 25

Its for win32 only, how should it be done with linux?
 
neggard







PostPosted: Tue May 16, 2006 7:24 pm Reply with quote

The problem was my PHP setings. Now everything works.

Thanks for all the help.
 
neggard







PostPosted: Tue May 16, 2006 7:48 pm Reply with quote

Well found a problem to but this is easier.

When I resend the mail the text look like this:

Välkommen till xxx!

You or someone else have used your email account (xxx@hotmail.com) to register an account at
xxx.

To finish the registration process you should visit the following link in the next 24 hours to
activate your user account, otherwise the information will be automaticaly deleted by the system
and you should apply again:
[ Only registered users can see links on this board! Get registered or login! ]




I have search in modules/Your_Account
and
modules/Forums/language/lang_english/email/

But I dont find the right text, where do I find the text to edit?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

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 ©