php - Mailgun and Laravel returning T_Double_Arrow error -



php - Mailgun and Laravel returning T_Double_Arrow error -

i trying mailgun work email provider.

by adding services.php page app/config , filling in credentials, i'm left this:

<?php 'mailgun' => array( 'domain' => 'domain.com', 'secret' => 'key-removedforprivacy', ),

when go execute mail:: function, returns error:

syntax error, unexpected '=>' (t_double_arrow)

it relates line:

'mailgun' => array(

if remove <?php, gets past step, returns error can't find array domain , secret values.

i've copied code laravel's website! help appreciated.

what have far not valid php (the interpreter correct. it's always correct.)

i think you're trying

<?php homecoming array( 'mailgun' => array( 'domain' => 'domain.com', 'secret' => 'key-removedforprivacy', ), );

php laravel laravel-4 sendmail mailgun

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -