You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Philip Luppens (JIRA)" <ji...@apache.org> on 2011/04/11 15:43:05 UTC

[jira] [Resolved] (STR-3212) Exception in Mail Sending

     [ https://issues.apache.org/jira/browse/STR-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Luppens resolved STR-3212.
---------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: Pending Review)

Read the error message.Your recipient's email address is invalid.

> Exception in Mail Sending
> -------------------------
>
>                 Key: STR-3212
>                 URL: https://issues.apache.org/jira/browse/STR-3212
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 1.3.10
>         Environment: Windows XP,J2SE 1.5 ,Eclipse Galelio IDE 
>            Reporter: Umesh Annegirikar
>
> I am working on the healthcare peoject in which the new users are notified by email for their username and password
> when user click on the register button All registration is OK but whenever clicking on the register button the
> I have get the following Exception Stack whenever trying to send
> http-8080-6 INFO  action.UserAction (UserAction.java:423) - MessagingException : Invalid Addresses
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - rcptTo  SMTPTransport.java 1835
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1835)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - sendMessage  SMTPTransport.java 1098
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1098)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - send0  Transport.java 195
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - javax.mail.Transport.send0(Transport.java:195)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - send  Transport.java 124
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - javax.mail.Transport.send(Transport.java:124)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - postMail  MailUtility.java 55
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - com.udhc.utility.MailUtility.postMail(MailUtility.java:55)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  UserAction.java 419
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - com.udhc.action.UserAction.execute(UserAction.java:419)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  ExecuteAction.java 58
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  AbstractExecuteAction.java 67
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  ActionCommandBase.java 51
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  ChainBase.java 191
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  LookupCommand.java 305
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - execute  ChainBase.java 191
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - process  ComposableRequestProcessor.java 283
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - process  ActionServlet.java 1913
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - doPost  ActionServlet.java 462
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - service  HttpServlet.java 710
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - service  HttpServlet.java 803
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - internalDoFilter  ApplicationFilterChain.java 290
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - doFilter  ApplicationFilterChain.java 206
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - invoke  StandardWrapperValve.java 228
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - invoke  StandardContextValve.java 175
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - invoke  StandardHostValve.java 128
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - invoke  ErrorReportValve.java 104
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - invoke  StandardEngineValve.java 109
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - service  CoyoteAdapter.java 216
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - process  Http11Processor.java 844
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - process  Http11Protocol.java 634
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - run  JIoEndpoint.java 445
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:13) - run  Thread.java 595
> http-8080-6 ERROR utility.LogUtility (LogUtility.java:14) - java.lang.Thread.run(Thread.java:595)
> So please tell me why this exception occurs.
> Thanking you..
> Regards
> Umesh

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira