PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sat Sep 24, 2005 3:10 am Reply with quote Back to top

Alright, I have read till I am ready to pass out (literally so this may be a bit odd or out of order). When people try to register to my site (www.g-tag.net) they can't. No email is sent to them. Gives me an SMTP error at times, and i am not sure what to do. I can manually add users under admin, but they can't sign up. If you know of a way to fix it, email
Only registered users can see links on this board!
Get registered or login to the forums!
. Feel free to try yourself on my site. Help is appreciated. I hope you can help me and if you can, i will give you a cookie or something. WEll, time to pass out. it is 4am and i have been workin on this for months.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Sat Sep 24, 2005 3:54 am Reply with quote Back to top

well time to pass out then....
anyway,going on for months ?

first check if all your mail settings are correct in your configuratiion.

a simple way to check your servers ability to send mail can be done with the following script (previously posted 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 it in a file,call it whatever...like test.php ,enter a mail address and test if you get anything at all.
View user's profile Send private message
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sat Sep 24, 2005 12:46 pm Reply with quote Back to top

Nothing when i test it. Mail settings in what config? And yes, months. Since July.
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Sat Sep 24, 2005 3:42 pm Reply with quote Back to top

Admin / Forums / General Admin / Configuration

All of the email server and account settings are in there.

Steph
View user's profile Send private message Visit poster's website
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sat Sep 24, 2005 4:09 pm Reply with quote Back to top

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\SERVER\www\modules\Your_Account\index.php on line 146

...I get that error with my SMTP. What is a good Mail Server for Windows Server 2003? The windows POP3 and SMTP is too confused and worthless.
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Sat Sep 24, 2005 4:20 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sat Sep 24, 2005 10:01 pm Reply with quote Back to top

i have no clue how this is suppose to install and the radme doesn't help. also, how will this help with user reg?
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Sun Sep 25, 2005 12:49 am Reply with quote Back to top

Quote:
What is a good Mail Server for Windows Server 2003?


You asked, I merely answered. By using phpmailer, you would eliminate your SMTP mail problems.
View user's profile Send private message Visit poster's website
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sun Sep 25, 2005 12:50 am Reply with quote Back to top

64bitguy wrote:
Quote:
What is a good Mail Server for Windows Server 2003?


You asked, I merely answered. By using phpmailer, you would eliminate your SMTP mail problems.


I have no clue how to install it though
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Sun Sep 25, 2005 1:25 am Reply with quote Back to top

It is simply a class. The documentation explains that you need only add an include to your PHP scripts to use it.

The real issue here is that your Apache/PHP setup does not seem to be configured properly (php.ini) with a sendmail path, I suspect SMTP definitions are bad as well. (Probably the wrong username, etc...) Check your php.ini for this information and refer to
Only registered users can see links on this board!
Get registered or login to the forums!
for proper configuration of the functions.

It is very simple to set this up, but my support here is probably better suited for Nuke issues and not home built server issues.

I think once your Apache and PHP builds are right, these problems won't exist anymore.

Steph
View user's profile Send private message Visit poster's website
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sun Sep 25, 2005 1:47 am Reply with quote Back to top

ok, i figured out what i need to do. I need code in which to add to my SMTP settings in my php.ini. I currently have it set to smtp.sbcglobal.yahoo.com, but now i need code to add my username and password in order to use the SMTP. What might that code be?
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Sun Sep 25, 2005 2:03 am Reply with quote Back to top

I can't really advise you on this. There are simply too many different configuration variable scenarios for PHP/Apache/SMTP/Microsoft based hosting/Relay/NAT/DNS/Firewalls/Routing, etc...

Again, I can advise you on Nuke issues, but not on building a home based server as I didn't build it.

In fact, I would highly suggest that you not use your own server (in fact, anything but Microsoft for that matter), due to the many issues of hosting a Nuke site in that environment, but that's just my humble opinion.

Steph
View user's profile Send private message Visit poster's website
bonzitre
New Member
New Member


Joined: Feb 19, 2005
Posts: 10

PostPosted: Sun Sep 25, 2005 2:05 am Reply with quote Back to top

In php.ini it lets you enter your SMTP host, port, and username, but not password... I just need to know code to add to the php.ini to send the SMTP my password for auth
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Sun Sep 25, 2005 8:54 am Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
SpaceMonkey
Worker
Worker


Joined: Apr 30, 2005
Posts: 170

PostPosted: Fri Jan 06, 2006 4:40 am Reply with quote Back to top

Quote:
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();
}
?> 


This does not seem to be an accurate way of testing your e-mail. It doesn't work on my server but e-mail works...
View user's profile Send private message Visit poster's website
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Fri Apr 13, 2007 5:24 am Reply with quote Back to top

64bitguy wrote:

The real issue here is that your Apache/PHP setup does not seem to be configured properly (php.ini) with a sendmail path, I suspect SMTP definitions are bad as well. (Probably the wrong username, etc...) Check your php.ini for this information and refer to
Only registered users can see links on this board!
Get registered or login to the forums!
for proper configuration of the functions.

It is very simple to set this up, but my support here is probably better suited for Nuke issues and not home built server issues.

I think once your Apache and PHP builds are right, these problems won't exist anymore.

Steph



I have set up a mail account specifically for one of the portals. I have set the config in forums to use this id and set up smtp. I still am not getting mail from new user registrations on any portal. I do not see any other config options other than in admin > forums > config. I know I must be doing something wrong but for the life of me I can't seem to figure it out. I have tried different configurations to no avail.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Fri Apr 13, 2007 5:27 am Reply with quote Back to top

and have you contacted your host with this problem?
are all setting ok?
View user's profile Send private message
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Fri Apr 13, 2007 5:34 am Reply with quote Back to top

They say they are I am waiting for the day crew to come in as they are more technically able than the night guys. The night crew states that all is good to go. This is my issue to resolve today.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Fri Apr 13, 2007 5:37 am Reply with quote Back to top

but a question..
are you setting it up differently or are you using default settings?
I mean....using default then you shouldnt even touch anything...
so what setup do you want to use ?
View user's profile Send private message
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Fri Apr 13, 2007 5:41 am Reply with quote Back to top

I have several copies of the portal up. In one I have smtp set up for that portal using that websites mail server and an account specifically set up for that portal. In the others all is default. None are working although they appear to be sending mail, the mail never arrives. I am working with RavenNuke7.6v2.10.00. This thread seems to be on the same topic so I came here once I found it.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Fri Apr 13, 2007 5:58 am Reply with quote Back to top

Mail never arrives ?
Are they bounced back to the server ?
Have you checked that ?
View user's profile Send private message
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Fri Apr 13, 2007 6:10 am Reply with quote Back to top

I do not get a failed delivery message in my inbox. The smtp addy that I have set up is not the admin e-mail, if that makes a diff. All appears to be working in each portal, but it is not. New user registration process completes, the GD extensions appear in the final phase, the mail appears to go out, it is never received at the end users though. If I resend the e-mail I get the message mail sent, again it never arrives.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Fri Apr 13, 2007 8:07 am Reply with quote Back to top

have you used that script in the second post to see if mails are send ?
View user's profile Send private message
jlajax
Regular
Regular


Joined: Oct 12, 2006
Posts: 79
Location: Jacksonville, Florida

PostPosted: Fri Apr 13, 2007 9:00 am Reply with quote Back to top

Yes received nothing not sure if script ran. Only tried it in one website.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Fri Apr 13, 2007 9:38 am Reply with quote Back to top

well if you did how its explained in the script and your not recieving anything and your SURE that the email address you used SHOULD have received the mail is VALID...then only conclussion possible is,is that your server isnt sending any mail...
only person qualified i know of who can advice you on this is raven.
i suggest that you pm him and ask politely to reply to your question.
dont forget to include the topic url.
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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and