P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Page-Zone Web Hosting Main Forum > General Discussion

General Discussion Anything which doesn't fit into the specific topics above. Posting limited to registered members.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
PHP / SMTP Issue. Please help!
Old
  (#1 (permalink))
pdgradio
Registered User
pdgradio is on a distinguished road
 
Status: Offline
Posts: 7
Join Date: Feb 2006
Rep Power: 0
PHP / SMTP Issue. Please help! - 02-05-2006, 12:08 AM

hey all,
New to PZ and have an issue...

I Use Comdev OneAdmin for forms/polls/blogs/etc.

It's only way of sending out forms is through SMTP. When I use one of the forms, I get the following Error:

Quote:
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.pdgradio.com:25 (Connection refused) in /home/pdgradio/public_html/oA/common/class.smtp.php on line 108
The Settings for oneadmin will allow for a different port, but not much else (without going into the php itself, which I am a n00b at).

What should i set the smtp host / port to so that it connects?

Thanks in advance,
P. Duffy - PDG Radio

Note:
The source code for class.smtp.php can be found in its entirety, here:
http://www.pdgradio.com/file.html
   
Reply With Quote
Old
  (#2 (permalink))
Jim
of Page-Zone
Jim will become famous soon enoughJim will become famous soon enough
 
Status: Offline
Posts: 1,131
Join Date: Jun 2002
Location: Wauseon, Ohio
Rep Power: 98
My location
02-05-2006, 01:57 AM

I would try it again. The security settings on the server only allow smtp connections from mailman and root users and will not allow any other user to bypass exim to send mail. I enabled it on that server so you can eliminate that as the cause. Someday (week month or years depending on circumstances) it could be disabled again and you will need to use "localhost" if the script is set up to do it that way. Assuming this change fixes the problem.


--
Thank You,
Jim Snape
Page-Zone
--
   
Reply With Quote
Old
  (#3 (permalink))
pdgradio
Registered User
pdgradio is on a distinguished road
 
Status: Offline
Posts: 7
Join Date: Feb 2006
Rep Power: 0
02-05-2006, 03:58 AM

Jim,

You rock man. the forms all send without errors now. I can get the emails using neomail, but cant get them using thunderbird. Any ideas?

Thanks again,
Patrick Duffy
   
Reply With Quote
Old
  (#4 (permalink))
pdgradio
Registered User
pdgradio is on a distinguished road
 
Status: Offline
Posts: 7
Join Date: Feb 2006
Rep Power: 0
02-05-2006, 10:41 AM

heh, nvm....DNS issue, on my end.
   
Reply With Quote
how we can use php
Old
  (#5 (permalink))
dhulkeena
Registered User
dhulkeena is on a distinguished road
 
Status: Offline
Posts: 1
Join Date: Apr 2006
Rep Power: 0
how we can use php - 04-29-2006, 11:46 AM

how we can use php- can you help me

Quote:
Originally Posted by pdgradio
hey all,
New to PZ and have an issue...

I Use Comdev OneAdmin for forms/polls/blogs/etc.

It's only way of sending out forms is through SMTP. When I use one of the forms, I get the following Error:



The Settings for oneadmin will allow for a different port, but not much else (without going into the php itself, which I am a n00b at).

What should i set the smtp host / port to so that it connects?

Thanks in advance,
P. Duffy - PDG Radio

Note:
The source code for class.smtp.php can be found in its entirety, here:
http://www.pdgradio.com/file.html
   
Reply With Quote
Old
  (#6 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
04-29-2006, 11:39 PM

put this in a file and name it foo.php upload it to your site then open it in a browser

Code:
<?php
echo "<p>Hello ";
$planet='Earth';
echo "planet $planet";
?>
If you need more than this please start a new thread and I'll try to give an answer.


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MacIntosh issue with oscommerce ENRICO General Questions and Comments 1 06-30-2006 10:53 AM
New phpbb issue .... i am reverting back noeyedear General Questions and Comments 1 05-11-2006 11:07 AM
Stange email issue skyline General Questions and Comments 7 04-06-2006 12:13 PM
Another E-mail Issue oldredtop General Questions and Comments 8 07-05-2005 11:07 PM
possible email issue Sheila General Questions and Comments 7 02-28-2003 04:23 PM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com