Hello all,
I am really having troubles while trying to send email alert to my site
users and I am kindly asking for your help.
My form for visitor subscription contains only field for email. No groups,
no interests what so ever.
But, as I see in the hca-core code, I need several tables to have
information in order to collect subscribers for sending mails.
How can I perform the simplest mail sending?
Are there any steps for initializing database?
When I look at the logs I noticed message:
No enabled notifier subscribers found for notifier id: 6 and frequency 1
Could somebody tell me what tables should be filled, so I can insert data
through my code?
Another thing happens. When I make new notifier through CMS, I put only text
in templates (no freemarker calls yet). But, there is an exception in my
logs:
2008-09-18 12:28:00,892 INFO .services.impl.NotifierMailerServiceImpl
Finished new mailing for frequency type 1
2008-09-18 12:28:00,892 ERROR .services.impl.NotifierMailerServiceImpl
Unable to generate mails
freemarker.core.ParseException: Encountered "}" at line 5, column 28.
Was expecting one of:
"," ...
":" ...
"." ...
"[" ...
"(" ...
"?" ...
"!" ...
"??" ...
"+" ...
"-" ...
"*" ...
"/" ...
"%" ...
"!=" ...
"=" ...
"==" ...
">=" ...
<ESCAPED_GTE> ...
">" ...
<ESCAPED_GT> ...
<LESS_THAN_EQUALS> ...
<LESS_THAN> ...
".." ...
<AND> ...
<OR> ...
at
freemarker.core.FMParser.generateParseException(FMParser.java:5244)
at freemarker.core.FMParser.jj_consume_token(FMParser.java:5119)
at freemarker.core.FMParser.HashLiteral(FMParser.java:992)
at freemarker.core.FMParser.PrimaryExpression(FMParser.java:239)
at freemarker.core.FMParser.UnaryExpression(FMParser.java:319)
at
freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:435)
at freemarker.core.FMParser.AdditiveExpression(FMParser.java:385)
at freemarker.core.FMParser.RangeExpression(FMParser.java:556)
at freemarker.core.FMParser.RelationalExpression(FMParser.java:511)
at freemarker.core.FMParser.EqualityExpression(FMParser.java:476)
at freemarker.core.FMParser.AndExpression(FMParser.java:585)
at freemarker.core.FMParser.OrExpression(FMParser.java:608)
at freemarker.core.FMParser.Expression(FMParser.java:221)
at freemarker.core.FMParser.StringOutput(FMParser.java:1048)
at freemarker.core.FMParser.Content(FMParser.java:2531)
at freemarker.core.FMParser.OptionalBlock(FMParser.java:2742)
at freemarker.core.FMParser.Root(FMParser.java:2914)
at freemarker.template.Template.<init>(Template.java:149)
at
freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:376)
at
freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:347)
at
freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:229)
at
freemarker.template.Configuration.getTemplate(Configuration.java:487)
at
freemarker.template.Configuration.getTemplate(Configuration.java:452)
at
nl.hippo.hca.notifier.mailer.services.impl.NotifierMailerServiceImpl.generat
eMessageText(Unknown Source)
at
nl.hippo.hca.notifier.mailer.services.impl.NotifierMailerServiceImpl.checkNo
tifierTemplates(Unknown Source)
at
nl.hippo.hca.notifier.mailer.services.impl.NotifierMailerServiceImpl.process
Notifications(Unknown Source)
at
nl.hippo.hca.notifier.mailer.services.impl.NotifierMailerServiceImpl.process
NotificationsDirectly(Unknown Source)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
...
I don't have "}" sign in my templates.
Any help appreciated,
Biba
Met vriendelijke groet / Kind regards,
Biljana Boskovic
Software Developer/Service Support Manager
Levi9 Global Sourcing
===============================================================
Adress: Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.: (+31) (0) 20 6701 947
Mobile: (+381) (0) 64 8509 308
Email: [EMAIL PROTECTED]
SkypeID: b.jovanovic.b
Internet: www.levi9.com
Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you are
not (one of) the intended
recipient(s), please notify the sender immediately by reply e-mail and
delete this message and any
attachments permanently without retaining a copy. Any review, disclosure,
copying, distribution or
taking any action in reliance on the contents of this e-mail by persons or
entities other than the
intended recipient(s) is strictly prohibited and may be unlawful.
The services of Levi9 are exclusively subject to its general terms and
conditions. These general
terms and conditions can be found on www.levi9.com and a copy will be
promptly submitted to you on
your request and free of charge.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html