Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/07/2008, 12:06
Pilar80
 
Fecha de Ingreso: septiembre-2007
Mensajes: 91
Antigüedad: 16 años, 8 meses
Puntos: 0
Respuesta: Problema con formulario "Recomiendanos"

Hola, sigo con el mismo problema.
Estuve mirando en mi servidor que es Yahoo y me dice lo siguiente: "You will also need to indicate the path to the Yahoo! mail program, Sendmail. The path to Sendmail is /usr/sbin/sendmail." Y me da un código de prueba, que es este:
Código:
#!/usr/bin/perl
print "Content-type: text/html\n\n";

$title='mail test';
$to='MAIL ADDRESS TO SEND TO';
$from= '[email protected]';
$subject='Using Sendmail';

open(MAIL, "|/usr/sbin/sendmail -t");

## Mail Header
print MAIL "To: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $subject\n\n";
## Mail Body
print MAIL "This is a test message from Yahoo! \n";

close(MAIL);

print "<html><head><title>$title<
/title></head>\n<body>\n\n";

## START HTML content
print "<h1>$title</h1>\n";
print "<p>A message has been sent from $from to $to";
## END HTML CONTENT
print "\n\n</body></html>";
He probado insertar este código con el que yo tengo en mi web, inteercalandolo donde yo creo que va, pero nada, no lo consigo. Alguien me puede ayudar?
El recomiendanos de mi web tiene el siguiente enlace: http://www.artencordoba.com/Recomiendanos.html

Muchas gracias!