4/24/2023 0 Comments Letter opener pro mac![]() In that case, run which catchmail and put that path into the sendmail_path directive above instead of /usr/bin/env catchmail. To set up your rails app, I recommend adding this to your environments/development.rb: config.action_livery_method = :smtpĬonfig.action_mailer.smtp_settings = Ĭonfig.action_mailer.raise_delivery_errors = falseįor projects using PHP, or PHP frameworks and application platforms like Drupal, you can set PHP's mail configuration in your php.ini to send via MailCatcher with: sendmail_path = /usr/bin/env catchmail -f can do this in your Apache configuration like so: php_admin_value sendmail_path "/usr/bin/env catchmail -f you've installed via RVM this probably won't work unless you've manually added your RVM bin paths to your system environment's PATH. Ln -s "$(rvm do rvm wrapper show mailcatcher)" "$rvm_bin_path/" To prevent this, and to prevent gem conflicts, install mailcatcher into a dedicated gemset with a wrapper script: rvm -create do gem install mailcatcher ![]() Under RVM your mailcatcher command may only be available under the ruby you install mailcatcher into. Instead, pop a note in your README stating you use mailcatcher, and to run gem install mailcatcher then mailcatcher to get started. It will conflict with your applications gems at some point. Please don't put mailcatcher into your Gemfile. The brave can get the source from the GitHub repository. ![]() Use mailcatcher -help to see the command line options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |