I applied patch with minor changes. I let you make tests.
Le 26/08/2012 21:49, Fernando Lagrange a écrit :
Hello Developers, this message to inform you that I submitted a patch on task #494: Send an email to foundation when a new member has auto-subscribed <https://doliforge.org/tracker/?func=detail&aid=494&atid=247&group_id=144> We use Dolibarr here, with public auto-subscription form activated (thanks for this nice new feature !). We wanted to receive an email each time a new member is created using this public form. Can you please include this new feature to future Dolibarr releases ? I tried to base my code on already existing mechanism for mail sent directly to member: This patch, attached to task in Doliforge, implements 2 new configuration parameters in Foundation module: ADHERENT_AUTOREGISTER_NOTIF_MAIL_SUBJECT and ADHERENT_AUTOREGISTER_NOTIF_MAIL Whenever these 2 parameters _and_ an email has been configured in company's info, a message is sent to company. More explanations on how to check and apply patch file can be found in Doliforge task. @+ _______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
-- Eldy (Laurent Destailleur). --------------------------------------------------------------- EMail: e...@destailleur.fr Web: http://www.destailleur.fr Dolibarr (Project leader): http://www.dolibarr.org To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr AWStats (Author) : http://awstats.sourceforge.net To make a donation for AWStats project via Paypal: cont...@destailleur.fr AWBot (Author) : http://awbot.sourceforge.net CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev