Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Removing Email from Vanilla
Hi,
I have set up Vanilla on an internal network in my office.
Our development network does not have a mail server so I was wondering if there is a way to turn off the email function?
When users sign up they are asked for an email address which they currently have to put in yet it is never used. And whenever Admin is carried out there are mail errors.
Just being able to hide the email address box and make the forum stop trying to send emails to users would be great.
Is this possible?
Thanks
I have set up Vanilla on an internal network in my office.
Our development network does not have a mail server so I was wondering if there is a way to turn off the email function?
When users sign up they are asked for an email address which they currently have to put in yet it is never used. And whenever Admin is carried out there are mail errors.
Just being able to hide the email address box and make the forum stop trying to send emails to users would be great.
Is this possible?
Thanks
0
Comments
http://code.google.com/p/lussumo-vanilla/source/browse/trunk/src/library/Framework/Framework.Class.Email.php#154
Change them from this:
$this->SMTPSend($To, $this->Subject, $Message, $Header);
and this:
if (!@mail($To, $this->Subject, $Message, $Header) && $this->FatalError) $this->Context->ErrorManager->AddError($this->Context, $this->Name, "Send", "An error occurred while sending the email.", $php_errormsg);
To this:
// $this->SMTPSend($To, $this->Subject, $Message, $Header);
and this:
// if (!@mail($To, $this->Subject, $Message, $Header) && $this->FatalError) $this->Context->ErrorManager->AddError($this->Context, $this->Name, "Send", "An error occurred while sending the email.", $php_errormsg);