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

Avatar Image
@man / @woman
@man / @woman

¿Sabes si ese server tiene activo el envio de mails?

serranoscleaning
Usuario Novato
Usuario Novato

no se como se hace eso???

Avatar Image
@man / @woman
@man / @woman
Escrito originalmente por estrellamx13

no se como se hace eso???

Preguntando.

serranoscleaning
Usuario Novato
Usuario Novato

como se hce??  :}

Avatar Image
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.

Avatar Image
@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.

serranoscleaning
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
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 09/Ago/2004, 17:54
trofeocarranza NoSetup.org53kAug/04
Por: , el 25/Jun/2006, 12:49
Lord_David NoSetup.org chavp104kJun/06
Por: , el 13/Oct/2004, 07:15
juanjofdhp Emedicina42kOct/04
Por: , el 25/Feb/2004, 22:35
viciaos2004 kR4C1B0Y12kFeb/04
Por: , el 20/May/2008, 03:18
bobesponjaweb NoSetup.org12kMay/08