jpopulos161
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 1
i have a free hosting site "certifica.x10.mx", but i can´t send a email from a page in my site, but in another free hosting site, the program work's fine
is posible that the function mail() is disabled in certifica.x10.mx?
Please help me
The code is:
<?php
// El mensaje
$mensaje = "Línea 1\r\nLínea 2\r\nLínea 3";
// Si cualquier línea es más larga de 70 caracteres, se debería usar wordwrap()
$mensaje = wordwrap($mensaje, 70, "\r\n");
// Enviarlo
mail('jpopulos1@hotmail.com', 'Mi título', $mensaje);
?>
<html>
<body>
<h1>ya se envio</h1>
</body>
</html>
is posible that the function mail() is disabled in certifica.x10.mx?
Please help me
The code is:
<?php
// El mensaje
$mensaje = "Línea 1\r\nLínea 2\r\nLínea 3";
// Si cualquier línea es más larga de 70 caracteres, se debería usar wordwrap()
$mensaje = wordwrap($mensaje, 70, "\r\n");
// Enviarlo
mail('jpopulos1@hotmail.com', 'Mi título', $mensaje);
?>
<html>
<body>
<h1>ya se envio</h1>
</body>
</html>