Using my browser, I went to the ordermgr webapplication

Clicked on an order in the order list

On the order screen ( ordermgr/control/orderview), right-hand side, under the 
"Contact Information" heading, there is a link for "(Send a confirmation email)"

Clicked on the "Send a confirmation email" link

On the "Send a confirmation email" screen 
(ordermgr/control/confirmationmailedit?orderId=WS10130&partyId=10111&[EMAIL 
PROTECTED]), I hit the "send" button, and get the errors that I described 
earlier. 
         

I appreciate the attention.
Phillip


----- Original Message -----
From: "BJ Freeman" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, January 18, 2008 10:42:58 PM (GMT-0500) America/New_York
Subject: Re: javax.mail.internet.ParseException when sending email from ofbiz?

Yes.
can you give the steps on how you created the email.

Phillip Rhodes sent the following on 1/18/2008 10:44 AM:
> I am using the ordermgr to send an email out.  The email fails and displays 
> this in the ordermgr:
> 
> The Following Errors Occurred:
> Cannot send email message to [EMAIL PROTECTED] from [EMAIL PROTECTED] cc 
> [null] bcc [null] subject [Test - Order Confirmation #WS10130]
> 
> The total stack trace is below.  In the ordermgr screen, there is a 
> Content-Type field, but it does not appear to have a value.  I am wondering 
> if the null value being set as the ContentType is the source of this problem.
> 
> Hopefully someone has experienced this and found a way to fix it, or it's 
> another lost weekend for me...
> Thanks.
> 
> 
> ---- exception report 
> ----------------------------------------------------------
> Cannot send email message to [EMAIL PROTECTED] from [EMAIL PROTECTED] cc 
> [EMAIL PROTECTED] bcc [null] subject [Test - Order Confirmation #WS10130]
> Exception: javax.mail.internet.ParseException
> Message: null
> ---- stack trace 
> ---------------------------------------------------------------
> javax.mail.internet.ParseException
> javax.mail.internet.ContentType.<init>(ContentType.java:89)
> javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1249)
> javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2012)
> javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1980)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:227)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:344)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:305)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:446)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:274)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> 
> 
> 


Reply via email to