i can't send email with javamail in ofbiz 4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

i can't send email with javamail in ofbiz 4

Heidi Dehaes - Olagos
Hello
I can't send emails from the ofbiz application.
i have always the following error:

in short this one:
Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
stack trace ---------------------------------------------------------------
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
STARTTLS command first. c24sm9404593ika.4
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)


My general.properties is like this:
###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
###############################################################################

# -- unique instance id (20 char max)
unique.instanceId=ofbiz1

# -- the default currency to use for prices, etc
currency.uom.id.default=EUR

# -- the default decimal format for currency
currency.decimal.format=##0.00

# -- locales made available separated by comma's
locales.available=en,fr,nl,de

# -- the default country for drop downs
country.geo.id.default=EUR

# -- the default trackingCodeId to use for Partner Managed Tracking Codes
partner.trackingCodeId.default=

# -- USPS address matching string - should be all lower case, no
spaces, pipe delimited
usps.address.match=(^.*?p[\\. ]*o[\\.
]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*((
+)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)

# -- mail notifications enabled (Y|N)
mail.notifications.enabled="yes"

# -- redirect all mail notifications to this address for testing
#mail.notifications.redirectTo=[hidden email]

# -- the default mail server to use
mail.smtp.relay.host=smtp.gmail.com


# -- SMTP Auth settings
mail.smtp.auth.user="[hidden email]"
mail.smtp.auth.password="******"

# -- debug SMTP mail option enabled (Y|N)
mail.debug.on="true"



# -- Additional Required Fields needed for Gmail and other non
#traditional smtp servers
# -- These added fields also work for Yahoo business mail for instance
# -- Gmail smtp port can be either 465 or 587
mail.smtp.port=465
# -- Gmail requires StartTLS
mail.smtp.starttls.enable="true"

# -- Gmail requires a JSSE socket factory, the following socketFactory
#settings will override JavaMail's default socketFactory settings
# -- Port needs to be the same as mail.smtp.port
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
#--Fallback [true|false] determines whether you will allow a non
secure #connection if you are unable to get a secure one
mail.smtp.socketFactory.fallback="false"

# -- debug SMTP mail option enabled (Y|N)
mail.debug.on="true"




# -- HTTP upload max size in bytes (-1 for unlimited)
http.upload.max.size=-1

# -- spam header name and value to block incoming spam detected by
external spam checker, configured for spam assin
mail.spam.name=X-Spam-Flag
mail.spam.value=YES




CAN ANYONE HELP ME ???????????????????


THANKS
HEIDI





in long form it is this one:

2008-07-09 00:11:24,742 (http-0.0.0.0-8443-Processor8) [
EmailServices.java:240:ERROR] ---- exception report
---------------------------------------------------------- Cannot send
email message to [[hidden email]] from [[hidden email]]
cc [[hidden email]] bcc [null] subject [Confirmation ! ]
Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
stack trace ---------------------------------------------------------------
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
STARTTLS command first. c24sm9404593ika.4
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
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:597)
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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2008-07-09 00:11:24,781 (http-0.0.0.0-8443-Processor8) [
EmailServices.java:241:ERROR] ---- exception report
---------------------------------------------------------- Email
message that could not be sent to [[hidden email]] had context:
{body=   , sendTo=[hidden email],
sendFrom=[hidden email], partyId=10001, subject=Confirmation !
, sendCc=[hidden email], locale=nl_BE, contentType=null,
userLogin=[GenericEntity:UserLogin][createdStamp,2007-08-10
20:30:39.0(java.sql.Timestamp)][createdTxStamp,2007-08-10
20:30:39.0(java.sql.Timestamp)][currentPassword,b7597742a3b4155b84b82a9c30b83c4d6dd921d4(java.lang.String)][disabledDateTime,2008-03-15
08:26:37.0(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,nl_BE(java.lang.String)][lastUpdatedStamp,2008-07-07
13:28:33.0(java.sql.Timestamp)][lastUpdatedTxStamp,2008-07-07
13:28:33.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,el(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
sendBcc=null} Exception: com.sun.mail.smtp.SMTPSendFailedException
Message: 530 5.7.0 Must issue a STARTTLS command first.
c24sm9404593ika.4 ---- stack trace
---------------------------------------------------------------
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
STARTTLS command first. c24sm9404593ika.4
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
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:597)
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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2008-07-09 00:11:24,843 (http-0.0.0.0-8443-Processor8) [
ServiceDispatcher.java:419:ERROR] Service Error [sendMail]: Cannot
send email message to [[hidden email]] from
[[hidden email]] cc [[hidden email]] bcc [null] subject
[Confirmation ! ]
2008-07-09 00:11:24,847 (http-0.0.0.0-8443-Processor8) [
TransactionUtil.java:255:ERROR] ---- exception report
----------------------------------------------------------
[TransactionUtil.rollback] Exception: java.lang.Exception Message:
Stack Trace ---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:423)
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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2008-07-09 00:11:24,894 (http-0.0.0.0-8443-Processor8) [
TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
rolled back
2008-07-09 00:11:24,896 (http-0.0.0.0-8443-Processor8) [
ServiceDispatcher.java:467:DEBUG] Sync service [order/sendMail]
finished in [268] milliseconds
2008-07-09 00:11:24,898 (http-0.0.0.0-8443-Processor8) [
RequestHandler.java:305:ERROR] Request sendconfirmationmail caused an
error with the following message: Cannot send email message to
[[hidden email]] from [[hidden email]] cc
[[hidden email]] bcc [null] subject [Confirmation ! ]
2008-07-09 00:11:24,903 (http-0.0.0.0-8443-Processor8) [
RequestHandler.java:425:INFO ] [RequestHandler
Reply | Threaded
Open this post in threaded view
|

Re: i can't send email with javamail in ofbiz 4

cjhowe
Try removing the quotes from properties you set as true

Heidi Dehaes <[hidden email]> wrote: Hello
I can't send emails from the ofbiz application.
i have always the following error:

in short this one:
Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
stack trace ---------------------------------------------------------------
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
STARTTLS command first. c24sm9404593ika.4
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)


My general.properties is like this:
###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
###############################################################################

# -- unique instance id (20 char max)
unique.instanceId=ofbiz1

# -- the default currency to use for prices, etc
currency.uom.id.default=EUR

# -- the default decimal format for currency
currency.decimal.format=##0.00

# -- locales made available separated by comma's
locales.available=en,fr,nl,de

# -- the default country for drop downs
country.geo.id.default=EUR

# -- the default trackingCodeId to use for Partner Managed Tracking Codes
partner.trackingCodeId.default=

# -- USPS address matching string - should be all lower case, no
spaces, pipe delimited
usps.address.match=(^.*?p[\\. ]*o[\\.
]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*((
+)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)

# -- mail notifications enabled (Y|N)
mail.notifications.enabled="yes"

# -- redirect all mail notifications to this address for testing
#mail.notifications.redirectTo=[hidden email]

# -- the default mail server to use
mail.smtp.relay.host=smtp.gmail.com


# -- SMTP Auth settings
mail.smtp.auth.user="[hidden email]"
mail.smtp.auth.password="******"

# -- debug SMTP mail option enabled (Y|N)
mail.debug.on="true"



# -- Additional Required Fields needed for Gmail and other non
#traditional smtp servers
# -- These added fields also work for Yahoo business mail for instance
# -- Gmail smtp port can be either 465 or 587
mail.smtp.port=465
# -- Gmail requires StartTLS
mail.smtp.starttls.enable="true"

# -- Gmail requires a JSSE socket factory, the following socketFactory
#settings will override JavaMail's default socketFactory settings
# -- Port needs to be the same as mail.smtp.port
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
#--Fallback [true|false] determines whether you will allow a non
secure #connection if you are unable to get a secure one
mail.smtp.socketFactory.fallback="false"

# -- debug SMTP mail option enabled (Y|N)
mail.debug.on="true"




# -- HTTP upload max size in bytes (-1 for unlimited)
http.upload.max.size=-1

# -- spam header name and value to block incoming spam detected by
external spam checker, configured for spam assin
mail.spam.name=X-Spam-Flag
mail.spam.value=YES




CAN ANYONE HELP ME ???????????????????


THANKS
HEIDI





in long form it is this one:

2008-07-09 00:11:24,742 (http-0.0.0.0-8443-Processor8) [
EmailServices.java:240:ERROR] ---- exception report
---------------------------------------------------------- Cannot send
email message to [[hidden email]] from [[hidden email]]
cc [[hidden email]] bcc [null] subject [Confirmation ! ]
Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
stack trace ---------------------------------------------------------------
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
STARTTLS command first. c24sm9404593ika.4
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
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:597)
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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2008-07-09 00:11:24,781 (http-0.0.0.0-8443-Processor8) [
EmailServices.java:241:ERROR] ---- exception report
---------------------------------------------------------- Email
message that could not be sent to [[hidden email]] had context:
{body=   , sendTo=[hidden email],
sendFrom=[hidden email], partyId=10001, subject=Confirmation !
, sendCc=[hidden email], locale=nl_BE, contentType=null,
userLogin=[GenericEntity:UserLogin][createdStamp,2007-08-10
20:30:39.0(java.sql.Timestamp)][createdTxStamp,2007-08-10
20:30:39.0(java.sql.Timestamp)][currentPassword,b7597742a3b4155b84b82a9c30b83c4d6dd921d4(java.lang.String)][disabledDateTime,2008-03-15
08:26:37.0(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,nl_BE(java.lang.String)][lastUpdatedStamp,2008-07-07
13:28:33.0(java.sql.Timestamp)][lastUpdatedTxStamp,2008-07-07
13:28:33.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,el(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
sendBcc=null} Exception: com.sun.mail.smtp.SMTPSendFailedException
Message: 530 5.7.0 Must issue a STARTTLS command first.
c24sm9404593ika.4 ---- stack trace
---------------------------------------------------------------
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
STARTTLS command first. c24sm9404593ika.4
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
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:597)
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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2008-07-09 00:11:24,843 (http-0.0.0.0-8443-Processor8) [
ServiceDispatcher.java:419:ERROR] Service Error [sendMail]: Cannot
send email message to [[hidden email]] from
[[hidden email]] cc [[hidden email]] bcc [null] subject
[Confirmation ! ]
2008-07-09 00:11:24,847 (http-0.0.0.0-8443-Processor8) [
TransactionUtil.java:255:ERROR] ---- exception report
----------------------------------------------------------
[TransactionUtil.rollback] Exception: java.lang.Exception Message:
Stack Trace ---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:423)
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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2008-07-09 00:11:24,894 (http-0.0.0.0-8443-Processor8) [
TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
rolled back
2008-07-09 00:11:24,896 (http-0.0.0.0-8443-Processor8) [
ServiceDispatcher.java:467:DEBUG] Sync service [order/sendMail]
finished in [268] milliseconds
2008-07-09 00:11:24,898 (http-0.0.0.0-8443-Processor8) [
RequestHandler.java:305:ERROR] Request sendconfirmationmail caused an
error with the following message: Cannot send email message to
[[hidden email]] from [[hidden email]] cc
[[hidden email]] bcc [null] subject [Confirmation ! ]
2008-07-09 00:11:24,903 (http-0.0.0.0-8443-Processor8) [
RequestHandler.java:425:INFO ] [RequestHandler

Reply | Threaded
Open this post in threaded view
|

Re: i can't send email with javamail in ofbiz 4

Ravindra Mandre-2
hi
 You may try this
1) try to give "Y "instead of "yes" in mail notification.
2) # -- debug SMTP mail option enabled (Y|N)
mail.debug.on="true"
 try "Y" instead of "true".

hope this may help u .

Ravi

On Wed, Jul 9, 2008 at 4:06 AM, Chris Howe <[hidden email]> wrote:

> Try removing the quotes from properties you set as true
>
> Heidi Dehaes <[hidden email]> wrote: Hello
> I can't send emails from the ofbiz application.
> i have always the following error:
>
> in short this one:
> Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
> 5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
> stack trace ---------------------------------------------------------------
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
> STARTTLS command first. c24sm9404593ika.4
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
>
>
> My general.properties is like this:
>
> ###############################################################################
> # Licensed to the Apache Software Foundation (ASF) under one
> # or more contributor license agreements.  See the NOTICE file
> # distributed with this work for additional information
> # regarding copyright ownership.  The ASF licenses this file
> # to you under the Apache License, Version 2.0 (the
> # "License"); you may not use this file except in compliance
> # with the License.  You may obtain a copy of the License at
> #
> # http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing,
> # software distributed under the License is distributed on an
> # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> # KIND, either express or implied.  See the License for the
> # specific language governing permissions and limitations
> # under the License.
>
> ###############################################################################
>
> # -- unique instance id (20 char max)
> unique.instanceId=ofbiz1
>
> # -- the default currency to use for prices, etc
> currency.uom.id.default=EUR
>
> # -- the default decimal format for currency
> currency.decimal.format=##0.00
>
> # -- locales made available separated by comma's
> locales.available=en,fr,nl,de
>
> # -- the default country for drop downs
> country.geo.id.default=EUR
>
> # -- the default trackingCodeId to use for Partner Managed Tracking Codes
> partner.trackingCodeId.default=
>
> # -- USPS address matching string - should be all lower case, no
> spaces, pipe delimited
> usps.address.match=(^.*?p[\\. ]*o[\\.
> ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*((
> +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)
>
> # -- mail notifications enabled (Y|N)
> mail.notifications.enabled="yes"
>
> # -- redirect all mail notifications to this address for testing
> #mail.notifications.redirectTo=[hidden email]
>
> # -- the default mail server to use
> mail.smtp.relay.host=smtp.gmail.com
>
>
> # -- SMTP Auth settings
> mail.smtp.auth.user="[hidden email]"
> mail.smtp.auth.password="******"
>
> # -- debug SMTP mail option enabled (Y|N)
> mail.debug.on="true"
>
>
>
> # -- Additional Required Fields needed for Gmail and other non
> #traditional smtp servers
> # -- These added fields also work for Yahoo business mail for instance
> # -- Gmail smtp port can be either 465 or 587
> mail.smtp.port=465
> # -- Gmail requires StartTLS
> mail.smtp.starttls.enable="true"
>
> # -- Gmail requires a JSSE socket factory, the following socketFactory
> #settings will override JavaMail's default socketFactory settings
> # -- Port needs to be the same as mail.smtp.port
> mail.smtp.socketFactory.port=465
> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
> #--Fallback [true|false] determines whether you will allow a non
> secure #connection if you are unable to get a secure one
> mail.smtp.socketFactory.fallback="false"
>
> # -- debug SMTP mail option enabled (Y|N)
> mail.debug.on="true"
>
>
>
>
> # -- HTTP upload max size in bytes (-1 for unlimited)
> http.upload.max.size=-1
>
> # -- spam header name and value to block incoming spam detected by
> external spam checker, configured for spam assin
> mail.spam.name=X-Spam-Flag
> mail.spam.value=YES
>
>
>
>
> CAN ANYONE HELP ME ???????????????????
>
>
> THANKS
> HEIDI
>
>
>
>
>
> in long form it is this one:
>
> 2008-07-09 00:11:24,742 (http-0.0.0.0-8443-Processor8) [
> EmailServices.java:240:ERROR] ---- exception report
> ---------------------------------------------------------- Cannot send
> email message to [[hidden email]] from [[hidden email]]
> cc [[hidden email]] bcc [null] subject [Confirmation ! ]
> Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
> 5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
> stack trace ---------------------------------------------------------------
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
> STARTTLS command first. c24sm9404593ika.4
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
> 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:597)
>
> 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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> --------------------------------------------------------------------------------
> 2008-07-09 00:11:24,781 (http-0.0.0.0-8443-Processor8) [
> EmailServices.java:241:ERROR] ---- exception report
> ---------------------------------------------------------- Email
> message that could not be sent to [[hidden email]] had context:
> {body=   , sendTo=[hidden email],
> sendFrom=[hidden email], partyId=10001, subject=Confirmation !
> , sendCc=[hidden email], locale=nl_BE, contentType=null,
> userLogin=[GenericEntity:UserLogin][createdStamp,2007-08-10
> 20:30:39.0(java.sql.Timestamp)][createdTxStamp,2007-08-10
>
> 20:30:39.0(java.sql.Timestamp)][currentPassword,b7597742a3b4155b84b82a9c30b83c4d6dd921d4(java.lang.String)][disabledDateTime,2008-03-15
>
> 08:26:37.0(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,nl_BE(java.lang.String)][lastUpdatedStamp,2008-07-07
> 13:28:33.0(java.sql.Timestamp)][lastUpdatedTxStamp,2008-07-07
>
> 13:28:33.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,el(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
> sendBcc=null} Exception: com.sun.mail.smtp.SMTPSendFailedException
> Message: 530 5.7.0 Must issue a STARTTLS command first.
> c24sm9404593ika.4 ---- stack trace
> ---------------------------------------------------------------
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
> STARTTLS command first. c24sm9404593ika.4
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
> 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:597)
>
> 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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> --------------------------------------------------------------------------------
> 2008-07-09 00:11:24,843 (http-0.0.0.0-8443-Processor8) [
> ServiceDispatcher.java:419:ERROR] Service Error [sendMail]: Cannot
> send email message to [[hidden email]] from
> [[hidden email]] cc [[hidden email]] bcc [null] subject
> [Confirmation ! ]
> 2008-07-09 00:11:24,847 (http-0.0.0.0-8443-Processor8) [
> TransactionUtil.java:255:ERROR] ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback] Exception: java.lang.Exception Message:
> Stack Trace ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
>
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
>
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:423)
> 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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> --------------------------------------------------------------------------------
> 2008-07-09 00:11:24,894 (http-0.0.0.0-8443-Processor8) [
> TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
> rolled back
> 2008-07-09 00:11:24,896 (http-0.0.0.0-8443-Processor8) [
> ServiceDispatcher.java:467:DEBUG] Sync service [order/sendMail]
> finished in [268] milliseconds
> 2008-07-09 00:11:24,898 (http-0.0.0.0-8443-Processor8) [
> RequestHandler.java:305:ERROR] Request sendconfirmationmail caused an
> error with the following message: Cannot send email message to
> [[hidden email]] from [[hidden email]] cc
> [[hidden email]] bcc [null] subject [Confirmation ! ]
> 2008-07-09 00:11:24,903 (http-0.0.0.0-8443-Processor8) [
> RequestHandler.java:425:INFO ] [RequestHandler
>
>
Reply | Threaded
Open this post in threaded view
|

Re: i can't send email with javamail in ofbiz 4

skpradeepkumar
In reply to this post by Heidi Dehaes - Olagos
Hi,

You done like this:
# -- mail notifications enabled (Y|N)
mail.notifications.enabled="yes"

And try with this :

# -- mail notifications enabled (Y|N)
mail.notifications.enabled=Y



On Wed, Jul 9, 2008 at 3:47 AM, Heidi Dehaes <[hidden email]> wrote:

> Hello
> I can't send emails from the ofbiz application.
> i have always the following error:
>
> in short this one:
> Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
> 5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
> stack trace ---------------------------------------------------------------
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
> STARTTLS command first. c24sm9404593ika.4
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
>
>
> My general.properties is like this:
>
> ###############################################################################
> # Licensed to the Apache Software Foundation (ASF) under one
> # or more contributor license agreements.  See the NOTICE file
> # distributed with this work for additional information
> # regarding copyright ownership.  The ASF licenses this file
> # to you under the Apache License, Version 2.0 (the
> # "License"); you may not use this file except in compliance
> # with the License.  You may obtain a copy of the License at
> #
> # http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing,
> # software distributed under the License is distributed on an
> # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> # KIND, either express or implied.  See the License for the
> # specific language governing permissions and limitations
> # under the License.
>
> ###############################################################################
>
> # -- unique instance id (20 char max)
> unique.instanceId=ofbiz1
>
> # -- the default currency to use for prices, etc
> currency.uom.id.default=EUR
>
> # -- the default decimal format for currency
> currency.decimal.format=##0.00
>
> # -- locales made available separated by comma's
> locales.available=en,fr,nl,de
>
> # -- the default country for drop downs
> country.geo.id.default=EUR
>
> # -- the default trackingCodeId to use for Partner Managed Tracking Codes
> partner.trackingCodeId.default=
>
> # -- USPS address matching string - should be all lower case, no
> spaces, pipe delimited
> usps.address.match=(^.*?p[\\. ]*o[\\.
> ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*((
> +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)
>
> # -- mail notifications enabled (Y|N)
> mail.notifications.enabled="yes"
>
> # -- redirect all mail notifications to this address for testing
> #mail.notifications.redirectTo=[hidden email]
>
> # -- the default mail server to use
> mail.smtp.relay.host=smtp.gmail.com
>
>
> # -- SMTP Auth settings
> mail.smtp.auth.user="[hidden email]"
> mail.smtp.auth.password="******"
>
> # -- debug SMTP mail option enabled (Y|N)
> mail.debug.on="true"
>
>
>
> # -- Additional Required Fields needed for Gmail and other non
> #traditional smtp servers
> # -- These added fields also work for Yahoo business mail for instance
> # -- Gmail smtp port can be either 465 or 587
> mail.smtp.port=465
> # -- Gmail requires StartTLS
> mail.smtp.starttls.enable="true"
>
> # -- Gmail requires a JSSE socket factory, the following socketFactory
> #settings will override JavaMail's default socketFactory settings
> # -- Port needs to be the same as mail.smtp.port
> mail.smtp.socketFactory.port=465
> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
> #--Fallback [true|false] determines whether you will allow a non
> secure #connection if you are unable to get a secure one
> mail.smtp.socketFactory.fallback="false"
>
> # -- debug SMTP mail option enabled (Y|N)
> mail.debug.on="true"
>
>
>
>
> # -- HTTP upload max size in bytes (-1 for unlimited)
> http.upload.max.size=-1
>
> # -- spam header name and value to block incoming spam detected by
> external spam checker, configured for spam assin
> mail.spam.name=X-Spam-Flag
> mail.spam.value=YES
>
>
>
>
> CAN ANYONE HELP ME ???????????????????
>
>
> THANKS
> HEIDI
>
>
>
>
>
> in long form it is this one:
>
> 2008-07-09 00:11:24,742 (http-0.0.0.0-8443-Processor8) [
> EmailServices.java:240:ERROR] ---- exception report
> ---------------------------------------------------------- Cannot send
> email message to [[hidden email]] from [[hidden email]]
> cc [[hidden email]] bcc [null] subject [Confirmation ! ]
> Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530
> 5.7.0 Must issue a STARTTLS command first. c24sm9404593ika.4 ----
> stack trace ---------------------------------------------------------------
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
> STARTTLS command first. c24sm9404593ika.4
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
> 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:597)
>
> 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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> --------------------------------------------------------------------------------
> 2008-07-09 00:11:24,781 (http-0.0.0.0-8443-Processor8) [
> EmailServices.java:241:ERROR] ---- exception report
> ---------------------------------------------------------- Email
> message that could not be sent to [[hidden email]] had context:
> {body=   , sendTo=[hidden email],
> sendFrom=[hidden email], partyId=10001, subject=Confirmation !
> , sendCc=[hidden email], locale=nl_BE, contentType=null,
> userLogin=[GenericEntity:UserLogin][createdStamp,2007-08-10
> 20:30:39.0(java.sql.Timestamp)][createdTxStamp,2007-08-10
>
> 20:30:39.0(java.sql.Timestamp)][currentPassword,b7597742a3b4155b84b82a9c30b83c4d6dd921d4(java.lang.String)][disabledDateTime,2008-03-15
>
> 08:26:37.0(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,nl_BE(java.lang.String)][lastUpdatedStamp,2008-07-07
> 13:28:33.0(java.sql.Timestamp)][lastUpdatedTxStamp,2008-07-07
>
> 13:28:33.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,el(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
> sendBcc=null} Exception: com.sun.mail.smtp.SMTPSendFailedException
> Message: 530 5.7.0 Must issue a STARTTLS command first.
> c24sm9404593ika.4 ---- stack trace
> ---------------------------------------------------------------
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a
> STARTTLS command first. c24sm9404593ika.4
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
> com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:236)
> 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:597)
>
> 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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> --------------------------------------------------------------------------------
> 2008-07-09 00:11:24,843 (http-0.0.0.0-8443-Processor8) [
> ServiceDispatcher.java:419:ERROR] Service Error [sendMail]: Cannot
> send email message to [[hidden email]] from
> [[hidden email]] cc [[hidden email]] bcc [null] subject
> [Confirmation ! ]
> 2008-07-09 00:11:24,847 (http-0.0.0.0-8443-Processor8) [
> TransactionUtil.java:255:ERROR] ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback] Exception: java.lang.Exception Message:
> Stack Trace ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
>
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
>
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:423)
> 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.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> --------------------------------------------------------------------------------
> 2008-07-09 00:11:24,894 (http-0.0.0.0-8443-Processor8) [
> TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
> rolled back
> 2008-07-09 00:11:24,896 (http-0.0.0.0-8443-Processor8) [
> ServiceDispatcher.java:467:DEBUG] Sync service [order/sendMail]
> finished in [268] milliseconds
> 2008-07-09 00:11:24,898 (http-0.0.0.0-8443-Processor8) [
> RequestHandler.java:305:ERROR] Request sendconfirmationmail caused an
> error with the following message: Cannot send email message to
> [[hidden email]] from [[hidden email]] cc
> [[hidden email]] bcc [null] subject [Confirmation ! ]
> 2008-07-09 00:11:24,903 (http-0.0.0.0-8443-Processor8) [
> RequestHandler.java:425:INFO ] [RequestHandler
>



--
With regards,
S K Pradeep kumar