javax.mail.SendFailedException
I received this error when sending an email to myself from the server
javax.mail.SendFailedExecption: Sending Failed;
nested exeception is:
javax.mail.SendFailedException: Invalid Addresses;
nested execption is:
javax.mail.SendFailedException: 550 5.1.1<uatregister.Settings.webmasterEmail>.....user unknown.
email address is in Settings.java
Any help would be greatly appreciated :)
The mon
[452 byte] By [
jettimona] at [2007-11-26 17:33:06]

# 2
Is your username "uatregister.Settings.webmasterEmail"? If not, that'syour problem.It looks like you used the name of a property for the username,rather than the value of the property.
# 4
And what code do you use to access that setting and give it to
JavaMail? That's where your mistake is.
You've done something like
msg.setRecipients(Message.RecipientType.TO, "uatregister.Settings.webmasterEmail");
when you should be doing something like
msg.setRecipients(Message.RecipientType.TO, uatregister.Settings.webmasterEmail);
# 5
code as follows:new transport.Email("uatregister.Settings.webmasterEmail", contact.get_first_name() + " " + contact.get_surname(), uatregister.Settings.emailServer, "", message, "Feedback", contact.get_email()).send();