I'm using the example here:
http://www.ibm.com/developerworks/java/library/j-james1/index.html
I've forwarded, virtual hosted, port 25. No firewall. Debug checks all ok but no email goes through!? Mail sends from one user to another at localhost, just not to my internet mail account.
What could be the problem please?
SENDING message from red@localhost to [email protected]
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "localhost", port 25, isSSL false
220 Desktop SMTP Server (JAMES SMTP Server 2.3.2) ready Sun, 5 Aug 2012 01:35:18 +0300 (EEST)
DEBUG SMTP: connected to host "localhost", port: 25
EHLO Desktop
250-Desktop Hello Desktop (localhost [127.0.0.1])
250-PIPELINING
250 ENHANCEDSTATUSCODES
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<red@localhost>
250 2.1.0 Sender <red@localhost> OK
RCPT TO:<[email protected]>
250 2.1.5 Recipient <[email protected]> OK
DEBUG SMTP: Verified Addresses
DEBUG SMTP: [email protected]
DATA
354 Ok Send data ending with <CRLF>.<CRLF>
To: [email protected]
Message-ID: <23063136.2.1344119718490.JavaMail.red@localhost>
Subject: Testing blue from red
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This is a test message
.
250 2.6.0 Message received
QUIT
221 2.0.0 Desktop Service closing transmission channel