Sha256: ee7af700f06c49227919bdab36c0a248d123daeae0a4aa12b3150d5328f02cf5

Contents?: true

Size: 266 Bytes

Versions: 30

Compression:

Stored size: 266 Bytes

Contents

# frozen_string_literal: true

begin
  require "mail"
rescue LoadError => error
  if error.message.match?(/net\/smtp/)
    $stderr.puts "You don't have net-smtp installed in your application. Please add it to your Gemfile and run bundle install"
    raise
  end
end

Version data entries

30 entries across 28 versions & 3 rubygems

Version Path
actionmailbox-6.1.7.10 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.10 lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.7.9 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.9 lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.7.8 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.8 lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.7.7 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.7 lib/action_mailer/mail_with_error_handling.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-6.1.6.1/lib/action_mailbox/mail_with_error_handling.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailer-6.1.6.1/lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.7.6 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.6 lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.7.5 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.5 lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.7.4 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.4 lib/action_mailer/mail_with_error_handling.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailer-6.1.6.1/lib/action_mailer/mail_with_error_handling.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-6.1.6.1/lib/action_mailbox/mail_with_error_handling.rb
actionmailbox-6.1.7.3 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.7.3 lib/action_mailer/mail_with_error_handling.rb