Php mail() problem

The w3c sample like;

<?php mail("someone@example.com","My subject","First line of text\nSecond line of text"); ?>

doesn’t work either (off course with my valid email address in it :wink:

I can’t find usefull logfiles. Does anybody know if they are available in PRO ? I’m happy to pay but only if it will work.

doesn’t work either

There are some issues with 000webhost network nodes right now, this is why you are not able to send e-mails. (you are not the only one)

On paid plan you can send as many e-mails as you want. :wink:

Thanks NGiNX. Can I change network node myself or is it just a matter of waiting some days?

Unfortunately, you can’t change the node. I am afraid your only choice is to wait for a while…

We don’t estimate how long it will take for these issues to be fixed. We are sorry for inconvenience :sweat:

This is slowing me down. If I create a new login do I get a other node? Are there nodes without this problem?

I have re-forwarded this issue to administrators.

If I create a new login do I get a other node? Are there nodes without this problem?

Honestly, I don’t know. Your only choice at this moment is either to wait, either to buy a paid plan.

I have just got a reply from admin. Mail functionality is already turned on.

Either you have exceeded the daily quota, or there is a problem in your mailing code.

Thanks again, but something must be wrong. I use the plain w3c test program I listed before. Stat shows that I have used 84% (42 mails past 24 hours), but they don’t arrive and are also not shown in the mail count stat over the pas 24 hours at the bottom of the stats. Can you please ask them to look into it again or sent me a log about the sent mail?

Log is not supported on free plan.

I have re-forwarded the issue. Please be patient.

Hi again, I can see they fixed the statistics but now I have 1260% email sent. That can’t be right. I’m only testing my site myself and I don’t think anybody else can abuse it. Looks like I have statistics from other sites aswell?

Do you know if it is possible to reset the statistics? I read something about connecting to Facebook will do that, but maybee there is another way. My stats are still wrong (better than yesterday but still wrong) and prob preventing my email. I’m already three days busy to get the mail working. Would be nice if it is working finaly.

The statistics update every five minutes, so they’re accurate. Have you checked your spam folder to make sure nothing is being collected there?

My stats are for some reason not up-to-date. They are this day at 1260% which is impossible. Also not changing after 10:00 this morning. After 16:00 yesterday no more e-mails added to stat but number stays at 630 mails. Nothing in my Spam or anywhere else. Nothing in my logs about these mails.

Okay thats way wrong… I’ll ask admins if there is any issues with statistics at the moment.

EDIT: admins replied

admins are changing statistics aggregation implementation, so it can be that temporary stats are wrong
it will take ~ 1 week

I understand, but it is preventing my php mail() function…

The statistics shouldn’t be affecting your ability to use mail(), but its possible that because the statistics say you have exceeded the quota, you cannot send. What URL is this, maybe I can have it fixed?

I have removed all the .php files with email function in it this morning (I have only 6 .php files so it is not that hard) and the statistics are only getting bigger. Now more than 1900%. This is stupid. Don’t bother. This site is def not working so I will cut my lost time and go to another provider. To bad that you are not straight to your customers about the problems. If I knew this last monday this could saved me a lot of time. I thought that this could be a nice provider for my Wordpress project and testing .php, but it was a big lost of time.

We are sorry we could not satisfy your needs, however we are in process of updating and upgrading pars of our hardware and software systems. During this process, any kind of issues related to what we are changing may with occur.

Please read this topic for more information:

The admins are replacing the old hard drives with new ones, what do you prefer?
Having 403 Forbidden errors, 502 Bad Gateway and other errors?
Or having your website run faster, smoother, and without errors?
And, here’s a nice quote :

Be patient - if something is supposed to happen, it’s going to happen. Whenever I tried to force things, they didn’t go right.
1 Like