email problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   guru_prasanth
Posted On:   Sunday, January 5, 2003 06:50 PM

i wrote a simple mail sending program and if i give the name of the company's college as email id then it works if i give mails like hotmail.com or rediffmail.com it does't work.can anyone explain why?ie if i give guruprasnath@dejibook.com then programs sends proper mail but if i change it to guruprasnath@rediffmail.com then it gives javax.mail.SendFailedException: 550 5.7.1 Unable to relay for guruprasanth@rediffmail.com at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:672) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320) at javax.mail.Transport.send0(Transport.java:164) at javax.mail.Transport.send(Transport.java:81) at test1_14._jspService(test1_14.java:80)    More>>

i wrote a simple mail sending program and if i give the name of the company's college as email id then it works if i give mails like hotmail.com or rediffmail.com it does't work.can anyone explain why?ie if i give guruprasnath@dejibook.com then programs sends proper mail but if i change it to guruprasnath@rediffmail.com then it gives
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for guruprasanth@rediffmail.com

			

at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:672)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
at javax.mail.Transport.send0(Transport.java:164)
at javax.mail.Transport.send(Transport.java:81)
at test1_14._jspService(test1_14.java:80)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:484)
   <<Less

Re: email problem

Posted By:   Gautam_Marwaha  
Posted On:   Sunday, January 5, 2003 11:39 PM

About | Sitemap | Contact