I cant seem to send mail from my website

at first it was all working but after a few tries email werent recived by my mail whats the problem here? here is the code

<?php
$to = "iguiritan@yahoo.com";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From: webmaster@example.com" . "\r\n" .
"CC: somebodyelse@example.com";

mail($to,$subject,$txt,$headers);

?>

Have you used up your 50 email daily quota?

where do i find it?
will it restart today?

You can find it under “Statistics” in your dashboard :slight_smile: If it reached the limit, you may have to wait a day.


what does this mean sir?

did i reach the limit?

no you did not. I will let admins know about your issues :slight_smile:

Thank you very much sir . Please let me inform of.anything happen :slight_smile:

1 Like

I will be sure to :slight_smile:

are there new updates sir? :frowning:

i created another account the code works there but why doesnt it work in mine?

Hi there

I’m in the process of testing my newsletter

$headers = ‘From: Abc care@abc.com’ . “\n” .
‘Bcc:’ . $liste . ‘’ . “\n” .
‘X-Mailer: PHP/’ . phpversion() . “\n” .
‘X-Priority: 3’ . “\n” .
‘Content-Type: text/html; charset=iso-8859-1’."\r\n".
‘Content-Type: multipart/mixed;’."\r\n".
‘Content-Type: multipart/alternative;’."\r\n".
‘MIME-Version: 1.0’."\r\n";

But only since yesterday no mail is being sent and my daily quota is at 20.

Sir outthere why cant my form send inputs to my mail? this is the sample code

<?php $to = "guiritan10@gmail.com"; $subject = "My subject"; $txt = "Hasf"; $headers = "From: webmaster@example.com" . "\r\n" . "CC: somebodyelse@example.com"; mail($to,$subject,$txt,$headers); ?>

I’m having a developer look into this, you’re not the only one reporting an inability to send mail.

1 Like

Sir could you please let me know if there would be any news? :slight_smile: thank.you

Hi everyone!

If you can’t send e-mails from 000webhost infrastructure there can be only one of the following causes:

  1. You have exceeded the daily e-mail quota (max 50 emails/day)

  2. You must turn “Send E-mails” On: 000webhost cPanel > Settings > General > Send mail > On

  3. Your email headers are not set up correct. Please check out BitDegree/learn and make sure the example matches your code.

  4. Your mailbox provider blocks our mailing servers (there is nothing you can do about it)

  5. One of our mailing server is down. Please try again later.


If you can’t wait, either create another website and try to send emails from there, either buy a cheap paid plan from which mailing servers are not blocked, nor temporarily down.

is there a faster way to transfer files from one website to another in 000webhostapp?
sir

Yes, you can zip the files and then unzip them.

I can do it now for you. What website you want to backup?

1 Like

icontroy.000webhostapp.com sir :slight_smile:

But the database part sir? do i need to make a new again?