Ask Experts Questions for FREE Help !
Ask
    anshumanpinku's Avatar
    anshumanpinku Posts: 1, Reputation: 1
    New Member
     
    #1

    Jan 16, 2014, 02:55 AM
    Error while sending mail using java mail
    Hi Everyone,

    I got the following error while sending a mail in java.

    Javax.mail.SendFailedException: Invalid Addresses;
    Nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 User not found


    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTranspo rt.java:1862)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTr ansport.java:1118)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at com.BMS_Alert.Model.CopyOfSendAlarmEmail.main(Copy OfSendAlarmEmail.java:57)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 User not found

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTranspo rt.java:1715)
    ... 4 more.

    My scenario is when I am trying to send mails to same domain as the sender its working fine but while trying to send to any other domain its showing the above error.

    Thanks,
    Anshuman

Check out some similar questions!

Can't send web page on ie7 using windows live mail.error message says default mail [ 1 Answers ]

Error message says default mail client not properly installed.control panel says it is

Sending songs by e-mail [ 3 Answers ]

How do I e-mail a song to my friend by e-mailing him?

Error sending email with Vista (windows mail) [ 2 Answers ]

I have a question regarding trying to attachments. Whenever I try to send something or sometimes I try to reply on certain things I have a box that comes up and won't ever let me send anything. Why? This is what the box comes up and says: host XXX could not be found, subject, account, POP3...

Sending mail with an Apartment mailbox. [ 3 Answers ]

Hello, this may be a strange question, but I've just moved into some apartments and the mail boxes look similar to the mail boxes at a post office, I need to have a letter sent out in the morning and I don't know how to use these mail boxes for sending things out. The office for the apartments is...


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.