On your local machine, use the same SMTP server as you use for your own mail
client (probably Outlook).
See http://cocoon.apache.org/2.2/blocks/mail/1.0/1099_1_1.html how to tell
the sendmail transformer which smtp server to use. If you change any
configuration for this transformer, you have to restart Cocoon to apply
them.

For your production server, ask your system administrator which smtp server
to use.

Regards,

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


On 4 April 2011 15:06, Hemangi Dua <hemangi....@ictect.com> wrote:

>  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 <j.joachimst...@onehippo.com>
>
> *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 <hemangi....@ictect.com> 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 <h...@home.nl>
>> To: users@cocoon.apache.org
>> Cc: Huib Verweij <h...@home.nl>
>> 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
>>
>>
>

Reply via email to