Anyone got Mailcatcher working?

People,

I cloned this:

   https://github.com/sj26/mailcatcher

Installed with:

   bundle install --path vendor/bundle

Started the daemon with:

   bundle exec ./bin/mailcatcher

Sent test mails with:

   swaks -p 1025

- which deliver OK

I can browse to the interface at:

   localhost:1080

- but no mails are displayed . .

Also, it is a plain HTML interface ie not as pretty as the picture on GitHub . . which is a bit suspicious . .

Anyone got any ideas (I have sent a note to the author but no response yet . .).

Thanks,

Phil.

···

--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

I cloned this:

  GitHub - sj26/mailcatcher: Catches mail and serves it through a dream.

Installed with:

  bundle install --path vendor/bundle

Why? The recommended method (as detailed on the repo README)
is using `gem install mailcatcher` and then running `mailcatcher`.

Sent test mails with:

  swaks -p 1025

No idea what "swaks" is.

- which deliver OK

What is your definition of "deliver OK"? Because they shouldn't
be "delivered" anywhere besides locally to mailcatcher, kind of
by definition.

I can browse to the interface at:

  localhost:1080

- but no mails are displayed . .

Also, it is a plain HTML interface ie not as pretty as the picture on GitHub
. . which is a bit suspicious . .

The interface I see is the same as the image on github, but I wouldn't
ever describe it as "pretty" :slight_smile:

Can you post a screenshot of the interface you're seeing?

···

On Tue, Sep 29, 2015 at 12:28 PM, Philip Rhoades <phil@pricom.com.au> wrote:

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

twitter: @hassan
Consulting Availability : Silicon Valley or remote

Hassan,

I cloned this:

  GitHub - sj26/mailcatcher: Catches mail and serves it through a dream.

Installed with:

  bundle install --path vendor/bundle

Why? The recommended method (as detailed on the repo README)
is using `gem install mailcatcher` and then running `mailcatcher`.

With that I get:

Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require': cannot load such file -- rubyeventmachine (LoadError)
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require'
  from /usr/local/share/gems/gems/eventmachine-1.0.3/lib/eventmachine.rb:8:in `<top (required)>'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require'
  from /home/phil/.gem/ruby/gems/mailcatcher-0.6.1/lib/mail_catcher.rb:6:in `<top (required)>'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
  from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require'
  from ./bin/mailcatcher:3:in `<main>'

Thanks,

P.

···

On 2015-09-30 05:41, Hassan Schroeder wrote:

On Tue, Sep 29, 2015 at 12:28 PM, Philip Rhoades <phil@pricom.com.au> > wrote:

Sent test mails with:

  swaks -p 1025

No idea what "swaks" is.

- which deliver OK

What is your definition of "deliver OK"? Because they shouldn't
be "delivered" anywhere besides locally to mailcatcher, kind of
by definition.

I can browse to the interface at:

  localhost:1080

- but no mails are displayed . .

Also, it is a plain HTML interface ie not as pretty as the picture on GitHub
. . which is a bit suspicious . .

The interface I see is the same as the image on github, but I wouldn't
ever describe it as "pretty" :slight_smile:

Can you post a screenshot of the interface you're seeing?

--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

Hassan,

Sorry I missed the rest of your mail - more below:

I cloned this:

  GitHub - sj26/mailcatcher: Catches mail and serves it through a dream.

Installed with:

  bundle install --path vendor/bundle

Why? The recommended method (as detailed on the repo README)
is using `gem install mailcatcher` and then running `mailcatcher`.

Sent test mails with:

  swaks -p 1025

No idea what "swaks" is.

SMTP testing tool.

- which deliver OK

What is your definition of "deliver OK"? Because they shouldn't
be "delivered" anywhere besides locally to mailcatcher, kind of
by definition.

$ swaks -p 1025
=== Trying 127.0.0.1:1025...
=== Connected to 127.0.0.1.
<- 220 EventMachine SMTP Server
  -> EHLO phi.pricom.com.au
<- 250-Ok EventMachine SMTP Server
<- 250-NO-SOLICITING
<- 250 SIZE 20000000
  -> MAIL FROM:<phil@phi.pricom.com.au>
<- 250 Ok
  -> RCPT TO:<phil@127.0.0.1>
<- 250 Ok
  -> DATA
<- 354 Send it
  -> Date: Wed, 30 Sep 2015 05:17:53 +1000
  -> To: phil@127.0.0.1
  -> From: phil@phi.pricom.com.au
  -> Subject: test Wed, 30 Sep 2015 05:17:53 +1000
  -> X-Mailer: swaks v20130209.0 jetmore.org/john/code/swaks/
  ->
  -> This is a test mailing
  ->
  -> .
<- 250 Message accepted
  -> QUIT
<- 221 Ok
=== Connection closed with remote host.

I can browse to the interface at:

  localhost:1080

- but no mails are displayed . .

Also, it is a plain HTML interface ie not as pretty as the picture on GitHub
. . which is a bit suspicious . .

The interface I see is the same as the image on github, but I wouldn't
ever describe it as "pretty" :slight_smile:

Can you post a screenshot of the interface you're seeing?

Attached had to crop the image and get rid of colours because of mail size restrictions on the list . .

Thanks,

Phil.

···

On 2015-09-30 05:41, Hassan Schroeder wrote:

On Tue, Sep 29, 2015 at 12:28 PM, Philip Rhoades <phil@pricom.com.au> > wrote:

To: phil@127.0.0.1
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

Hassan,

Why? The recommended method (as detailed on the repo README)
is using `gem install mailcatcher` and then running `mailcatcher`.

With that I get:

Unable to load the EventMachine C extension; To use the pure-ruby reactor,
require 'em/pure_ruby'
Unable to load the EventMachine C extension; To use the pure-ruby reactor,
require 'em/pure_ruby'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in `require':
cannot load such file -- rubyeventmachine (LoadError)

I would try to solve that first, then.

I did try for some time with a few attempted Google solutions with no luck . .

Ruby version? OS? Using [rvm|rbenv|chruby]?

Fedora 22 x86_64
ruby-2.2.2-40.fc22.x86_64 - no rvm etc

Is that stack trace generated during initial gem installation, or when
you try to run it?

Just as I responded to your:

   running `mailcatcher`

Thanks,

Phil.

···

On 2015-09-30 05:54, Hassan Schroeder wrote:

On Tue, Sep 29, 2015 at 12:46 PM, Philip Rhoades <phil@pricom.com.au> > wrote:

--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

Hassan,

I would try to solve that first, then.

I did try for some time with a few attempted Google solutions with no luck .

Fedora 22 x86_64
ruby-2.2.2-40.fc22.x86_64 - no rvm etc

OK, I can't find a vagrant image to try this, but mailcatcher definitely
works fine on my Mac, installed as a gem.

The display issue is almost certainly due to messed-up request paths
for the CSS and JS; you could probably see that in the network tab of
whatever browser inspection tool you're using.

I'll worry about that later . .

I would make sure you're removed any detritus from the original gem
install and try that again with the verbose flag. It doesn't make sense
to me that it installs without complaint but won't run.

I installed on a bare-bones Fedora 23 Docker image and made a little more progress - the straight gem install works but after sending a test email with swaks, going to the web interface (with links - no X) still shows no mails . .

Thanks anyway,

Phil.

···

On 2015-09-30 06:47, Hassan Schroeder wrote:

On Tue, Sep 29, 2015 at 1:02 PM, Philip Rhoades <phil@pricom.com.au> > wrote:

--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

The display issue is almost certainly due to messed-up request paths
for the CSS and JS; you could probably see that in the network tab of
whatever browser inspection tool you're using.

I'll worry about that later . .

Well, no. Mailcatcher requires JavaScript; I just tried disabling it
and no, the captured mail list does *not* appear in the interface.

I installed on a bare-bones Fedora 23 Docker image and made a little more
progress - the straight gem install works but after sending a test email
with swaks, going to the web interface (with links - no X) still shows no
mails . .

Uh, see above. Does `links` execute JavaScript in non-GUI mode?

BTW, here's the command line I used to send a successful message
captured by mailcatcher using the swaks script:

  swaks.pl -p 1025 --to user@example.com --server localhost

Without the `--to` I get prompted for an email address, without the
`--server` it tries to connect to sendmail on example.com (given an
address of 'user@example.com').

HTH,

···

On Tue, Sep 29, 2015 at 2:35 PM, Philip Rhoades <phil@pricom.com.au> wrote:
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

twitter: @hassan
Consulting Availability : Silicon Valley or remote

Hassan,

···

On 2015-09-30 08:09, Hassan Schroeder wrote:

On Tue, Sep 29, 2015 at 2:35 PM, Philip Rhoades <phil@pricom.com.au> > wrote:

The display issue is almost certainly due to messed-up request paths
for the CSS and JS; you could probably see that in the network tab of
whatever browser inspection tool you're using.

I'll worry about that later . .

Well, no. Mailcatcher requires JavaScript; I just tried disabling it
and no, the captured mail list does *not* appear in the interface.

I installed on a bare-bones Fedora 23 Docker image and made a little more
progress - the straight gem install works but after sending a test email
with swaks, going to the web interface (with links - no X) still shows no
mails . .

Uh, see above. Does `links` execute JavaScript in non-GUI mode?

BTW, here's the command line I used to send a successful message
captured by mailcatcher using the swaks script:

  swaks.pl -p 1025 --to user@example.com --server localhost

Without the `--to` I get prompted for an email address, without the
`--server` it tries to connect to sendmail on example.com (given an
address of 'user@example.com').

OK, I tried again on a full Fedora 22 virtual machine with X and that does indeed work - so it looks like my workstation has some conflicts or other problems somewhere . .

Thanks for the help!

Regards,

Phil.
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

Rubymine all the way. I've tried several others, both paid for and not and
they all fall short. Apart from editing, I mainly love it because it has a
faster debugging cycle than any others that I've used.

···

On 30 September 2015 at 07:51, Greg Navis <contact@gregnavis.com> wrote:

I've been using Vim for over 10 years. I've recently gave RubyMine a try
and ... I love it! JetBrains's IDEs are really great. I still use Vim for
small scripts.

2015-09-30 13:31 GMT+02:00 Carlo E. Prelz <fluido@fluido.as>:

        Subject: Re: hello sorry for that question
        Date: Wed 30 Sep 15 01:29:34PM +0200

EMACS!!!!!

Carlo

--
  * Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as che bisogno ci
sarebbe
  * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)

--
Best wishes,
Paul McKibbin

m: +447990970862
l: +442032396225
s: blackratprime
b: http://blackrat.org/

neovim <https://neovim.io/&gt; and RubyMine

···

2015-09-30 13:28 GMT+02:00 Evgeniy Shurmin <eshurmin@gmail.com>:

IDEA, RubyMine
30 сент. 2015 г. 14:06 пользователь "maxim hedrovich" <hedrovich@list.ru> > написал:

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

EMACS!!!!!

Carlo

···

Subject: Re: hello sorry for that question
  Date: Wed 30 Sep 15 01:29:34PM +0200

--
  * Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe
  * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)

Atom and Emacs, and VI as needed.

···

On Wed, Sep 30, 2015 at 7:05 AM, maxim hedrovich <hedrovich@list.ru> wrote:

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

--
Darryl L. Pierce <mcpierce@gmail.com>
"What do you care what people think, Mr. Feynman?"

I've been using Vim for over 10 years. I've recently gave RubyMine a try
and ... I love it! JetBrains's IDEs are really great. I still use Vim for
small scripts.

···

2015-09-30 13:31 GMT+02:00 Carlo E. Prelz <fluido@fluido.as>:

        Subject: Re: hello sorry for that question
        Date: Wed 30 Sep 15 01:29:34PM +0200

EMACS!!!!!

Carlo

--
  * Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe
  * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

IDEA, RubyMine

···

30 сент. 2015 г. 14:06 пользователь "maxim hedrovich" <hedrovich@list.ru> написал:

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Maxim,

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

mostly RubyMine and vim.

- --
Yours sincerly
Sascha Manns

Maifeldstraße 10
56727 Mayen
Phone: +49-1573-9242730
Email: Sascha.Manns@directbox.com
Web: http://saigkill.github.io
Jabber: saigkill@jabber.org
GPG: hkp://keys.gnupg.net

···

Am 30.09.2015 um 13:05 schrieb maxim hedrovich:

I use Geany & SCITE, mainly because I work in other languages as well as Ruby, also I am visually impaired, and use the custom palettes in both.

···

On 30/09/2015 12:05 PM, maxim hedrovich wrote:

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2015.0.6140 / Virus Database: 4419/10732 - Release Date: 09/30/15

--
Patrick Bayford Tel : 020 8265 8376 E-mail : pbayford@talktalk.net

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6140 / Virus Database: 4419/10732 - Release Date: 09/30/15

maxim hedrovich <hedrovich@list.ru> writes:

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

Emacs.

Vale,
Marvin

···

--
#!/sbin/quintus
Blog: http://www.guelkerdev.de

GnuPG key: F1D8799FBCC8BC4F

Just vim. :slight_smile:

···

On Wed, Sep 30, 2015 at 11:46 AM, Sascha Manns <Sascha.Manns@directbox.com> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Maxim,

Am 30.09.2015 um 13:05 schrieb maxim hedrovich:
> sorry guys < u are rly awesome,
> can i ask u what text editor u are using
> cause im rly dissapointing
mostly RubyMine and vim.

- --
Yours sincerly
Sascha Manns

Maifeldstraße 10
56727 Mayen
Phone: +49-1573-9242730
Email: Sascha.Manns@directbox.com
Web: http://saigkill.github.io
Jabber: saigkill@jabber.org
GPG: hkp://keys.gnupg.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWDB/rAAoJEJsqNu/AiN3WmWYIAItzxvWS4JfaJIoV8jz3tY5o
fm9Hc2QdwzG9t2a6qJvtPYVVgHwhUiG/PrFo4XHvo0zbnr7yPyH2kwU6batby74d
NL8um7djMBU1YPeVkZ/7VqQkP9RSRLP4iLONwFYnBXy36/Rt6NHoIfTSIHQuk6ki
bbASmj0gNEY66DIJ56wMYai2f4ayfxsXtfNu/8G6UYZMQ0MekD+JxcapQ3yOHz3m
+UfkA+YKmtVSKYnQvBJNPXAKDPmE2Mpqfy8jWB+B1peFADYSYczMPkd+zx3UVS71
I9EVlPv6P4pLSUcmSOyzH4MLLBbwkM7Ru8wbjSLSqGx/j7MkpUsU9Ky7kvXJx78=
=no1v
-----END PGP SIGNATURE-----

--
____________________________
Rubén Darío Amórtegui Medina
MCE - Ingeniero de Sistemas

My vote is also for vim.

I would like to know why people use an IDE? How does this improve
development in ruby?

In comparison with Java, which is almost impossible to use without an IDE,
it's refreshing to be able to program in Ruby using *just* vim (+ vim-ruby
plugin) and the console.

···

On Wed, Sep 30, 2015 at 10:00 PM, Patrick Bayford <pbayford@talktalk.net> wrote:

On 30/09/2015 12:05 PM, maxim hedrovich wrote:

sorry guys < u are rly awesome,
can i ask u what text editor u are using
cause im rly dissapointing

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6140 / Virus Database: 4419/10732 - Release Date: 09/30/15

I use Geany & SCITE, mainly because I work in other languages as well as
Ruby, also I am visually impaired, and use the custom palettes in both.

--
Patrick Bayford Tel : 020 8265 8376 E-mail : pbayford@talktalk.net

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.6140 / Virus Database: 4419/10732 - Release Date: 09/30/15

--
joe gain

jacob-burckhardt-str. 16
78464 konstanz
germany

+49 (0)7531 60389

(...otherwise in ???)