I cant seem to send mail from my website


#1

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);

?>

#2

Have you used up your 50 email daily quota?


#3

where do i find it?
will it restart today?


#4

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


#5


what does this mean sir?


#6

did i reach the limit?


#7

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


#8

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


#9

I will be sure to :slight_smile:


#10

are there new updates sir? :frowning:


#11

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


#12

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.


#13

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); ?>

#14

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


#15

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


#16

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 W3Schools 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.


#17

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


#18

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

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


#19

icontroy.000webhostapp.com sir :slight_smile:


#20

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