Moe's avatar
Level 6

Mandrill will not work in test mode

When i send an email with a normal API key there is no problem, but when i add the test key en go to the test mode of Mandrill i do not find any email in my outbound box.

What can be the problem? Are there some specific action that i have to do for working whit TEST mode?

0 likes
6 replies
bobbybouwmann's avatar

I have a few questions before I can help you:

  1. Are you writing actual tests like unit tests?
  2. Do you want to pretend to send the mail or do you want to see the mail coming in Mandrill and just not send it?

For question 2, Laravel has a pretend function for emails. If you don't want to send the email but want to execute the code you can put this config on true or false and it the email can be found in your log files ;)

http://laravel.com/docs/5.0/mail#mail-and-local-development

Moe's avatar
Level 6

At the moment i don't use unit tests and I send the mail because i will see the result.

Moe's avatar
Level 6

Yes i did. It only will not work in TEST mode

Moe's avatar
Level 6

It seems to be working now, but i didn't change anything. Strange!

Please or to participate in this conversation.