mailjet / mailjet-apiv3-php

[API v3] Mailjet PHP Wrapper
http://dev.mailjet.com
MIT License
263 stars 86 forks source link

Problem occurs when i tried to send email using laravel mailables #93

Closed Naveed-anwar123 closed 6 years ago

Naveed-anwar123 commented 7 years ago

Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required

Zhivko-Mailjet commented 7 years ago

Hi @Naveed-anwar123 ,

Do you use the PHP wrapper directly or with the Laravel package ? Could you please share a sample of your code ?

Naveed-anwar123 commented 7 years ago

Inside my Mailable class public function build() { return $this->from('naveed@example.com')->view('email.template'); } when i return then this error happens to me.

Naveed-anwar123 commented 7 years ago

I am using Laravel 5.4 and "guzzlehttp/guzzle": "^6.3" package.

Zhivko-Mailjet commented 7 years ago

@Naveed-anwar123 Did you follow these configuration instructions -> https://github.com/mailjet/laravel-mailjet#installation ? Please show us the modifications you have done in order to implement Mailjet.

latanasov commented 6 years ago

Ticket closed due to user inactivity. Feel free to raise a new ticket if the issue still occurs.