Posted By:
Anonymous
Posted On:
Wednesday, October 2, 2002 03:25 AM
Hi, I have been having trouble communicating to Delegate using Java Mail 1.2. It just doesn't read the username and password, in another words doesn't authenticate at all. FYI I have used the AUTHORISER in Delegate and have also used: props.put("mail.smtp.auth","true"); msg.saveChanges(); Transport transport = session.getTransport("smtp"); transport.connect("myHost","username","password"); transport.sendMessage(msg, msg.getAllRecipients()); This is the error i got.Thanks for your help. DEBUG: setDebug: JavaMail version 1.3 DEBUG: getProv
More>>
Hi,
I have been having trouble communicating to Delegate using Java Mail 1.2. It just doesn't read the username and password, in another words doesn't authenticate at all. FYI I have used the AUTHORISER in Delegate and have also used:
props.put("mail.smtp.auth","true");
msg.saveChanges();
Transport transport = session.getTransport("smtp");
transport.connect("myHost","username","password");
transport.sendMessage(msg, msg.getAllRecipients());
This is the error i got.Thanks for your help.
DEBUG: setDebug: JavaMail version 1.3
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG: SMTPTransport trying to connect to host "myHost", port 25
DEBUG SMTP RCVD: 220 ArGoSoft Mail Server, Version 1.61 (1.6.1.3)
DEBUG: SMTPTransport connected to host "myHost", port: 25
DEBUG SMTP SENT: EHLO Joseph
DEBUG SMTP RCVD: 250-AUTH PLAIN LOGIN
250 Welcome [10.4.21.145], pleased to meet you
DEBUG SMTP Found extension "Welcome", arg " [10.4.21.145], pleased to meet
you"
DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:
DEBUG SMTP RCVD: 500 do AUTH first.
MessagingException caught!
Error message :javax.mail.MessagingException: 500 do AUTH first.
regards,
Joseph
<<Less