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
34
votes
10 answers

Killing MailCatcher: Something's using port 1025

I'm trying to run "foreman start" for a rails app however this error message is preventing me from running the foreman properly: ~~> ERROR: Something's using port 1025. Are you already running MailCatcher? I've tried killing the PID, going to…
CJ -S
  • 353
  • 1
  • 3
  • 6
19
votes
3 answers

gem install mailcatcher fails with - ERROR: Error installing mailcatcher: ERROR: Failed to build gem native extension

I am on macOS Catalina 10.15.7, using rbenv (version rbenv 1.1.2-36-g60c9339 ) and ruby verion 2.6.3 (ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19] is the output of ruby -v) for my project. I need to install mailcatcher to check the…
Karan Sapolia
  • 640
  • 9
  • 18
16
votes
3 answers

Fetching values from email in protractor test case

I need to test a protractor test case in which a user signs up, receives an email, goes to the link provided in the email and fills up his/her details in activation signup form. The problem is how can I get the redeem token from the email. My email…
Ashish Gaur
  • 2,030
  • 2
  • 18
  • 32
6
votes
1 answer

How to start mailcatcher when booting vagrant box

I need to start the mailcatcher as the vagrant up is done. I tried setting provision for the vagrant machine config.vm.provision "shell", inline: 'mailcatcher --ip=0.0.0.0' But it says unidentified command mailcatcher
Alfie
  • 2,706
  • 1
  • 14
  • 28
6
votes
4 answers

Mailcatcher: PHP mail() function returns false

i will try to describe my problem: to debug outgoing email in local environment i installed mailcatcher (http://mailcatcher.me/) but faced some problems with catching mails sent from web. if i run the script which contains only one mail() call,…
user1112057
  • 180
  • 3
  • 11
3
votes
0 answers

Why do my rails plain text emails sometimes work and sometimes don't

I have erb and plain text versions of several emails. When I send them, some show the plain text version and some do not. There seems to be a bug in some of my plain text emails but not in others. This is the plain text email that sends properly…
3
votes
2 answers

No route matches missing required keys: [:locale]

enter image description here I've met a problem , I can't solved. I've created a sign in form, and I would like when it send it, the user receive an email with token for validate the sign. But when i send the form I received this error:…
3
votes
2 answers

How to send emails to Mailcatcher with PHPMailer?

I have a question which might be a bit stupid, but I can not cope with my problem : I am developing an App where I have to send emails to the users, that's why I am using the PHPMailer library. I tested the application with Google's smtp server and…
Teo
  • 67
  • 5
3
votes
1 answer

Laravel with MailCatcher from Other Server

I have laravel 5.2 project and i want to connect my laravel with mailcatcher with this setting on my environment file…
3
votes
1 answer

How to setup mailcatcher and run as service in CentOS

I have followed the steps in this tutorial but it wouldn't work. https://serversforhackers.com/setting-up-mailcatcher I did however successfully installed mailcatcher and have tested. It is working, however I can't run it as a service. Anyone…
TheGPWorx
  • 857
  • 3
  • 17
  • 37
3
votes
1 answer

How to resolve BigDecimal 'already initialised constant' warnings on 'mailcatcher' cmd?

Every time I start mailcatcher I'm shown 'already initialised constant' warnings. Can anyone advise how to resolve the issue? Thanks. Update…
jbk
  • 1,911
  • 19
  • 36
3
votes
2 answers

mailcatcher wont start up

I am following the http://mailcatcher.me/ documentation gem install mailcatcher mailcatcher Go to http://localhost:1080/ Send mail through smtp://localhost:1025 I was able to install mailcatcher Fetching: mailcatcher-0.6.1.gem…
MZaragoza
  • 10,108
  • 9
  • 71
  • 116
3
votes
1 answer

Unable to proxy_pass mailcather with nginx

I have following nginx conf upstream domain1 { server 127.0.0.1:3000; server 127.0.0.1:3001; } server { listen 80; server_name demo.domain.com; root /var/apps/myapp/public; location / { proxy_set_header …
Ratatouille
  • 1,372
  • 5
  • 23
  • 50
3
votes
2 answers

How to setup a password for mailcatcher

I have the mailcatcher installed on a server and I would like to protect it with a password. At the moment, I am accessing it directly, and would like to have the auth_basic 'RESTRICTED ACCESS'; Any idea where can I enable this?
Milos Cuculovic
  • 19,631
  • 51
  • 159
  • 265
2
votes
1 answer

Where are received mails by Mailcatcher stored?

I have installed postfix on my Mac with and changed the following parameters : mydestination = relayhost = 127.0.0.1:1025 I've modified mydestination to be blank so that whoever the mail is sent to like bellow in the Terminal it necessarily goes…
user4957197
1
2 3 4 5