Log in

View Full Version : Paid Subscriptions - Email Confirmation


MrEyes
04-06-2008, 03:33 PM
Does anybody know if it is possible to configure a paid subscription so that after subscription confirmation the user receives an email confirming everything is setup and ready to go?

kontrabass
07-23-2009, 08:46 PM
Make a new plugin, with hook location "paidsub_build".

For the title, enter anything.

For the code, enter:

vbmail_start();
$useremail = "$user[email]";
$subsubject = "TalkBass Subscription Processed";
$adminmessage = "Dear $user[username], \n\nThank you for your donation! ETC ETC ETC ETC ETC ETC";
vbmail($useremail, $subsubject, $adminmessage);
vbmail_end();

This will send an email out to the user upon completion of their subscription processing.