No se envia el email de confirmacion |
Usuario Novato ![Usuario Novato Usuario Novato]() |
Hola tengo una pagina de classificados que estoy tratando de q funcione, pero todo bien hasta que manda el email de comfirmacion de posting y nada llega no se que ice mal , tengo dos dudas htt://freeca.net16.net <?php $emailAdmin = "esmeralda231196@yahoo.com"; // This is the email address that will be used for outgoing emails $urlPath = "http://freeca.net16.net/"; // This is the location of the marketplace... used in email links to activate postings // these two are used to log into the admin mode, change them to something you'll remember $username = "9999999"; $password = "888899"; // This key is used to remove postings, change the value inside the quotes to something obscure, // you will never need to remember it, so make it really obscure. $key = "999999"; // Strings for the RSS file $rss_title = "Free Classified"; $rss_description = "These are things for sale"; $languageFile = "language/lang_english.php"; // This defines what language and corresponds with the file in the folder. ?> | | <?php include_once("inc_dbcon.php"); include_once('inc_thumbnail.php'); include_once('inc_functions.php'); include_once('admin/config.php'); include_once($languageFile); $ip = GetHostByName($REMOTE_ADDR); $op = $_REQUEST["op"]; // op is the operation code $msg = ""; if ($op == "newItem"){ $botEmail = $_POST["email"];
if ($botEmail != '') header("Location:http://www.888888=" . GetHostByName($REMOTE_ADDR)); ///////////////////////////////////////////////////////////////////////// /////////// if (mysql_query($sql)) // If all is good, send the email { include_once("admin/email_newItem.php"); mail($email, STR_CONFIRMPOSTING, $message, $headers); header("Location:newItemConfirm.php"); } else { print("Hmmm... something went wrong trying to create a new item:<br>" . mysql_error()); } } if ($op == "email"){ $botEmail = $_POST["email"]; // this should not be filled in if it is a human filling out the form because the field should be hidden via css // if it is filled in, send them over to the fbi's site :) if ($botEmail != '') header("Location:7777777777=" . GetHostByName($REMOTE_ADDR)); | |
|
@man / @woman ![@man / @woman @man / @woman]() |
¿Sabes si ese server tiene activo el envio de mails? |
Usuario Novato ![Usuario Novato Usuario Novato]() |
no se como se hace eso??? |
@man / @woman ![@man / @woman @man / @woman]() |
Escrito originalmente por estrellamx13 no se como se hace eso??? Preguntando. |
Usuario Novato ![Usuario Novato Usuario Novato]() |
como se hce?? ![:}]() |
Come y duerme en el foro ![Come y duerme en el foro Come y duerme en el foro]() |
Si el server no lo tiene activo nada puedes hacer por activarlo... Un saludo. |
@man / @woman ![@man / @woman @man / @woman]() |
Escrito originalmente por estrellamx13 como se hce?? ![:}]() Pues fue un placer haberte ayuda. Lastima que no vaya a volver a hacerlo. |
Usuario Novato ![Usuario Novato Usuario Novato]() |
Grcias por tu tiempo. la respuesta me ayudo mucho.![;)]() |
|
ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un nuevo tema en lugar de responder al actual |
|
Permisos: TU NO PUEDES Escribir nuevos temas en este foro TU NO PUEDES Responder a los temas en este foro TU NO PUEDES Editar tus propios mensajes en este foro TU NO PUEDES Borrar tus propios mensajes en este foro
Ahora son las 10:00 UTC+01:00 |