PDA

View Full Version : Welcome Email upon account activation by member


Dimitrix
04-01-2004, 10:00 PM
What this hack does
This hack will send a welcome email (customizable through a template) after the member will activate their account with the activation link received in their email.

If you allow registration w/o further email activation, then this hack is NOT for you. It will not work.

This is something I wanted to add but did not find a hack that was out and worked for me, so I did it myself. I got the main idea from another hack which sent welcome email but it was for forums who did not have email verification setup.

This is my first hack, so if I did something out of the ordinary, sorry :)
Dimitry

Dimitrix
04-02-2004, 02:31 AM
Note
If you get vbmail error, then change the following line:

vbmail($email,$subject,$message);

to:

mail($email,$subject,$message,"From: YourForumName Forums Mailer <contact@email>\r\n");


Dimitry

gmarik
04-02-2004, 03:05 PM
This is fine, thank you!