wood burning stoves*
The moose likes Meaningless Drivel and the fly likes Solve error of Invalid Internet Address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
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: 77
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: 2408
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: 77
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

Joined: Aug 16, 2005
Posts: 14117
    
  16

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: 3615
    
  14

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

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

Joined: Oct 21, 2000
Posts: 4340
    
    2

he must have thought this was a meaningless question


SCJP
Visit my download page
 
wood burning stoves
 
subject: Solve error of Invalid Internet Address