The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Invite via Email notification
Hello,
is it possible to do a PHP-Module form to send a invite-email. Sender should be the registered User email-adress and he should type in a small text to descripe why he is inviting. Recipients email could typed in form-text-field. I mean something like this: Code:
<?php $recipient = "--- from a html form---"; // $sender = ". vB5_User::get('email')"; $subject = ". vB5_User::get('username') invite xou to forum"; $mailtext = "---get from form---"; $answerto = ". vB5_User::get('email')"; mail( $recipien, $subject, $mailtext, "From: $sender\nReply-To: $answerto"); echo "Mail was send correct!"; ?> Do have anybody a better idea to reallize somthing like this in VB5 until the invitesystem is not a feature of vB5? Thanks and Greetings |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|