Sign in to follow this  
#[B]lack

Send mail help please

Recommended Posts

Error: http://prntscr.com/lqcc3z

WARNING: [VSK]Mail\s.lua:9: Unrecognized argument list for callRemote: bad arguments or missing arguments

 

Server.lua

addEventHandler("onResourceStart", getResourceRootElement(getThisResource()),

function()

 

local email = "zimaplay1@gmail.com"

local titulo = "batata"

local senha = "batata"


 

callRemote ("http://vskdev.mtabrasilhost.com/testes/index.php", result, email,titulo,senha)

end)

 

index.php

<?php

require "sdk/mta_sdk.php";

 

$table = mta::getInput();

$email = $table[0];

$subject = $table[1];

$body = $table[2];

 

$result = mail($email,$subject,$body);

 

var_dump($result);

}

?>

 

Edited by #[B]lack

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.