Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Solve error of Invalid Internet Address

 
Prashant Chindhade
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a java application that uses to send email using form like

from :

Subject :

Body:

i also have purchased a domain name. but when i run application it is giving an error of invalid internet address. please help

How to solve this problem.

 
Tim Moores
Bartender
Posts: 2789
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Were you planning on letting us know what this Java application does -or is supposed to do- or how it works, or what the error is, or should we just guess?
 
Prashant Chindhade
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its a simple mail service when anyone goes on a contact tab. he/she will have to fill up form like following.

1) From :
2) Subject:
3)Body:


after this on click of send button the mail is received by company representative.

I have done all the coding but the only error is it is showing error like following.

javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
SMTPAddressFailedException: 550 <From mail id> No such user here


is this information enough for you..or i should provide anything more..?? please let me know..

thanks

Prashant
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you are forgetting to fill in some information, or you are putting the wrong information in some field.

The error comes from the mail server and it tells you that there is no mail account under the name "From mail id" on the server. Sounds reasonable, the literal text "From mail id" doesn't sound like a normal username or e-mail address.
 
Stephan van Hulst
Bartender
Pie
Posts: 5790
61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try unplugging your internet cable. It might get rid of this particular error.
 
Tim Moores
Bartender
Posts: 2789
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Randall Twede
Ranch Hand
Posts: 4390
3
Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
he must have thought this was a meaningless question
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic