You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Heidi Dehaes <in...@gmail.com> on 2008/07/16 23:31:24 UTC

no emails sent

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

Re: no emails sent

Posted by BJ Freeman <bj...@free-man.net>.
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
> 
> 
> 



Re: no emails sent

Posted by BJ Freeman <bj...@free-man.net>.
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 <in...@gmail.com>:
>> 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 <bj...@free-man.net>:
>>> 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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
>>>> cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
>>>>> 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" <in...@gmail.com>
>>>>>> 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
>>>>>>
>>>>
>>>>
>>>
> 
> 
> 


Re: no emails sent

Posted by Heidi Dehaes <in...@gmail.com>.
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 <in...@gmail.com>:
> 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 <bj...@free-man.net>:
>> 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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
>> > cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
>> >> 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" <in...@gmail.com>
>> >>> 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
>> >>>
>> >>
>> >
>> >
>> >
>>
>>
>

Re: no emails sent

Posted by Heidi Dehaes <in...@gmail.com>.
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 <bj...@free-man.net>:
> 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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
> > cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
> >> 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" <in...@gmail.com>
> >>> 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
> >>>
> >>
> >
> >
> >
>
>

Re: no emails sent

Posted by BJ Freeman <bj...@free-man.net>.
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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
> cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
>> 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" <in...@gmail.com>
>>> 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
>>>
>>
> 
> 
> 


Re: no emails sent

Posted by BJ Freeman <bj...@free-man.net>.
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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
> cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
>> 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" <in...@gmail.com>
>>> 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
>>>
>>
> 
> 
> 


Re: no emails sent

Posted by Heidi Dehaes <in...@gmail.com>.
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 <ad...@hlmksw.com>:
> 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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
> > cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
> >
> > > 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" <in...@gmail.com>
> > >
> > > > 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
> > > >
> > > >
> > >
> > >
> >
> >
>

Re: no emails sent

Posted by Adrian Crum <ad...@hlmksw.com>.
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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
> cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
>> 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" <in...@gmail.com>
>>> 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
>>>
>>
> 

Re: no emails sent

Posted by BJ Freeman <bj...@free-man.net>.
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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
> cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
>> 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" <in...@gmail.com>
>>> 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
>>>
>>
> 
> 
> 


Re: no emails sent

Posted by Heidi Dehaes <in...@gmail.com>.
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 [info.olagos@gmail.com] from [info.olagos@gmail.com]
cc [null] bcc [null] subject [info.olagos@gmail.com] 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 <ja...@les7arts.com>:
> 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" <in...@gmail.com>
>>
>> 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
>>
>
>

Re: no emails sent

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <in...@gmail.com>
> 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
>