GerardoGtz Posted May 26, 2010 Share Posted May 26, 2010 Recien instale la version 1.3, el problema que surge en el envio de correo.SI funciona:a) Enviar a un amigo Suscripcion a NewsletterNO funciona:a) formulario de contacto confirmacion de pedidosDesde el panel PREFERENCIAS > EMAILSEstableci la funcionesServidor SMTP: mail.midominio.comContraseña SMTP: contraseñaEncriptacion: ningunoPuerto: 25Inclusive, en esa misma seccion, intento ENVIAR UN CORRE ELECTRONICO DE PRUEBA, doy click y de hecho, me despliega el mensaje "el correo se envia". Sin embargo, checo el correo y no llega nada.el dominio como tal, esta hospedado en BRINKSTER y usa PHPMailer, anexo codigo que dan de ejemploHow do I send email with PHPMailer for Windows Hosting?Special NoteBe sure to make the following changes when using this coding example:1. Replace YourDomain.com with a valid Brinkster hosted domain name.2. Replace [email protected] with a valid Brinkster hosted email account.3. Replace password with the password for the email account used above.4. Replace [email protected] with a valid email account.Your FROM address must be the same as the email address you authenticate with.<?require(“c:\php\includes\class.phpmailer.php”);$mail = new PHPMailer();$mail->IsSMTP();$mail->Host = “mymail.brinkster.com”;$mail->SMTPAuth = true;$mail->Username = “[email protected]”;$mail->Password = “EmailPassword”;$mail->From = “[email protected]”;$mail->FromName = “Your Name”;$mail->AddReplyTo(“[email protected]”);$mail->AddAddress(“[email protected]”);$mail->IsHTML(true);$mail->Subject = “Test message sent using the PHPMailer component”;$mail->Body = “This is a test message.”;$mail->Send();?>Below is a sample that includes a form. Copy and paste the code into a PHP page and make the appropriate changes to the mail server, email addresses, and password.<?phpif(isset($_POST[“Submit”])){require(“c:\php\includes\class.phpmailer.php”);$mail = new PHPMailer();////////////////////////////////////////////////////////////////// Customize the following 5 lines with your own information. //////////////////////////////////////////////////////////////////$toaddress = “[email protected]”; //Change this to the email address you will be receiving your notices.$mailhost = “mail.yourdomain.com”; //Change this to your actual Domain name.$fromaddress = “[email protected]”; //Change this to the email address you will use to send and authenticate with.$frompwd = “password”; //Change this to the above email addresses password.$subject = “PHP Contact Form”; //Change this to your own email message subject.//////////////////////////////////////////// DO NOT CHANGE ANYTHING PAST THIS LINE////////////////////////////////////////////$fromname = $_POST[“TName”];$body = $_POST[“TBody”] ;$rplyto = $_POST[“TEmail”];$msgbody = $fromname . ““ . $rplyto . ““ . $body;$mail->IsSMTP();$mail->Host = $mailhost;$mail->SMTPAuth = true;$mail->Username = $fromaddress;$mail->Password = $frompwd;$mail->From = $fromaddress;$mail->FromName = $fromname;$mail->AddReplyTo($rplyto);$mail->AddAddress($toaddress);$mail->IsHTML(true);$mail->Subject = $subject;$mail->Body = $msgbody;if(!$mail->Send()){ echo “Message could not be sent. “; echo “Mailer Error: “ . $mail->ErrorInfo; exit;}echo “Thank you, your message has been sent!”;}?><html><body><form name=“SendEmail01” method=“post”> Name: <input type=“text” name=“TName” size=“30”></td> Email: <input type=“text” name=“TEmail” size=“30”></td> Body: <textarea rows=“4” name=“TBody” cols=“30”></textarea> <input type=“submit” name=“Submit” value=“Submit”></td> </form></body></html> Link to comment Share on other sites More sharing options...
evshsk_hack_WU Posted June 17, 2010 Share Posted June 17, 2010 yes post Link to comment Share on other sites More sharing options...
Recommended Posts