Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

The parameters passed to the API were invalid. Check your inputs! #66

Closed
jgojariya opened this issue May 5, 2016 · 0 comments
Closed

Comments

@jgojariya
Copy link

jgojariya commented May 5, 2016

I'm using laravel 4.2. I try bellow example, but it does not work. It occur bellow error.
"The parameters passed to the API were invalid. Check your inputs".

=> Code
$data = array(
'customer' => 'John Smith',
'url' => 'http://laravel.com'
);
Mailgun::send('emails.layout', $data, function($message)
{
$message->to('jgojariya@elluminati.in', 'John Smith')->subject('Welcome!');
});

=> View file code
Hi {{ $customer }},
Please visit {{ $url }}

@Bogardo Bogardo added on hold and removed on hold labels Nov 13, 2016
@Bogardo Bogardo closed this as completed Nov 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants