title: Rails : Send email with Mailjet Api V3
body: <p>I try to send an email with the new mailjet api (v3).
  Here is my config :</p>
  
  <p><strong>gemfile</strong></p>
  
  <blockquote>
    <blockquote>
      <p>gem 'mailjet'</p>
    </blockquote>
  </blockquote>
  
  <p><strong>config/initializers/mailjet.rb</strong></p>
  
  <pre><code>Mailjet.configure do |config|
    config.api_key = '&lt;my api&gt;'
    config.secret_key = '&lt;my_psw&gt;'
    config.default_from = 'mail@conicrea.com'
    config.domain = 'localhost'
  end
  </code></pre>
  
  <p><strong>mailer.rb</strong></p>
  
  <pre><code>  def send_unsubscribe(user)
      @user = user
      @to = "paul@conicrea.com"
      @from = "mail@conicrea.com"
  
      mail(to: @to, from: @from, subject: "TTP Tork - Demande de désinscription") do |format|
        format.html
      end
    end
  </code></pre>
  
  <p><strong>user.rb</strong></p>
  
  <pre><code>def send_unsubscribe
    Mailer.send_unsubscribe(self).deliver
  end
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p>u.send_unsubscribe</p>
    </blockquote>
  </blockquote>
  
  <p>In log, the mail seems to be create en send but there is no email in my mailbox and in mailjet...</p>