vBulletin has its own function to handle mail:
Quote:
Starts the process of sending an email - either immediately or by adding it to the mail queue.
void vbmail (string $toemail, string $subject, string $message, [boolean $notsubscription = false], [string $from = ''], [string $uheaders = ''], [string $username = ''])
- string $toemail: Destination email address
- string $subject: Email message subject
- string $message: Email message body
- boolean $notsubscription: If true, do not use the mail queue and send immediately
- string $from: Optional name/email to use in 'From' header
- string $uheaders: Additional headers
- string $username: Username of person sending the email
|