Questions tagged [mailcatcher]

MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface.

MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface.

Features

  • Shows HTML, Plain Text and Source version of messages, as applicable.
  • Rewrites HTML enabling display of embedded, inline images/etc and open links in a new window.
  • Lists attachments and allows separate downloading of parts.
  • Download original email to view in your native mail client(s).
  • Command line options to override the default SMTP/HTTP IP and port settings.
  • Mail appears instantly if your browser supports WebSockets, otherwise updates every thirty seconds.
  • Runs as a daemon run in the background.
  • Sendmail-analogue command, catchmail, makes using mailcatcher from PHP a lot easier.
  • Written super-simply in EventMachine, easy to dig in and change.
  • Keyboard navigation between messages

Links

61 questions
1
vote
3 answers

Ignore group in Rails Gemfile

I have the puma gem in my Rails 4.1.8 Gemfile because I want to use it as the default webserver in all environments. That works fine. # Gemfile gem "puma" In development I am using mailcatcher which means that I'd like to include it as a dependency…
rb-
  • 2,315
  • 29
  • 41
0
votes
2 answers

How to get mailcatcher to work with rbenv, bundler, and ruby 3.2.0?

I've completely removed rvm and installed 0.5.10 of mailcatcher. When I run mailcatcher I get the following error: .rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/activesupport-3.2.22.5/lib/active_support/core_ext/object/duplicable.rb:111:in…
mkelley33
  • 5,323
  • 10
  • 47
  • 71
0
votes
0 answers

Trouble installing mailcatcher gem on Windows

After an windows update starting mailcatcher for development purpouse did not work anymore. I updated ruby using RubyInstaller for Windows, but trying to install mailcatcher i get a giant fail that indicates somethign basic is at miss I switched to…
maidan
  • 151
  • 6
0
votes
1 answer

Disabling mailcatcher commandline messages

When using mailcatcher for testing the sending of mails i use codeception and the codeception-mailcatcher-module. Everything runs as a Github action and i trigger stuff like this: php vendor/bin/codecept run…
0
votes
0 answers

Mailcatcher return Net::SMTPFatalError

I installed mailcatcher on my rails app but i still have this issu when i try to send an email : Net::SMTPFatalError: 554 5.7.1 : Client host rejected: Access denied Already tryed different…
0
votes
1 answer

mailcatcher install in GIT Action suddenly fails

Since yesterday the same install process using mailcatcher in an github actions fails. Operating system tested with Ubuntu latest and 20.04 The way mailcatcher gets installed: - name: Install & run mailcatcher run: | sudo gem install…
maidan
  • 151
  • 6
0
votes
1 answer

how to put a limit for mailcatchers inbox?

I am looking for a way to limit the "inbox" for the mailcatcher. Is it possible to set an inbox limit for last 7 days for example? thanks in advance
servusMori
  • 9
  • 1
  • 4
0
votes
1 answer

I want to use mailcatcher for confirmable in devise gem but get this when i am runing bundle install?

Can anyone help me with this i am using rails 7.0.2.3 Bundler could not find compatible versions for gem "rack": In snapshot (Gemfile.lock): rack (= 2.2.3) In Gemfile: rails (~> 7.0.2, >= 7.0.2.3) was resolved to 7.0.2.3, which depends…
0
votes
0 answers

Accessing a pod from the outside world

i have mailcatcher installed on a GCP pod that i want to access from the outside world. in my pod config i have this : ports: - containerPort: 25 name: smtp protocol: TCP - containerPort: 80 name: http protocol: TCP from…
0
votes
0 answers

Installing Mailcatcher inside Github Workflow takes forever

Update 1: Got mailatcher working but running every test now takes 4 minutes. I need to do some Mailcatcher Acceptance Tests inside a Github Workflow. All other Tests are running fine. I also got the Mailcatcher running but installing the gem with…
Mike
  • 5,416
  • 4
  • 40
  • 73
0
votes
0 answers

Mail not sent with MailCatcher

I have installed MailCatcher in my Symofny 4.2 project. I have configured it in my .env file: MAILER_URL=http://127.0.0.1:1080/ And in swiftmailer.yml swiftmailer: url: '%env(MAILER_URL)%' spool: { type: 'memory' } parameters: …
0
votes
1 answer

Error Connection Refused: MailCatcher in Docker Rails

I have Rails application running in Docker, and I want to integrate mailcatcher for development. docker-compose.yml version: '3' services: db: image: postgres:alpine restart: always volumes: - postgres-data:/var/lib/postgresql/data …
AllenC
  • 2,754
  • 1
  • 41
  • 74
0
votes
1 answer

How to generate link to restore password using devise?

I am using Mailer and MailCatcher. When an admin registered the customer in the system, the customer should receive an email with a link to restore his password
0
votes
1 answer

Mailcatcher Error: port 1025 is already in use

I try to start mailcatcher. And I got error: something's use port 1025. Are you already running MailCatcher? I try this, and similar answers, but, when I execute lsof command, there is nothing in result for this command which use this port, result…
vladadj31
  • 3
  • 5
0
votes
1 answer

Send mail on the command line using nonstandard port

I'm using MailCatcher, which listens on port 1025 instead of port 25. I'd like to send an email using mailx, e.g., mailx -s 'Hello World!' foo@example.com How do I get mailx to use the mailcatcher port 1025? The man page is pretty daunting.
Russell Silva
  • 2,772
  • 3
  • 26
  • 36