Hello,
When i try to send a email from the "tell-a-friend" popup screen, i get this message and no email is sended: 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ ServiceDispatcher.java:396:ERROR] ---- exception report ---------------------------------------------------------- Service [sendMailFromScreen] threw an unexpected exception/error Exception: org.ofbiz.service.GenericServiceException Message: Service target threw an unexpected exception (Error in screen location/name: no "#" found to separate the location from the name; correct example: component://product/screen/product/ProductScreens.xml#EditProduct) can someone help me to search for a solution? Is it a common known error in the ofbizrelease 4 version? thanks, Heidi |
this is common if you don't have the demo data loaded or you have not
put in the data manually start here https://localhost:8443/catalog/control/FindProductStore then click on your store( I will use the demo store) https://localhost:8443/catalog/control/EditProductStore?productStoreId=9000 across the top you will see menu with email click on it https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 you should see tell-A-Friend. if you don't see it go to applications\ecommerce\data and open the DemoProduct.xml in a text editor search for PRDS_TELL_FRIEND go to the web tools and import that line then it should work. Heidi Dehaes sent the following on 7/16/2008 2:31 PM: > Hello, > > When i try to send a email from the "tell-a-friend" popup screen, i > get this message and no email is sended: > > 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ > ServiceDispatcher.java:396:ERROR] ---- exception report > ---------------------------------------------------------- Service > [sendMailFromScreen] threw an unexpected exception/error Exception: > org.ofbiz.service.GenericServiceException Message: Service target > threw an unexpected exception (Error in screen location/name: no "#" > found to separate the location from the name; correct example: > component://product/screen/product/ProductScreens.xml#EditProduct) > > can someone help me to search for a solution? > Is it a common known error in the ofbizrelease 4 version? > > thanks, > Heidi > > > |
Administrator
|
In reply to this post by Heidi Dehaes - Olagos
At least you should add a "Tell-A-Friend" email type in
https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 From the top of my head, not sure it's enough though. Jacques From: "Heidi Dehaes" <[hidden email]> > Hello, > > When i try to send a email from the "tell-a-friend" popup screen, i > get this message and no email is sended: > > 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ > ServiceDispatcher.java:396:ERROR] ---- exception report > ---------------------------------------------------------- Service > [sendMailFromScreen] threw an unexpected exception/error Exception: > org.ofbiz.service.GenericServiceException Message: Service target > threw an unexpected exception (Error in screen location/name: no "#" > found to separate the location from the name; correct example: > component://product/screen/product/ProductScreens.xml#EditProduct) > > can someone help me to search for a solution? > Is it a common known error in the ofbizrelease 4 version? > > thanks, > Heidi > |
Thanks for all information.
It is already better with defining the email in the store. but is there a JavaMail specialist. I got still this error. And i modified the emailservices.java file to use the gmail mailprovider. I used the trunk version to modify the release 4 version a little bit with new parameters for SSL. 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ EmailServices.java:240:ERROR] ---- exception report ---------------------------------------------------------- Cannot send email message to [[hidden email]] from [[hidden email]] cc [null] bcc [null] subject [[hidden email]] Exception: com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace --------------------------------------------------------------- com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. i30sm3772757ugd.43 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.content.email.EmailServices.sendMailFromScreen regards, Heidi 2008/7/17 Jacques Le Roux <[hidden email]>: > At least you should add a "Tell-A-Friend" email type in > https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 > From the top of my head, not sure it's enough though. > > Jacques > > From: "Heidi Dehaes" <[hidden email]> >> >> Hello, >> >> When i try to send a email from the "tell-a-friend" popup screen, i >> get this message and no email is sended: >> >> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >> ServiceDispatcher.java:396:ERROR] ---- exception report >> ---------------------------------------------------------- Service >> [sendMailFromScreen] threw an unexpected exception/error Exception: >> org.ofbiz.service.GenericServiceException Message: Service target >> threw an unexpected exception (Error in screen location/name: no "#" >> found to separate the location from the name; correct example: >> component://product/screen/product/ProductScreens.xml#EditProduct) >> >> can someone help me to search for a solution? >> Is it a common known error in the ofbizrelease 4 version? >> >> thanks, >> Heidi >> > > |
not an expert :)
did a google on com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS saw you email on nabble found this http://forums.sun.com/thread.jspa?threadID=617974&tstart=-1 Heidi Dehaes sent the following on 7/17/2008 2:56 PM: > Thanks for all information. > It is already better with defining the email in the store. > > but is there a JavaMail specialist. I got still this error. And i > modified the emailservices.java file to use the gmail mailprovider. I > used the trunk version to modify the release 4 version a little bit > with new parameters for SSL. > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ > EmailServices.java:240:ERROR] ---- exception report > ---------------------------------------------------------- Cannot send > email message to [[hidden email]] from [[hidden email]] > cc [null] bcc [null] subject [[hidden email]] Exception: > com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace > --------------------------------------------------------------- > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a > STARTTLS command first. i30sm3772757ugd.43 > 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.content.email.EmailServices.sendMailFromScreen > > > regards, > Heidi > > > > > 2008/7/17 Jacques Le Roux <[hidden email]>: >> At least you should add a "Tell-A-Friend" email type in >> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 >> From the top of my head, not sure it's enough though. >> >> Jacques >> >> From: "Heidi Dehaes" <[hidden email]> >>> Hello, >>> >>> When i try to send a email from the "tell-a-friend" popup screen, i >>> get this message and no email is sended: >>> >>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >>> ServiceDispatcher.java:396:ERROR] ---- exception report >>> ---------------------------------------------------------- Service >>> [sendMailFromScreen] threw an unexpected exception/error Exception: >>> org.ofbiz.service.GenericServiceException Message: Service target >>> threw an unexpected exception (Error in screen location/name: no "#" >>> found to separate the location from the name; correct example: >>> component://product/screen/product/ProductScreens.xml#EditProduct) >>> >>> can someone help me to search for a solution? >>> Is it a common known error in the ofbizrelease 4 version? >>> >>> thanks, >>> Heidi >>> >> > > > |
In reply to this post by Heidi Dehaes - Olagos
as a side note:
look at using the Apache James mail server. been using it for a few years now. Heidi Dehaes sent the following on 7/17/2008 2:56 PM: > Thanks for all information. > It is already better with defining the email in the store. > > but is there a JavaMail specialist. I got still this error. And i > modified the emailservices.java file to use the gmail mailprovider. I > used the trunk version to modify the release 4 version a little bit > with new parameters for SSL. > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ > EmailServices.java:240:ERROR] ---- exception report > ---------------------------------------------------------- Cannot send > email message to [[hidden email]] from [[hidden email]] > cc [null] bcc [null] subject [[hidden email]] Exception: > com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace > --------------------------------------------------------------- > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a > STARTTLS command first. i30sm3772757ugd.43 > 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.content.email.EmailServices.sendMailFromScreen > > > regards, > Heidi > > > > > 2008/7/17 Jacques Le Roux <[hidden email]>: >> At least you should add a "Tell-A-Friend" email type in >> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 >> From the top of my head, not sure it's enough though. >> >> Jacques >> >> From: "Heidi Dehaes" <[hidden email]> >>> Hello, >>> >>> When i try to send a email from the "tell-a-friend" popup screen, i >>> get this message and no email is sended: >>> >>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >>> ServiceDispatcher.java:396:ERROR] ---- exception report >>> ---------------------------------------------------------- Service >>> [sendMailFromScreen] threw an unexpected exception/error Exception: >>> org.ofbiz.service.GenericServiceException Message: Service target >>> threw an unexpected exception (Error in screen location/name: no "#" >>> found to separate the location from the name; correct example: >>> component://product/screen/product/ProductScreens.xml#EditProduct) >>> >>> can someone help me to search for a solution? >>> Is it a common known error in the ofbizrelease 4 version? >>> >>> thanks, >>> Heidi >>> >> > > > |
In reply to this post by Heidi Dehaes - Olagos
also if you want to put you modes for ver4.0 somewhere
link them to http://docs.ofbiz.org/display/OFBIZ/email+%28java+mail+and+Communications+Events%29 Heidi Dehaes sent the following on 7/17/2008 2:56 PM: > Thanks for all information. > It is already better with defining the email in the store. > > but is there a JavaMail specialist. I got still this error. And i > modified the emailservices.java file to use the gmail mailprovider. I > used the trunk version to modify the release 4 version a little bit > with new parameters for SSL. > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ > EmailServices.java:240:ERROR] ---- exception report > ---------------------------------------------------------- Cannot send > email message to [[hidden email]] from [[hidden email]] > cc [null] bcc [null] subject [[hidden email]] Exception: > com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace > --------------------------------------------------------------- > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a > STARTTLS command first. i30sm3772757ugd.43 > 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.content.email.EmailServices.sendMailFromScreen > > > regards, > Heidi > > > > > 2008/7/17 Jacques Le Roux <[hidden email]>: >> At least you should add a "Tell-A-Friend" email type in >> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 >> From the top of my head, not sure it's enough though. >> >> Jacques >> >> From: "Heidi Dehaes" <[hidden email]> >>> Hello, >>> >>> When i try to send a email from the "tell-a-friend" popup screen, i >>> get this message and no email is sended: >>> >>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >>> ServiceDispatcher.java:396:ERROR] ---- exception report >>> ---------------------------------------------------------- Service >>> [sendMailFromScreen] threw an unexpected exception/error Exception: >>> org.ofbiz.service.GenericServiceException Message: Service target >>> threw an unexpected exception (Error in screen location/name: no "#" >>> found to separate the location from the name; correct example: >>> component://product/screen/product/ProductScreens.xml#EditProduct) >>> >>> can someone help me to search for a solution? >>> Is it a common known error in the ofbizrelease 4 version? >>> >>> thanks, >>> Heidi >>> >> > > > |
In reply to this post by Heidi Dehaes - Olagos
Heidi,
The commit log shows three commits were required to implement gmail. Did you get all of those changes ported over to Release 4? -Adrian Heidi Dehaes wrote: > Thanks for all information. > It is already better with defining the email in the store. > > but is there a JavaMail specialist. I got still this error. And i > modified the emailservices.java file to use the gmail mailprovider. I > used the trunk version to modify the release 4 version a little bit > with new parameters for SSL. > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ > EmailServices.java:240:ERROR] ---- exception report > ---------------------------------------------------------- Cannot send > email message to [[hidden email]] from [[hidden email]] > cc [null] bcc [null] subject [[hidden email]] Exception: > com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace > --------------------------------------------------------------- > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a > STARTTLS command first. i30sm3772757ugd.43 > 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.content.email.EmailServices.sendMailFromScreen > > > regards, > Heidi > > > > > 2008/7/17 Jacques Le Roux <[hidden email]>: >> At least you should add a "Tell-A-Friend" email type in >> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 >> From the top of my head, not sure it's enough though. >> >> Jacques >> >> From: "Heidi Dehaes" <[hidden email]> >>> Hello, >>> >>> When i try to send a email from the "tell-a-friend" popup screen, i >>> get this message and no email is sended: >>> >>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >>> ServiceDispatcher.java:396:ERROR] ---- exception report >>> ---------------------------------------------------------- Service >>> [sendMailFromScreen] threw an unexpected exception/error Exception: >>> org.ofbiz.service.GenericServiceException Message: Service target >>> threw an unexpected exception (Error in screen location/name: no "#" >>> found to separate the location from the name; correct example: >>> component://product/screen/product/ProductScreens.xml#EditProduct) >>> >>> can someone help me to search for a solution? >>> Is it a common known error in the ofbizrelease 4 version? >>> >>> thanks, >>> Heidi >>> >> > |
What are these three commits?
I modified only the emailservices.java file. Perhaps i have also to modify the smtp......java file. thanks for the info, Heidi 2008/7/18, Adrian Crum <[hidden email]>: > Heidi, > > The commit log shows three commits were required to implement gmail. Did you > get all of those changes ported over to Release 4? > > -Adrian > > > Heidi Dehaes wrote: > > Thanks for all information. > > It is already better with defining the email in the store. > > > > but is there a JavaMail specialist. I got still this error. And i > > modified the emailservices.java file to use the gmail mailprovider. I > > used the trunk version to modify the release 4 version a little bit > > with new parameters for SSL. > > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ > > EmailServices.java:240:ERROR] ---- exception report > > > ---------------------------------------------------------- > Cannot send > > email message to [[hidden email]] from [[hidden email]] > > cc [null] bcc [null] subject [[hidden email]] Exception: > > com.sun.mail.smtp.SMTPSendFailedException Message: 530 > 5.7.0 Must > > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace > > > --------------------------------------------------------------- > > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must > issue a > > STARTTLS command first. i30sm3772757ugd.43 > > > 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.content.email.EmailServices.sendMailFromScreen > > > > > > regards, > > Heidi > > > > > > > > > > 2008/7/17 Jacques Le Roux <[hidden email]>: > > > > > At least you should add a "Tell-A-Friend" email type in > > > > https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 > > > From the top of my head, not sure it's enough though. > > > > > > Jacques > > > > > > From: "Heidi Dehaes" <[hidden email]> > > > > > > > Hello, > > > > > > > > When i try to send a email from the "tell-a-friend" popup screen, i > > > > get this message and no email is sended: > > > > > > > > 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ > > > > ServiceDispatcher.java:396:ERROR] ---- exception > report > > > > > ---------------------------------------------------------- > Service > > > > [sendMailFromScreen] threw an unexpected exception/error Exception: > > > > org.ofbiz.service.GenericServiceException Message: > Service target > > > > threw an unexpected exception (Error in screen location/name: no "#" > > > > found to separate the location from the name; correct example: > > > > > component://product/screen/product/ProductScreens.xml#EditProduct) > > > > > > > > can someone help me to search for a solution? > > > > Is it a common known error in the ofbizrelease 4 version? > > > > > > > > thanks, > > > > Heidi > > > > > > > > > > > > > > > > > > > |
In reply to this post by BJ Freeman
That is very good information.
I used until now a mailserver , open source, but which had a lot of errors in the protocols and also in fact not useful. thanks, Heidi 2008/7/18, BJ Freeman <[hidden email]>: > as a side note: > look at using the Apache James mail server. > been using it for a few years now. > > Heidi Dehaes sent the following on 7/17/2008 2:56 PM: > > Thanks for all information. > > It is already better with defining the email in the store. > > > > but is there a JavaMail specialist. I got still this error. And i > > modified the emailservices.java file to use the gmail mailprovider. I > > used the trunk version to modify the release 4 version a little bit > > with new parameters for SSL. > > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ > > EmailServices.java:240:ERROR] ---- exception report > > ---------------------------------------------------------- Cannot send > > email message to [[hidden email]] from [[hidden email]] > > cc [null] bcc [null] subject [[hidden email]] Exception: > > com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must > > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace > > --------------------------------------------------------------- > > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a > > STARTTLS command first. i30sm3772757ugd.43 > > 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.content.email.EmailServices.sendMailFromScreen > > > > > > regards, > > Heidi > > > > > > > > > > 2008/7/17 Jacques Le Roux <[hidden email]>: > >> At least you should add a "Tell-A-Friend" email type in > >> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 > >> From the top of my head, not sure it's enough though. > >> > >> Jacques > >> > >> From: "Heidi Dehaes" <[hidden email]> > >>> Hello, > >>> > >>> When i try to send a email from the "tell-a-friend" popup screen, i > >>> get this message and no email is sended: > >>> > >>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ > >>> ServiceDispatcher.java:396:ERROR] ---- exception report > >>> ---------------------------------------------------------- Service > >>> [sendMailFromScreen] threw an unexpected exception/error Exception: > >>> org.ofbiz.service.GenericServiceException Message: Service target > >>> threw an unexpected exception (Error in screen location/name: no "#" > >>> found to separate the location from the name; correct example: > >>> component://product/screen/product/ProductScreens.xml#EditProduct) > >>> > >>> can someone help me to search for a solution? > >>> Is it a common known error in the ofbizrelease 4 version? > >>> > >>> thanks, > >>> Heidi > >>> > >> > > > > > > > > |
My email functions now.
I had to do a "ant clean" before doing a "ant" in order to compile my java files. I had to change the emailservices.java file a little bit in order to connect via SSL to gmail provider. regards, Heidi 2008/7/18 Heidi Dehaes <[hidden email]>: > That is very good information. > > I used until now a mailserver , open source, but which had a lot of > errors in the protocols and also in fact not useful. > > thanks, > Heidi > > 2008/7/18, BJ Freeman <[hidden email]>: >> as a side note: >> look at using the Apache James mail server. >> been using it for a few years now. >> >> Heidi Dehaes sent the following on 7/17/2008 2:56 PM: >> > Thanks for all information. >> > It is already better with defining the email in the store. >> > >> > but is there a JavaMail specialist. I got still this error. And i >> > modified the emailservices.java file to use the gmail mailprovider. I >> > used the trunk version to modify the release 4 version a little bit >> > with new parameters for SSL. >> > 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ >> > EmailServices.java:240:ERROR] ---- exception report >> > ---------------------------------------------------------- Cannot send >> > email message to [[hidden email]] from [[hidden email]] >> > cc [null] bcc [null] subject [[hidden email]] Exception: >> > com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must >> > issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace >> > --------------------------------------------------------------- >> > com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a >> > STARTTLS command first. i30sm3772757ugd.43 >> > 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.content.email.EmailServices.sendMailFromScreen >> > >> > >> > regards, >> > Heidi >> > >> > >> > >> > >> > 2008/7/17 Jacques Le Roux <[hidden email]>: >> >> At least you should add a "Tell-A-Friend" email type in >> >> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 >> >> From the top of my head, not sure it's enough though. >> >> >> >> Jacques >> >> >> >> From: "Heidi Dehaes" <[hidden email]> >> >>> Hello, >> >>> >> >>> When i try to send a email from the "tell-a-friend" popup screen, i >> >>> get this message and no email is sended: >> >>> >> >>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >> >>> ServiceDispatcher.java:396:ERROR] ---- exception report >> >>> ---------------------------------------------------------- Service >> >>> [sendMailFromScreen] threw an unexpected exception/error Exception: >> >>> org.ofbiz.service.GenericServiceException Message: Service target >> >>> threw an unexpected exception (Error in screen location/name: no "#" >> >>> found to separate the location from the name; correct example: >> >>> component://product/screen/product/ProductScreens.xml#EditProduct) >> >>> >> >>> can someone help me to search for a solution? >> >>> Is it a common known error in the ofbizrelease 4 version? >> >>> >> >>> thanks, >> >>> Heidi >> >>> >> >> >> > >> > >> > >> >> > |
Congrats!!!
Heidi Dehaes sent the following on 7/20/2008 3:56 AM: > My email functions now. > I had to do a "ant clean" before doing a "ant" in order to compile my > java files. > > I had to change the emailservices.java file a little bit in order to > connect via SSL to gmail provider. > > regards, > Heidi > > 2008/7/18 Heidi Dehaes <[hidden email]>: >> That is very good information. >> >> I used until now a mailserver , open source, but which had a lot of >> errors in the protocols and also in fact not useful. >> >> thanks, >> Heidi >> >> 2008/7/18, BJ Freeman <[hidden email]>: >>> as a side note: >>> look at using the Apache James mail server. >>> been using it for a few years now. >>> >>> Heidi Dehaes sent the following on 7/17/2008 2:56 PM: >>>> Thanks for all information. >>>> It is already better with defining the email in the store. >>>> >>>> but is there a JavaMail specialist. I got still this error. And i >>>> modified the emailservices.java file to use the gmail mailprovider. I >>>> used the trunk version to modify the release 4 version a little bit >>>> with new parameters for SSL. >>>> 2008-07-17 23:49:19,898 (default-invoker-Thread-5) [ >>>> EmailServices.java:240:ERROR] ---- exception report >>>> ---------------------------------------------------------- Cannot send >>>> email message to [[hidden email]] from [[hidden email]] >>>> cc [null] bcc [null] subject [[hidden email]] Exception: >>>> com.sun.mail.smtp.SMTPSendFailedException Message: 530 5.7.0 Must >>>> issue a STARTTLS command first. i30sm3772757ugd.43 ---- stack trace >>>> --------------------------------------------------------------- >>>> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a >>>> STARTTLS command first. i30sm3772757ugd.43 >>>> 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.content.email.EmailServices.sendMailFromScreen >>>> >>>> >>>> regards, >>>> Heidi >>>> >>>> >>>> >>>> >>>> 2008/7/17 Jacques Le Roux <[hidden email]>: >>>>> At least you should add a "Tell-A-Friend" email type in >>>>> https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000 >>>>> From the top of my head, not sure it's enough though. >>>>> >>>>> Jacques >>>>> >>>>> From: "Heidi Dehaes" <[hidden email]> >>>>>> Hello, >>>>>> >>>>>> When i try to send a email from the "tell-a-friend" popup screen, i >>>>>> get this message and no email is sended: >>>>>> >>>>>> 2008-07-16 23:19:28,808 (default-invoker-Thread-228) [ >>>>>> ServiceDispatcher.java:396:ERROR] ---- exception report >>>>>> ---------------------------------------------------------- Service >>>>>> [sendMailFromScreen] threw an unexpected exception/error Exception: >>>>>> org.ofbiz.service.GenericServiceException Message: Service target >>>>>> threw an unexpected exception (Error in screen location/name: no "#" >>>>>> found to separate the location from the name; correct example: >>>>>> component://product/screen/product/ProductScreens.xml#EditProduct) >>>>>> >>>>>> can someone help me to search for a solution? >>>>>> Is it a common known error in the ofbizrelease 4 version? >>>>>> >>>>>> thanks, >>>>>> Heidi >>>>>> >>>> >>>> >>> > > > |
Free forum by Nabble | Edit this page |