diff --git a/lib/bamboo/mailer.ex b/lib/bamboo/mailer.ex index 30b00400..ea879e31 100644 --- a/lib/bamboo/mailer.ex +++ b/lib/bamboo/mailer.ex @@ -304,7 +304,7 @@ defmodule Bamboo.Mailer do defp validate_attachment_support(_email, adapter) do if Code.ensure_loaded?(adapter) && function_exported?(adapter, :supports_attachments?, 0) && - adapter.supports_attachments? do + adapter.supports_attachments?() do :ok else {:error, "the #{adapter} does not support attachments yet."}