Re: About SendMailTransformer
Hi, I am having Windows 7 and I want to use it for http://ictect.com/aboutus/contact-us form. When I click on Submit button, it shows that error msg about port 25.. So I want if someone visited this page and wanted to cantact, he or she can fill the forn and after clicking on submit button that email has to be send to administrator. Thanks Hemangi In a Day, When u dont come across any PROBLEMS, u can be sure that u r traveling in a WRONG path... Swami Vivekananda From: Jasha Joachimsthal To: users@cocoon.apache.org Sent: Mon, April 4, 2011 4:33:42 AM Subject: Re: About SendMailTransformer On 4 April 2011 03:42, Hemangi Dua wrote: Hi Huib, >Thanks for replay, >Can you please tell me how to setup a mail server, like steps to do that or >files needed. > >Hemangi > > That depends on your operating system. If you only need to check if the emails are correct but not actually send them, there are several tools that fake an SMTP server. On my mac I use http://mac.softpedia.com/get/Internet-Utilities/FakeSMTP.shtml but if you have a different OS, you'll find more on Google. Jasha Joachimsthal j.joachimst...@onehippo.com - ja...@apache.org Hippo Europe • Amsterdam Oosteinde 11 • 1017 WT Amsterdam • +31 (0)20 522 4466 USA • San Francisco 755 Baywood Drive Second Floor • Petaluma CA 94954 • +1 877 414 4776 (toll free) Canada • Montréal 5369 Boulevard St-Laurent #430 • Montréal QC H2T 1S5 • +1 (514) 316 8966 www.onehippo.com • www.onehippo.org • i...@onehippo.com >In a Day, When u dont come across any PROBLEMS, u can be sure that u r traveling > >in a WRONG path... Swami Vivekananda > > > > > >- Original Message >From: Huib Verweij >To: users@cocoon.apache.org >Cc: Huib Verweij >Sent: Sat, April 2, 2011 12:47:32 AM >Subject: Re: About SendMailTransformer > >(reply to message in dev-list) > >Hi Hemangi, try setting up a mailserver on your machine, that will solve your >problem. Or you could configure another mailserver to have SendMailTransformer >connect to. > >Huib. > >Op 1 apr 2011, om 21:08 heeft Hemangi Dua het volgende geschreven: >> Initially website was hosted on hostjava.net server, now I am trying to run it > >> on my local machine. >> >> Now all pages, xslts and css are working fine, but when I fill contact-us form > >> and click on submit button, it shows an error "Could not connect to SMTP host: > >> localhost, port: 25" >> >> May be port 25 of hostjava(where website was hosted previously) was configure >> accordingly. >> >> As I am new to cocoon I am confuse between >> 1. Where to mail.jar and activation.jar file >> 2. I have more than WEB-INF/lib, so in which folder I have to add there jar > >> file. >> 3. How to configure port 25 >> > > >- >To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org >For additional commands, e-mail: users-h...@cocoon.apache.org > >- >To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org >For additional commands, e-mail: users-h...@cocoon.apache.org > >
Re: About SendMailTransformer
Hi Huib, Thanks for replay, Can you please tell me how to setup a mail server, like steps to do that or files needed. Hemangi In a Day, When u dont come across any PROBLEMS, u can be sure that u r traveling in a WRONG path... Swami Vivekananda - Original Message From: Huib Verweij To: users@cocoon.apache.org Cc: Huib Verweij Sent: Sat, April 2, 2011 12:47:32 AM Subject: Re: About SendMailTransformer (reply to message in dev-list) Hi Hemangi, try setting up a mailserver on your machine, that will solve your problem. Or you could configure another mailserver to have SendMailTransformer connect to. Huib. Op 1 apr 2011, om 21:08 heeft Hemangi Dua het volgende geschreven: > Initially website was hosted on hostjava.net server, now I am trying to run > it > on my local machine. > > Now all pages, xslts and css are working fine, but when I fill contact-us > form > and click on submit button, it shows an error "Could not connect to SMTP > host: > localhost, port: 25" > > May be port 25 of hostjava(where website was hosted previously) was configure > accordingly. > > As I am new to cocoon I am confuse between > 1. Where to mail.jar and activation.jar file > 2. I have more than WEB-INF/lib, so in which folder I have to add there >jar > file. > 3. How to configure port 25 > - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
About SendMailTransformer
Hi This is the first time I am working on cocoon. I am working on project which is already build bu someone else. They have used "SendMailTransformer" for "Contact-us" Initially website was hosted on hostjava.net server, now I am trying to run it on my local machine. Now all pages, xslts and css are working fine, but when I fill contact-us form and click on submit button, it shows an error "Could not connect to SMTP host: localhost, port: 25" May be port 25 of hostjava(where website was hosted previously) was configure accordingly. As I am new to cocoon I am confuse between 1. Where to mail.jar and activation.jar file 2. I have more than WEB-INF/lib, so in which folder I have to add there jar file. 3. How to configure port 25 I am using Tomcat as a server. So please let me know how can I solve this problem Thanks in advance Hemangi In a Day, When u dont come across any PROBLEMS, u can be sure that u r traveling in a WRONG path... Swami Vivekananda - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Calling servlet block from itself?
I have following code in sitemap, and what is "ServletService" < < To: users@cocoon.apache.org Cc: Huib Verweij Sent: Thu, March 31, 2011 9:07:28 AM Subject: Re: Calling servlet block from itself? Hi, try an absolute name: regards Thomas Am 31.03.2011 13:04, schrieb Huib Verweij: > Hi, > > I would like to call a servlet from within a servlet, e.g.: > > > value="servlet:db:/workspace/getSortOrders.xml"/> > > > from within the db-servlet itself. I realize this is somewhat like a > recursive >call and it could lead to unpleasant behavior. I also realize I have setup my >blocks incorrectly and probably need to create more blocks, pushing the code I >want to call to the basic 'bottom' block. But it would help for now if this is >possible :-). > > The above statement fails, so I tried to add: > > > > > > > to the servlet context for db: > > > > but then things fail to startup properly. > > So, it's not that I can't imagine why this is tricky, but on the other hand I >can see this might be useful. An alternative I see would be to use >a but unfortunately the code I'm trying to call is in a >different sitemap.xmap. Any suggestions are appreciated. > > Hartelijke groet, > > Huib. > > > > > -- > Drs. Huib Verweij > Senior software developer - The Language Archive > Max Planck Institute for Psycholinguistics > P.O. Box 310 > 6500 AH Nijmegen > The Netherlands > t +31-24-3521911 > e huib.ver...@mpi.nl > w http://www.mpi.nl/ > > > - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org map:transformername="sendmail"src="org.apache.cocoon.mail.transformation.SendMailTransformer">smtphost>localhostmap:transformer> - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Calling servlet block from itself?
I have following code in sitemap, and what is "ServletService" < < To: users@cocoon.apache.org Cc: Huib Verweij Sent: Thu, March 31, 2011 9:07:28 AM Subject: Re: Calling servlet block from itself? Hi, try an absolute name: regards Thomas Am 31.03.2011 13:04, schrieb Huib Verweij: > Hi, > > I would like to call a servlet from within a servlet, e.g.: > > > value="servlet:db:/workspace/getSortOrders.xml"/> > > > from within the db-servlet itself. I realize this is somewhat like a > recursive >call and it could lead to unpleasant behavior. I also realize I have setup my >blocks incorrectly and probably need to create more blocks, pushing the code I >want to call to the basic 'bottom' block. But it would help for now if this is >possible :-). > > The above statement fails, so I tried to add: > > > > > > > to the servlet context for db: > > > > but then things fail to startup properly. > > So, it's not that I can't imagine why this is tricky, but on the other hand I >can see this might be useful. An alternative I see would be to use >a but unfortunately the code I'm trying to call is in a >different sitemap.xmap. Any suggestions are appreciated. > > Hartelijke groet, > > Huib. > > > > > -- > Drs. Huib Verweij > Senior software developer - The Language Archive > Max Planck Institute for Psycholinguistics > P.O. Box 310 > 6500 AH Nijmegen > The Netherlands > t +31-24-3521911 > e huib.ver...@mpi.nl > w http://www.mpi.nl/ > > > - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org map:transformername="sendmail"src="org.apache.cocoon.mail.transformation.SendMailTransformer">smtphost>localhostmap:transformer> - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org