Inside the file insert.php I have a function that validates the sending to the bank and then after sending a return email, the problem that when marking the file send.php that will execute the code of the following error. / p>
Fatal error: Call to undefined method email :: envioemail () in
Follows:
insert.php
include("envia.php");
$envia=new email();
$envia->envioemail();
envio.php
class email {
function enviaemail() {