Problemas con envío de Email
PostPosted:Mon Sep 07, 2009 1:28 pm
Hola,
tengo problemsa al enviar correos de notificación. Ya que cuando envío uno en el correo de hotmail donde lo mando, no aparece nada.
Ya tengo configurado el postfix y el mensaje de la consola cuando trato de enviar un mensaje es:
tengo problemsa al enviar correos de notificación. Ya que cuando envío uno en el correo de hotmail donde lo mando, no aparece nada.
Ya tengo configurado el postfix y el mensaje de la consola cuando trato de enviar un mensaje es:
Code: Select all
Mi config en el mail-service.xml es:14:20:44,955 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
14:20:44,958 INFO [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
14:20:44,958 INFO [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
14:20:44,958 INFO [STDOUT] DEBUG SMTP: trying to connect to host \"alex-desktop\", port 25, isSSL false
14:20:44,959 INFO [STDOUT] 220 alex-desktop ESMTP Postfix (Ubuntu)
14:20:44,959 INFO [STDOUT] DEBUG SMTP: connected to host \"alex-desktop\", port: 25
14:20:44,959 INFO [STDOUT] EHLO alex-desktop
14:20:44,959 INFO [STDOUT] 250-alex-desktop
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
14:20:44,960 INFO [STDOUT] DEBUG SMTP: Found extension \"PIPELINING\", arg \"\"
14:20:44,964 INFO [STDOUT] DEBUG SMTP: Found extension \"SIZE\", arg \"10240000\"
14:20:44,964 INFO [STDOUT] DEBUG SMTP: Found extension \"VRFY\", arg \"\"
14:20:44,965 INFO [STDOUT] DEBUG SMTP: Found extension \"ETRN\", arg \"\"
14:20:44,965 INFO [STDOUT] DEBUG SMTP: Found extension \"STARTTLS\", arg \"\"
14:20:44,965 INFO [STDOUT] DEBUG SMTP: Found extension \"ENHANCEDSTATUSCODES\", arg \"\"
14:20:44,965 INFO [STDOUT] DEBUG SMTP: Found extension \"8BITMIME\", arg \"\"
14:20:44,965 INFO [STDOUT] DEBUG SMTP: Found extension \"DSN\", arg \"\"
14:20:44,965 INFO [STDOUT] DEBUG SMTP: use8bit false
14:20:44,965 INFO [STDOUT] MAIL FROM:<alejandro_erdozain@hotmail.com>
14:20:44,965 INFO [STDOUT] 250 2.1.0 Ok
14:20:44,965 INFO [STDOUT] RCPT TO:<alejandro_erdozain@hotmail.com>
14:20:44,971 INFO [STDOUT] 250 2.1.5 Ok
14:20:44,981 INFO [STDOUT] DEBUG SMTP: Verified Addresses
14:20:44,981 INFO [STDOUT] DEBUG SMTP: alejandro_erdozain@hotmail.com
14:20:44,981 INFO [STDOUT] DATA
14:20:44,981 INFO [STDOUT] 354 End data with <CR><LF>.<CR><LF>
14:20:44,981 INFO [STDOUT] Date: Mon, 7 Sep 2009 14:20:44 +0100 (GMT+01:00)
From: alejandro_erdozain@hotmail.com
To: alejandro_erdozain@hotmail.com
Message-ID: <10889280.21252329644955.JavaMail.alex@alexCorreo.es>
Subject: OpenKM - NOTIFICATION - /okm:root/pepe/Copper Cable Certification
wiki.pdf
MIME-Version: 1.0
Content-Type: text/html ; charset=UTF-8
Content-Transfer-Encoding: 7bit
charset: UTF-8
<html><body><b>Document: </b><a href=\"http://172.27.250.131:8080/OpenKM/es.git.openkm.frontend.Main/index.jsp ?docPath=%2Fokm%3Aroot%2Fpepe%2FCopper+Cable+Certification+wiki.pdf\">/okm:root/pepe/Copper Cable Certification wiki.pdf</a><br/><b>User: </b>admin<br/><b>Message: </b>sdadasdasdasd<br/></body></html>
.
14:20:45,022 INFO [STDOUT] 250 2.0.0 Ok: queued as EBE38A00B8
14:20:45,022 INFO [STDOUT] QUIT
14:20:45,023 INFO [STDOUT] 221 2.0.0 Bye
Code: Select all
Muchas gracias!!<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>
<!-- ==================================================================== -->
<!-- Mail Connection Factory -->
<!-- ==================================================================== -->
<mbean code=\"org.jboss.mail.MailService\"
name=\"jboss:service=OpenKM\">
<attribute name=\"JNDIName\">java:/mail/OpenKM</attribute>
<attribute name=\"User\">user</attribute>
<attribute name=\"Password\">pasword</attribute>
<attribute name=\"Configuration\">
<!-- A test configuration -->
<configuration>
<!-- Change to your mail server prototocol -->
<property name=\"mail.store.protocol\" value=\"pop3\"/>
<property name=\"mail.transport.protocol\" value=\"smtp\"/>
<property name=\"mail.smtp.auth\" value=\"true\"/>
<!-- Change to the user who will receive mail -->
<property name=\"mail.user\" value=\"alex\"/>
<!-- Change to the mail server -->
<property name=\"mail.pop3.host\" value=\"pop3.nosuchhost.nosuchdomain.com\"/>
<!-- Change to the SMTP gateway server -->
<property name=\"mail.smtp.host\" value=\"alex-desktop\"/>
<!-- The mail server port -->
<property name=\"mail.smtp.port\" value=\"25\"/>
<!-- Change to the address mail will be from -->
<property name=\"mail.from\" value=\"alex@alexCorreo.es\"/>
<!-- Enable debugging output from the javamail classes -->
<property name=\"mail.debug\" value=\"true\"/>
</configuration>
</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
</server>