fsockopen() problems

Status
Not open for further replies.

London Dude

New Member
Messages
3
Reaction score
0
Points
0
I am setting up a small forum on my webspace and keep getting the error message:

Warning: fsockopen() [function.fsockopen]: unable to connect to ciroc.x10hosting.com:25 (Connection timed out) in /home/dewdle/public_html/library/Framework/Framework.Class.Email.php on line 196
The forum software I am using (Vanilla) requires the fsockopen() function to send email to members to notify them when their accounts have been activated or if their member roles have been updated and unfortunately, the software does not support the sendmail function.

I understand fsockopen() is disabled for security reasons but is it possible to enable it for individual accounts?
As forums go, my one will be very small (Less than 20 members) and may not even require the function after the members have signed up.

Any help is greatly appreciated,
Cheers,
Mitchel

p.s. my hosting name is dewdle
 
Last edited:

nol888

New Member
Messages
292
Reaction score
0
Points
0
If it was disabled for security reasons, it would say something like this:

Code:
Warning: fsockopen() disabled for security reasons.
 

London Dude

New Member
Messages
3
Reaction score
0
Points
0
If it was disabled for security reasons, it would say something like this:

Code:
Warning: fsockopen() disabled for security reasons.

Thanks, i'll see if I can do anythign else to get it working
I tried both host names for the SMTP server by the way



I also get the error message underneath the original one:
Error MessageCould not connect to SMTP host ciroc.x10hosting.com:25Affected ElementsEmail.SMTPSend();
The error occurred on or near: 110: Connection timed out​


I figured fsockopen() was the root of the problem though. I guess I was wrong
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Try using 'localhost', not the server's hostname.
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
You need to upgrade your account's version of PHP to version 2.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Please re-open if further assistance is needed.
 
Status
Not open for further replies.
Top