Php mail()

Status
Not open for further replies.

laa1894

New Member
Messages
3
Reaction score
0
Points
0
Hi,
The php mail() function not wrking it gives following error -
Internal Server Error**
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@bhusampadan.x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So I checked manually by sending the email thru the control panel / web email(Horde) and sent some email messages thru goole account but still it is not wrking neither it is bouncing back to the account

whileThere was an error sending your message: Failed to connect to localhost:25 [SMTP: Invalid response code received from server (code: -1, response: )]

Please tell me whats wrong with email acct or do I have to wait for few hrs to start my email acct??

laa1894
 

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
I think the php mail() function might only be available on the Intermediate version of php, you can chnage your php version in your account that you login to on the x10hosting site. It is at the bottom somewhere then you click submit. It can take up to 24 hours sometimes to change though.
 

Russ

<b>Retired *****</b>
Messages
3,168
Reaction score
2
Points
38
You need to login to www.x10hosting.com/login under the "PHP Details" Section, apply for the intermediate version of PHP. Changes take about 24 hours to fully complete. Once this is done, your issues should be solved.
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
That's correct, if you are using PHP pages, best upgrade to php intermediate version, as rpope said, it will take quite a while, wait at least 24 hours before posting about more PHP errors like this, once it's upgraded, you will recieve an email usually... if you still get errors after this, let us know.
 

laa1894

New Member
Messages
3
Reaction score
0
Points
0
Hi,
I saw earlier posts regarding php mail() and did what you advise in this thread but the manual email system is not working properly.I tried to mail me from another email on this x10hosting account but it bounced back after 4-5 hours in the queue here is the error message -
Hi. This is the qmail-send program at rediffmail.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<laa1894@bhusampadan.x10hosting.com>:
Connected to 74.86.116.190 but connection died. (#4.4.2)
I'm not going to try again; this message has been in the queue too long.

--- Enclosed is a copy of the message.


test mail
**
So if manual email system is not wrking then how come php mail function is going to wrk.??.The other thing I sent one mail thru my friend's account on this server and his whole site collapsed giving internal server error,first I changed the permission and shifted my acct to bit advance php ie 2 level waited for 24 hrs, the site is now running but scared to use email.

laa1894
Edit:
Issue resolved, my acct email system started wrking checked both manual and php mail() function . Thank you guys!!

laa1894
 
Last edited:
Status
Not open for further replies.
Top