You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jed Glazner <jg...@coldcrow.com> on 2009/06/05 05:40:37 UTC

Need Help with Mailing Lists

Hello,

I'm using OfBiz 9.04 and trying to get the mail lists to work, but not
having much success.

Here is what i've tried:

I create a contact list with the following options:

list type id = Newsletter
is public = Y
Concatc Mech Type Id = Email Address
Marketing Campaing Id = Events

I click Save.

I add a single party to the new contact list, selecting the default contact
mech id as the primary email address, and set the status to Accepted.

Next I create a communication event.  I expand the advanced features, and
set the following:

comm event type id = Email
party from = admin
status = Entered
>From Conact Mech = admin -- this is the defualt ofbiz@yahoo.com address...
Contact List Id = 10001 (pre populated for me)

Now I set the subject, mime type id = text/html, and add some content.  Then
I click save.

Once it's saved it keeps me editing the existing event, and in the advanced
options I see only 3 options:

set pending (entered)
complete (entered)
cancel (entered)

I never receive an email, the log only shows that the service
createCommunicationEvent was a success.  Form there I set the status to set
pending.  Now after it saves I can see the "Set In Progress" option
mentioned in the tips and tricks article referenced several places on the
web:

http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-SendingMailsToContactLists

However when I set it to "Set In Progress (Pending)" Nothign happens, No
emails are sent, no warnings, errors nothing. Nothign shows up in the job
list as a service queued or anything, So what am I missing?  I'm proably
missing somethign stupid (always seems to be that way) but i've gone round
and round with this thing and I can't figure out what I could be missing.

If it helps here is the results from my log:


2009-06-04 21:36:23,856 (http-0.0.0.0-8443-2) [
ControlServlet.java:130:INFO ] [[[updateContactListCommEvent] Request Begun,
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2009-06-04 21:36:23,867 (http-0.0.0.0-8443-2) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.0010s, 17 requests, 13
views in
file:/var/www/copware/framework/common/webcommon/WEB-INF/common-controller.xml
2009-06-04 21:36:23,868 (http-0.0.0.0-8443-2) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.0060s, 102 requests, 55
views in jndi:/0.0.0.0/marketing/WEB-INF/controller.xml
2009-06-04 21:36:23,876 (http-0.0.0.0-8443-2) [
Log.java:110:INFO ]
[CommunicationEventServices.xml#updateCommunicationEvent] ====Udating
communication event:  with subject:
2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
RequestHandler.java:588:INFO ] Ran Event [service:#updateCommunicationEvent]
from [request], result is [success]
2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
RequestHandler.java:692:INFO ] Rendering View [EditContactListCommEvent],
sessionId=BB10334EF95FBA69A1D603781FF4BB4E.jvm1
2009-06-04 21:36:23,902 (http-0.0.0.0-8443-2) [
ScreenFactory.java:129:INFO ] Got 12 screens in 0.019s from:
file:/var/www/copware/applications/marketing/widget/ContactListScreens.xml
2009-06-04 21:36:23,920 (http-0.0.0.0-8443-2) [
ScreenFactory.java:129:INFO ] Got 3 screens in 0.0060s from:
file:/var/www/copware/applications/marketing/widget/CommonScreens.xml
2009-06-04 21:36:23,931 (http-0.0.0.0-8443-2) [
ScreenFactory.java:129:INFO ] Got 1 screens in 0.0080s from:
file:/var/www/copware/applications/commonext/widget/CommonScreens.xml
2009-06-04 21:36:23,958 (http-0.0.0.0-8443-2) [
ScreenFactory.java:129:INFO ] Got 22 screens in 0.0090s from:
file:/var/www/copware/framework/common/widget/CommonScreens.xml
2009-06-04 21:36:24,058 (http-0.0.0.0-8443-2) [
ControlServlet.java:299:INFO ] [[[updateContactListCommEvent] Request Done-
total:0.201,since last([updateContactLis...):0.201]]

Any Ideas?  Thanks!

Re: Need Help with Mailing Lists

Posted by Asgaut Mjølne <as...@bouvet.no>.
Hello,

Did you ever solve this? I have the exact same problem.

Regards,

Asgaut Mjølne



Jed Glazner-2 wrote:
> 
> Hello,
> 
> I'm using OfBiz 9.04 and trying to get the mail lists to work, but not
> having much success.
> 
> Here is what i've tried:
> 
> I create a contact list with the following options:
> 
> list type id = Newsletter
> is public = Y
> Concatc Mech Type Id = Email Address
> Marketing Campaing Id = Events
> 
> I click Save.
> 
> I add a single party to the new contact list, selecting the default
> contact
> mech id as the primary email address, and set the status to Accepted.
> 
> Next I create a communication event.  I expand the advanced features, and
> set the following:
> 
> comm event type id = Email
> party from = admin
> status = Entered
> From Conact Mech = admin -- this is the defualt ofbiz@yahoo.com address...
> Contact List Id = 10001 (pre populated for me)
> 
> Now I set the subject, mime type id = text/html, and add some content. 
> Then
> I click save.
> 
> Once it's saved it keeps me editing the existing event, and in the
> advanced
> options I see only 3 options:
> 
> set pending (entered)
> complete (entered)
> cancel (entered)
> 
> I never receive an email, the log only shows that the service
> createCommunicationEvent was a success.  Form there I set the status to
> set
> pending.  Now after it saves I can see the "Set In Progress" option
> mentioned in the tips and tricks article referenced several places on the
> web:
> 
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-SendingMailsToContactLists
> 
> However when I set it to "Set In Progress (Pending)" Nothign happens, No
> emails are sent, no warnings, errors nothing. Nothign shows up in the job
> list as a service queued or anything, So what am I missing?  I'm proably
> missing somethign stupid (always seems to be that way) but i've gone round
> and round with this thing and I can't figure out what I could be missing.
> 
> If it helps here is the results from my log:
> 
> 
> 2009-06-04 21:36:23,856 (http-0.0.0.0-8443-2) [
> ControlServlet.java:130:INFO ] [[[updateContactListCommEvent] Request
> Begun,
> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2009-06-04 21:36:23,867 (http-0.0.0.0-8443-2) [
> ConfigXMLReader.java:118:INFO ] controller loaded: 0.0010s, 17 requests,
> 13
> views in
> file:/var/www/copware/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-06-04 21:36:23,868 (http-0.0.0.0-8443-2) [
> ConfigXMLReader.java:118:INFO ] controller loaded: 0.0060s, 102 requests,
> 55
> views in jndi:/0.0.0.0/marketing/WEB-INF/controller.xml
> 2009-06-04 21:36:23,876 (http-0.0.0.0-8443-2) [
> Log.java:110:INFO ]
> [CommunicationEventServices.xml#updateCommunicationEvent] ====Udating
> communication event:  with subject:
> 2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
> RequestHandler.java:588:INFO ] Ran Event
> [service:#updateCommunicationEvent]
> from [request], result is [success]
> 2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
> RequestHandler.java:692:INFO ] Rendering View [EditContactListCommEvent],
> sessionId=BB10334EF95FBA69A1D603781FF4BB4E.jvm1
> 2009-06-04 21:36:23,902 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 12 screens in 0.019s from:
> file:/var/www/copware/applications/marketing/widget/ContactListScreens.xml
> 2009-06-04 21:36:23,920 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 3 screens in 0.0060s from:
> file:/var/www/copware/applications/marketing/widget/CommonScreens.xml
> 2009-06-04 21:36:23,931 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 1 screens in 0.0080s from:
> file:/var/www/copware/applications/commonext/widget/CommonScreens.xml
> 2009-06-04 21:36:23,958 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 22 screens in 0.0090s from:
> file:/var/www/copware/framework/common/widget/CommonScreens.xml
> 2009-06-04 21:36:24,058 (http-0.0.0.0-8443-2) [
> ControlServlet.java:299:INFO ] [[[updateContactListCommEvent] Request
> Done-
> total:0.201,since last([updateContactLis...):0.201]]
> 
> Any Ideas?  Thanks!
> 
> 

-- 
View this message in context: http://www.nabble.com/Need-Help-with-Mailing-Lists-tp23881828p25151116.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Need Help with Mailing Lists

Posted by Jed Glazner <jg...@coldcrow.com>.
Hi Tim,

Thanks for the response, I double checked the general.properties, and then
registered as a new user, and I did receive the welcome e-mail.  However, I
still do not receive anything from he contact lists.  I turned on verbose
logging tried to send another message to the list.  Attached is the relevent
logs messages associated with creating and updating the communication
event.  I did see 2 odd messages at the beginning when creating the
communication event (lines 12 and 13 in the log) but I don't think that is
causing it to fail or not.  There are no errors of any kind.

Any Ideas?

Jed.


On Thu, Jun 4, 2009 at 9:48 PM, Tim Ruppert <ti...@hotwaxmedia.com>wrote:

> Jed - are you getting any of the other emails the system generates?  Is
> there anything in the logs?
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
> ----- "Jed Glazner" <jg...@coldcrow.com> wrote:
>
> > Hello,
> >
> > I'm using OfBiz 9.04 and trying to get the mail lists to work, but
> > not
> > having much success.
> >
> > Here is what i've tried:
> >
> > I create a contact list with the following options:
> >
> > list type id = Newsletter
> > is public = Y
> > Concatc Mech Type Id = Email Address
> > Marketing Campaing Id = Events
> >
> > I click Save.
> >
> > I add a single party to the new contact list, selecting the default
> > contact
> > mech id as the primary email address, and set the status to Accepted.
> >
> > Next I create a communication event.  I expand the advanced features,
> > and
> > set the following:
> >
> > comm event type id = Email
> > party from = admin
> > status = Entered
> > From Conact Mech = admin -- this is the defualt ofbiz@yahoo.com
> > address...
> > Contact List Id = 10001 (pre populated for me)
> >
> > Now I set the subject, mime type id = text/html, and add some content.
> >  Then
> > I click save.
> >
> > Once it's saved it keeps me editing the existing event, and in the
> > advanced
> > options I see only 3 options:
> >
> > set pending (entered)
> > complete (entered)
> > cancel (entered)
> >
> > I never receive an email, the log only shows that the service
> > createCommunicationEvent was a success.  Form there I set the status
> > to set
> > pending.  Now after it saves I can see the "Set In Progress" option
> > mentioned in the tips and tricks article referenced several places on
> > the
> > web:
> >
> >
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-SendingMailsToContactLists
> >
> > However when I set it to "Set In Progress (Pending)" Nothign happens,
> > No
> > emails are sent, no warnings, errors nothing. Nothign shows up in the
> > job
> > list as a service queued or anything, So what am I missing?  I'm
> > proably
> > missing somethign stupid (always seems to be that way) but i've gone
> > round
> > and round with this thing and I can't figure out what I could be
> > missing.
> >
> > If it helps here is the results from my log:
> >
> >
> > 2009-06-04 21:36:23,856 (http-0.0.0.0-8443-2) [
> > ControlServlet.java:130:INFO ] [[[updateContactListCommEvent] Request
> > Begun,
> > encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> > 2009-06-04 21:36:23,867 (http-0.0.0.0-8443-2) [
> > ConfigXMLReader.java:118:INFO ] controller loaded: 0.0010s, 17
> > requests, 13
> > views in
> >
> file:/var/www/copware/framework/common/webcommon/WEB-INF/common-controller.xml
> > 2009-06-04 21:36:23,868 (http-0.0.0.0-8443-2) [
> > ConfigXMLReader.java:118:INFO ] controller loaded: 0.0060s, 102
> > requests, 55
> > views in jndi:/0.0.0.0/marketing/WEB-INF/controller.xml
> > 2009-06-04 21:36:23,876 (http-0.0.0.0-8443-2) [
> > Log.java:110:INFO ]
> > [CommunicationEventServices.xml#updateCommunicationEvent] ====Udating
> > communication event:  with subject:
> > 2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
> > RequestHandler.java:588:INFO ] Ran Event
> > [service:#updateCommunicationEvent]
> > from [request], result is [success]
> > 2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
> > RequestHandler.java:692:INFO ] Rendering View
> > [EditContactListCommEvent],
> > sessionId=BB10334EF95FBA69A1D603781FF4BB4E.jvm1
> > 2009-06-04 21:36:23,902 (http-0.0.0.0-8443-2) [
> > ScreenFactory.java:129:INFO ] Got 12 screens in 0.019s from:
> >
> file:/var/www/copware/applications/marketing/widget/ContactListScreens.xml
> > 2009-06-04 21:36:23,920 (http-0.0.0.0-8443-2) [
> > ScreenFactory.java:129:INFO ] Got 3 screens in 0.0060s from:
> > file:/var/www/copware/applications/marketing/widget/CommonScreens.xml
> > 2009-06-04 21:36:23,931 (http-0.0.0.0-8443-2) [
> > ScreenFactory.java:129:INFO ] Got 1 screens in 0.0080s from:
> > file:/var/www/copware/applications/commonext/widget/CommonScreens.xml
> > 2009-06-04 21:36:23,958 (http-0.0.0.0-8443-2) [
> > ScreenFactory.java:129:INFO ] Got 22 screens in 0.0090s from:
> > file:/var/www/copware/framework/common/widget/CommonScreens.xml
> > 2009-06-04 21:36:24,058 (http-0.0.0.0-8443-2) [
> > ControlServlet.java:299:INFO ] [[[updateContactListCommEvent] Request
> > Done-
> > total:0.201,since last([updateContactLis...):0.201]]
> >
> > Any Ideas?  Thanks!
>

Re: Need Help with Mailing Lists

Posted by Tim Ruppert <ti...@hotwaxmedia.com>.
Jed - are you getting any of the other emails the system generates?  Is there anything in the logs?

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

----- "Jed Glazner" <jg...@coldcrow.com> wrote:

> Hello,
> 
> I'm using OfBiz 9.04 and trying to get the mail lists to work, but
> not
> having much success.
> 
> Here is what i've tried:
> 
> I create a contact list with the following options:
> 
> list type id = Newsletter
> is public = Y
> Concatc Mech Type Id = Email Address
> Marketing Campaing Id = Events
> 
> I click Save.
> 
> I add a single party to the new contact list, selecting the default
> contact
> mech id as the primary email address, and set the status to Accepted.
> 
> Next I create a communication event.  I expand the advanced features,
> and
> set the following:
> 
> comm event type id = Email
> party from = admin
> status = Entered
> From Conact Mech = admin -- this is the defualt ofbiz@yahoo.com
> address...
> Contact List Id = 10001 (pre populated for me)
> 
> Now I set the subject, mime type id = text/html, and add some content.
>  Then
> I click save.
> 
> Once it's saved it keeps me editing the existing event, and in the
> advanced
> options I see only 3 options:
> 
> set pending (entered)
> complete (entered)
> cancel (entered)
> 
> I never receive an email, the log only shows that the service
> createCommunicationEvent was a success.  Form there I set the status
> to set
> pending.  Now after it saves I can see the "Set In Progress" option
> mentioned in the tips and tricks article referenced several places on
> the
> web:
> 
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-SendingMailsToContactLists
> 
> However when I set it to "Set In Progress (Pending)" Nothign happens,
> No
> emails are sent, no warnings, errors nothing. Nothign shows up in the
> job
> list as a service queued or anything, So what am I missing?  I'm
> proably
> missing somethign stupid (always seems to be that way) but i've gone
> round
> and round with this thing and I can't figure out what I could be
> missing.
> 
> If it helps here is the results from my log:
> 
> 
> 2009-06-04 21:36:23,856 (http-0.0.0.0-8443-2) [
> ControlServlet.java:130:INFO ] [[[updateContactListCommEvent] Request
> Begun,
> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2009-06-04 21:36:23,867 (http-0.0.0.0-8443-2) [
> ConfigXMLReader.java:118:INFO ] controller loaded: 0.0010s, 17
> requests, 13
> views in
> file:/var/www/copware/framework/common/webcommon/WEB-INF/common-controller.xml
> 2009-06-04 21:36:23,868 (http-0.0.0.0-8443-2) [
> ConfigXMLReader.java:118:INFO ] controller loaded: 0.0060s, 102
> requests, 55
> views in jndi:/0.0.0.0/marketing/WEB-INF/controller.xml
> 2009-06-04 21:36:23,876 (http-0.0.0.0-8443-2) [
> Log.java:110:INFO ]
> [CommunicationEventServices.xml#updateCommunicationEvent] ====Udating
> communication event:  with subject:
> 2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
> RequestHandler.java:588:INFO ] Ran Event
> [service:#updateCommunicationEvent]
> from [request], result is [success]
> 2009-06-04 21:36:23,881 (http-0.0.0.0-8443-2) [
> RequestHandler.java:692:INFO ] Rendering View
> [EditContactListCommEvent],
> sessionId=BB10334EF95FBA69A1D603781FF4BB4E.jvm1
> 2009-06-04 21:36:23,902 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 12 screens in 0.019s from:
> file:/var/www/copware/applications/marketing/widget/ContactListScreens.xml
> 2009-06-04 21:36:23,920 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 3 screens in 0.0060s from:
> file:/var/www/copware/applications/marketing/widget/CommonScreens.xml
> 2009-06-04 21:36:23,931 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 1 screens in 0.0080s from:
> file:/var/www/copware/applications/commonext/widget/CommonScreens.xml
> 2009-06-04 21:36:23,958 (http-0.0.0.0-8443-2) [
> ScreenFactory.java:129:INFO ] Got 22 screens in 0.0090s from:
> file:/var/www/copware/framework/common/widget/CommonScreens.xml
> 2009-06-04 21:36:24,058 (http-0.0.0.0-8443-2) [
> ControlServlet.java:299:INFO ] [[[updateContactListCommEvent] Request
> Done-
> total:0.201,since last([updateContactLis...):0.201]]
> 
> Any Ideas?  Thanks!