File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Meaningless Drivel and the fly likes Solve error of Invalid Internet Address Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Reply Bookmark "Solve error of Invalid Internet Address" Watch "Solve error of Invalid Internet Address" New topic
Author

Solve error of Invalid Internet Address

prashant chindhade
Ranch Hand

Joined: Jan 19, 2011
Posts: 66
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
Rancher

Joined: Sep 21, 2011
Posts: 2329
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

Joined: Jan 19, 2011
Posts: 66
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
Bartender

Joined: Aug 16, 2005
Posts: 11642

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 2771

Try unplugging your internet cable. It might get rid of this particular error.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2329
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 3901
he must have thought this was a meaningless question


I never took notes in college. That's how I got a 4.0 the first 2 years, and a 3.5 the second two years.
 
 
subject: Solve error of Invalid Internet Address
 
Threads others viewed
Problem with Remote Address Filter
strut2 Application doesn't start when there is no Internet connection
invalid address exception
Sending mail with two "@" in address
Invalid RegEx on @Pattern
IntelliJ Java IDE