Hi Mischa,
You can use the sendmailtransfomer to send emails from cocoon. See [1] for
detailed information. It enables you to simply send an email from a
cocoon-pipeline by using the transformer. For example:
<map:match pattern="sendmyemail">
<map:generate src="myemail.xml"/>
<map:transform type="sendmail"/>
<map:serialize type="xml"/>
</map:match>
Furthermore I suppose you can use a DASL on the /users folder in the
repository to find the passwords and emailadresses of the user.
[1]
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/mail/transformation/SendMailTransformer.html
Kind regards,
Steven
On Mon, Mar 9, 2009 at 5:06 PM, Andriesse, Mischa <
[email protected]> wrote:
> Hi All,
>
> I am making a module to send somebody their password in case they have
> forgotten it. The user fills in their email address, and the system
> searches the repository for the address and mails it to the given
> address (if found). With cocoon, how can I find the address in the
> repository, and how do I mail it?
>
> Tia,
>
> drs. M S.P.(Mischa) Andriesse
> Consultant
>
> KPMG CT Information Technology B.V.
> Handelsregister 33294091
>
> Churchillplein 6
> 2517 JW Den Haag
>
> Tel +31 70 3382312
> Fax +31 70 3382177
> Mobile +31 6 26086836
>
> [email protected]
>
> ------------------------------------------------------------------------------
> The information in this e-mail (and any attachments) is intended
> exclusively for the addressee(s). Any use by a party other than the
> addressee(s) is prohibited. The information may be confidential in nature
> and fall under a duty of non-disclosure. If you are not the addressee,
> please notify the sender and delete this e-mail.
> KPMG cannot guarantee that e-mail communications are secure and error-free
> and does not accept any liability for damages resulting from the use of
> e-mail. Our services and other work are carried out under an agreement of
> instruction (overeenkomst van opdracht) that is subject to the general terms
> and conditions of the contracting KPMG firm. These general terms and
> conditions are available on our website (www.kpmg.nl/algemenevoorwaarden)
> and will be forwarded upon request.The statutory names of the KPMG-firms and
> the trade register numbers are also stated on our website, on the same page
> as the general terms.
>
> Agreements with and statements from KPMG are only legally binding upon KPMG
> if they are confirmed in writing and signed by an authorized person.
>
>
> ********************************************
> 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
>
>
********************************************
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