1. 25 2月, 2016 1 次提交
  2. 13 2月, 2016 2 次提交
  3. 18 12月, 2015 1 次提交
  4. 20 9月, 2015 1 次提交
  5. 09 8月, 2015 1 次提交
    • M
      [ci skip] Adding a note to Action Mailer Basics documentation that Google increased its · 1896be97
      melissawahnish 提交于
      security measures so using the example for Gmail will return a “Password Incorrect” error,
      and you will receive an email from Google that they blocked a sign-in attempt.  You can change
      your Gmail settings or use another ESP.
      
      I discovered this when I was testing a simple mailer example app and was just going to
      use my personal Gmail account for the test.  I think it would be best to note this change
      since now Gmail may not be the best option for a quick test.  I hope this saves time for other Rails
      developers.  The Gmail example does show a good example of how to configure the smpt settings.
      1896be97
  6. 07 8月, 2015 1 次提交
  7. 03 7月, 2015 1 次提交
  8. 27 5月, 2015 1 次提交
  9. 12 5月, 2015 1 次提交
  10. 28 4月, 2015 2 次提交
  11. 09 2月, 2015 1 次提交
  12. 14 1月, 2015 1 次提交
  13. 30 12月, 2014 1 次提交
    • J
      Un-inline if statement · 2d1f4033
      Josh Cheek 提交于
      The single line was long enough that it rendered on two lines,
      causing the example to look like syntactically invalid code.
      2d1f4033
  14. 25 12月, 2014 1 次提交
    • D
      Fix bug in ActionMailer guide. · 65158a67
      Dan Bernier 提交于
      When setting a mailer's default from address, you have to pass a hash
      with a `:from` key; you can't pass just an email address.
      65158a67
  15. 24 12月, 2014 1 次提交
  16. 30 11月, 2014 1 次提交
  17. 25 11月, 2014 1 次提交
  18. 16 9月, 2014 1 次提交
  19. 21 8月, 2014 1 次提交
  20. 20 8月, 2014 1 次提交
  21. 31 7月, 2014 1 次提交
    • @
      Deprecate `*_path` methods in mailers · 2bbcca00
      @schneems and @sgrif 提交于
      Email does not support relative links since there is no implicit host. Therefore all links inside of emails must be fully qualified URLs. All path helpers are now deprecated. When removed, the error will give early indication to developers to use `*_url` methods instead.
      
      Currently if a developer uses a `*_path` helper, their tests and `mail_view` will not catch the mistake. The only way to see the error is by sending emails in production. Preventing sending out emails with non-working path's is the desired end goal of this PR.
      
      Currently path helpers are mixed-in to controllers (the ActionMailer::Base acts as a controller). All `*_url` and `*_path` helpers are made available through the same module. This PR separates this behavior into two modules so we can extend the `*_path` methods to add a Deprecation to them. Once deprecated we can use this same area to raise a NoMethodError and add an informative message directing the developer to use `*_url` instead.
      
      The module with warnings is only mixed in when a controller returns false from the newly added `supports_relative_path?`.
      
      Paired @sgrif & @schneems
      2bbcca00
  22. 12 6月, 2014 1 次提交
    • S
      fix bug in email with name example code · fd984e85
      Sam DeCesare 提交于
      The display name in the email "to" field needs to be quoted otherwise
      your email-sending service will fail when trying to deliver mail to
      user's with commas in their name (i.e. John Smith, M.D.).
      fd984e85
  23. 11 6月, 2014 1 次提交
  24. 20 5月, 2014 1 次提交
  25. 22 1月, 2014 1 次提交
  26. 20 1月, 2014 2 次提交
  27. 09 10月, 2013 1 次提交
  28. 07 9月, 2013 1 次提交
  29. 18 8月, 2013 1 次提交
  30. 08 8月, 2013 1 次提交
  31. 25 7月, 2013 1 次提交
  32. 01 7月, 2013 1 次提交
  33. 30 6月, 2013 1 次提交
    • R
      Remove a duplicated section [ci skip] · 59efb763
      Robin Dupret 提交于
      Attachments were previously covered so remove the useless part. Just
      move a note about multipart headers set when the mail method is
      triggered to the kept section.
      59efb763
  34. 30 5月, 2013 1 次提交
  35. 28 5月, 2013 2 次提交
  36. 21 4月, 2013 1 次提交