Búsqueda en el Foro:
Buscar


Autor Mensaje
Mensaje28-03-2012, 16:56 (UTC)    
Título del mensaje: Problemas con envio de correo en página flash

Hola a toda la comunidad de PWG!
Tengo la siguiente situación:
En mi página www.somosloquehay.com que acabo de subir hace unos pocos dias no me esta funcionando el envio de mensajes de contacto y me funcionó perfectamente al principio, que puede estar pasando?
Traten de enviar un mensaje en contacto y veran el error. Alguien me podría ayudar a solucionarlo.
muchas gracias.

Aquí les dejo los datos:

En el flash dice esto:

rec = _root.recipient;
serv = _root.server_option;
var fields_descriptions = Array("", Array("t1", "your_name", "your name:"), Array("t2", "your_email", "e-mail:"), Array("t3", "message", "Message:"), Array("t4", "your_company", "your company:"), Array("t5", "telephone", "telephone:"));
function reset_txt(name, name2, value) {
path = eval(_target);
path[name2] = value;
this[name].onSetFocus = function() {
path = eval(_target);
if (path[name2] == value) {
path[name2] = "";
}
};
this[name].onKillFocus = function() {
path = eval(_target);
if (path[name2] == "") {
path[name2] = value;
}
};
}
for (i=1; i<=fields_descriptions.length; i++) {
reset_txt("t"+i, fields_descriptions[i][1], fields_descriptions[i][2]);
}


en el boton send en el flash dice esto:


rec = _root.recipient;
serv = _root.server_option;
var fields_descriptions = Array("", Array("t1", "your_name", "your name:"), Array("t2", "your_email", "e-mail:"), Array("t3", "message", "Message:"), Array("t4", "your_company", "your company:"), Array("t5", "telephone", "telephone:"));
function reset_txt(name, name2, value) {
path = eval(_target);
path[name2] = value;
this[name].onSetFocus = function() {
path = eval(_target);
if (path[name2] == value) {
path[name2] = "";
}
};
this[name].onKillFocus = function() {
path = eval(_target);
if (path[name2] == "") {
path[name2] = value;
}
};
}
for (i=1; i<=fields_descriptions.length; i++) {
reset_txt("t"+i, fields_descriptions[i][1], fields_descriptions[i][2]);
}

en tfile_main.html dice esto:

&server_option=php
&recipient=proyecto@somosloquehay.com.


en idex.html dice esto:

<meta name="Reply-to" content="proyecto@somosloquehay.com">


en contact.php dice esto:

<?
Error_Reporting(E_ALL & ~E_NOTICE);

while ($request = current($_REQUEST)) {
if (key($_REQUEST)!='recipient') {
$pre_array=split ("&777&", $request);
$post_vars[key($_REQUEST)][0]=$pre_array[0];
$post_vars[key($_REQUEST)][1]=$pre_array[1];
}
next($_REQUEST);
}



reset($post_vars);


$subject="From ".$post_vars['your_name'][0] ;
$headers= "From: ".$post_vars['your_email'][0] ."\n";
$headers.='Content-type: text/html; charset=iso-8859-1';
$message='';
while ($mess = current($post_vars)) {
if ((key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) {

$message.="<strong>".$mess[1]."</strong>&nbsp;&nbsp;&nbsp;".$mess[0]."<br>";
}
next($post_vars);
}

mail($_REQUEST['recipient'], $subject, "
<html>
<head>
<title>Contact letter</title>
</head>
<body>
<br>
".$message."
</body>
</html>" , $headers);
echo ("Your message was successfully sent!");

?>
<script>
resizeTo(300, 300);
</script>


en contac.asp dice esto:

<%
for i=1 to 7
message=Request("message")
next
message=message + Request("message")
smtpServer = "smtpout.secureserver.net"
smtpPort = 25


name = Request("Your_Name:")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("Your_Email:")
myMail.To = Request("recipient")
myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send

%>
Mensaje31-03-2012, 01:45 (UTC)    
Título del mensaje: Ya lo resolví. Muchas gracias.

Ya lo resolví. Muchas gracias.
Mostrar mensajes anteriores:   


Powered by phpBB © 2001, 2005 phpBB Group