• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Send Failed Exception

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If anyone has a clue on this one please let me know as I am stuck with this stuff last couple of days..
I receive an error message when trying to send a mail through my Java mail client as follows:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 Relaying is prohibited
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at javax.mail.MessagingException.<init>(MessagingException.java:52)
at javax.mail.SendFailedException.<init>(SendFailedException.java:73)
at com.sun.mail.smtp.SMTPTransport.rcptTo(Compiled Code)
at com.sun.mail.smtp.SMTPTransport.sendMessage(Compiled Code)
at moeza.mail.BIMInternetSendThread.run(BIMInternetSendThread.java:84)

The mail server above is iintec.com. When I change to another mail server (e.g. indiainfo.com) I get a somewhat different message as follows:

javax.mail.SendFailedException: 473 sridhar_r90@rediffmail.com you should authenticate first
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at javax.mail.MessagingException.<init>(MessagingException.java:39)
at javax.mail.SendFailedException.<init>(SendFailedException.java:42)
at com.sun.mail.smtp.SMTPTransport.rcptTo(Compiled Code)
at com.sun.mail.smtp.SMTPTransport.sendMessage(Compiled Code)
at moeza.mail.BIMInternetSendThread.run(BIMInternetSendThread.java:91)

I am not quite clear what authentication is required for hotmail email ID.. It is curious that all mails pertaining to the mail server domain gets sent without a hitch but any mail that is outside of the domain gets bounced..
If anyone has faced similar difficulties please let me know the solution..
I thank you all in advance..
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic