mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #02281
[Bug 537505] Re: Feature Request: Messages to other users should provide message text in email
The infrastructure for this is already in place. Mahara uses the
Variable Envelope Return Path (VERP) technique for it's bounced e-mail
catcher which validates a bounced mail and increases a bounce-count for
that user, eventually disabling e-mail for this user.
It should be possible to add a case to the switch in
lib/user.php->process_email() to catch the comment case relatively
easily. At the moment, the only case is B - bounce.
When sending the e-mail, passing a different address type (the default
is B) to generate_email_processing_address() will ensure that the
correct address is generated for the VERP handler. It will also be
necessary to modify this function to take the parameters you want --when
I wrote the VERP handling system, I didn't know what other kinds of
options may be wanted, and in what format so I left this out at the
time.
It should be relatively easy to set this address as the From address in
email_user() whilst retaining the bounce handler (Sender). Most mail
clients should send replies to the From address and a well-behaving MTA
should send the bounces to the Sender.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/537505
Title:
Feature Request: Messages to other users should provide message text in email
Status in Mahara ePortfolio:
Confirmed
Bug description:
Messages to other users should provide message text in email
References