SMS

$message = new \Esendex\Model\DispatchMessage( "WebApp", // Send from "01234567890", // Send to any valid number "My Web App is SMS enabled!", \Esendex\Model\Message::SmsType ); $authentication = new \Esendex\Authentication\LoginAuthentication( "EX000000", // Your Esendex Account Reference "Esta dirección de correo electrónico está protegida contra spambots. Usted necesita tener Javascript activado para poder verla. ", // Your login email address "password" // Your password ); $service = new \Esendex\DispatchService($authentication); $result = $service->send($message); print $result->id(); print $result->uri();
Visto 122 veces