Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
233 views
in Technique[技术] by (71.8m points)

php - why mail function is no longer working after i sent more than 100 emails?

This is the code i′m runing:

<?
                            

ini_set( 'display_errors', 0 );
error_reporting( E_ALL );



$from = "Daniel Panno <[email protected]>";
$to = "[email protected]";
$subject = "Pedido de Carteles";
$message = "texto de prueba";
$headers = "De:[email protected]";
$cabeceras  = 'MIME-Version: 1.0' . "
";
$cabeceras .= 'Content-type: text/html; charset=UTF-8' . "
";

// Cabeceras adicionales
$cabeceras .= 'To: Daniel <[email protected]>, danmusic <[email protected]>' . "
";
$cabeceras .= 'From: '.$from. "
";
$cabeceras .= 'Cc: [email protected]' . "
";
$cabeceras .= 'Bcc: [email protected]' . "
";


mail($to,$subject,$message, $cabeceras);
echo "El email fue enviado.";



?>

originally, the code received some POST variables, and I thought thos were not being passed correctly,so i wrote the above code to test and it still wont work

question from:https://stackoverflow.com/questions/65940031/why-mail-function-is-no-longer-working-after-i-sent-more-than-100-emails

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...