Author |
Message |
neggard
Hangin' Around

Joined: Jan 20, 2006
Posts: 40
Location: Seden
|
Posted:
Sun May 14, 2006 10:25 am |
|
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? |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Sun May 14, 2006 10:33 am |
|
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... |
|
|
|
 |
neggard

|
Posted:
Sun May 14, 2006 11:38 am |
|
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

|
Posted:
Sun May 14, 2006 4:02 pm |
|
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
|
Posted:
Sun May 14, 2006 5:35 pm |
|
Off topic - you might want to check out secunia.com who have reported a number of recent vulnerabilities with gentoo |
|
|
|
 |
hitwalker

|
Posted:
Sun May 14, 2006 6:10 pm |
|
huh??
I have absolutely no clue what you mean guardian... |
|
|
|
 |
Guardian2003

|
Posted:
Sun May 14, 2006 7:57 pm |
|
neggard said he was using gentoo, I just wanted to make him aware there have been a number of recent vulnerabilities reported. |
|
|
|
 |
neggard

|
Posted:
Sun May 14, 2006 9:44 pm |
|
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

|
Posted:
Mon May 15, 2006 3:41 am |
|
well this is a bit the area of raven....pm here for some assistance.. |
|
|
|
 |
neggard

|
Posted:
Mon May 15, 2006 6:31 am |
|
Port 25 is blocked for everything except for smtp.bredband.net outgoing.
That is what my ISP told me. |
|
|
|
 |
neggard

|
Posted:
Mon May 15, 2006 10:17 am |
|
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

|
Posted:
Mon May 15, 2006 8:47 pm |
|
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

|
Posted:
Tue May 16, 2006 7:24 pm |
|
The problem was my PHP setings. Now everything works.
Thanks for all the help. |
|
|
|
 |
neggard

|
Posted:
Tue May 16, 2006 7:48 pm |
|
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:
http://xxx.com/modules.php?name=Your_Account&op=activate&username=test&check_num=5270bd422e82b820211348ad2122c764
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? |
|
|
|
 |
|