aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_mailer_basics.md
Commit message (Collapse)AuthorAgeFilesLines
* correcting word smpt -> smtp in ActionMailer guide [ci skip]amitkumarsuroliya2015-09-201-2/+2
| | | `smpt.gmail.com` should be `smtp.gmail.com`
* [ci skip] Adding a note to Action Mailer Basics documentation that Google ↵melissawahnish2015-08-081-0/+3
| | | | | | | | | | | | | increased its 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.
* Small fixAlexey Markov2015-08-061-1/+1
|
* Create Adding images in Action Mailer Views on guidesMauro George2015-07-031-0/+18
| | | | [ci skip]
* Merge pull request #20117 from jfine/action-mailer-smtp-settings-updateYves Senn2015-06-191-1/+1
|\ | | | | Add openssl_verify_mode and sync other smtp_settings with API docs [ci skip]
| * Add openssl_verify_mode and sync other smtp_settings with API docsJared Fine2015-05-111-1/+1
| |
* | Fix email with name format in Guides. [ci skip]Guilherme Goettems Schneider2015-05-261-1/+1
|/
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-05-081-2/+2
|\
| * Updated titles of headers in Action Mailer guidePrathamesh Sonpatki2015-04-281-2/+2
| |
* | Merge pull request #19931 from prathamesh-sonpatki/note-about-non-get-linksYves Senn2015-04-281-0/+3
|\ \ | |/ |/| | | Added note about non-GET links getting converted to GET links in mailer Added note about non-GET links getting converted to GET links in mailer templates [ci skip]
| * Added note about non-GET links getting converted to GET links in mailer ↵Prathamesh Sonpatki2015-04-281-0/+3
|/ | | | templates [ci skip]
* Add guide for Action Mailer PreviewsYuki Nishijima2015-02-081-0/+33
| | | | [ci skip]
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* Un-inline if statementJosh Cheek2014-12-291-1/+3
| | | | | The single line was long enough that it rendered on two lines, causing the example to look like syntactically invalid code.
* Fix bug in ActionMailer guide.Dan Bernier2014-12-241-1/+1
| | | | | 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.
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* [ci skip] fix description of url_foryuuji.yaginuma2014-11-301-13/+1
|
* Update docs to reflect changes to MailerGenerator.Guo Xiang Tan2014-11-251-11/+26
|
* [ci skip] Fix code snippet display in Action Mailer Basics guide.Juanito Fatas2014-09-161-2/+1
|
* [ci skip] Clarify Action Mailer/Active Job usage noteLogan Hasson2014-08-211-5/+5
|
* Updated rdoc / guides / release notes related to ActiveJob / ActionMailerCristian Bica2014-08-201-4/+28
|
* Deprecate `*_path` methods in mailers@schneems and @sgrif2014-07-301-0/+16
| | | | | | | | | | | 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
* fix bug in email with name example codeSam DeCesare2014-06-111-1/+1
| | | | | | 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.).
* [ci skip] Refine Action Mailer guide.Juanito Fatas2014-06-111-10/+19
| | | | | | | | | | | | | | | | | * Wrap 80 words if possible. * Make attachment hash options more readable. (L239-L243) Before: ![screenshot 2014-06-11 02 59 54](https://cloud.githubusercontent.com/assets/1000669/3235432/a91d0464-f0d2-11e3-9e4a-6af2b2a83f1a.png) After: ![screenshot 2014-06-11 02 59 36](https://cloud.githubusercontent.com/assets/1000669/3235428/a47b28dc-f0d2-11e3-806c-cfaedd3f15df.png) * L619 Wrap "location" in code: `"location"`. * L628 Use actual section name. * L697 Remove unnecessary `./` when refer to other guide.
* Use generated binstubs in guides examples.Josef Šimánek2014-05-201-3/+3
| | | | [ci skip]
* Merge pull request #13728 from semenyukdmitriy/masterYves Senn2014-01-221-1/+1
|\ | | | | Added missing `file` delivery method to the Configuration Guide
| * [ci skip] Added missing `file` delivery methodSemenyuk Dmitriy2014-01-221-1/+1
| |
* | docs should say `email` not `Email`. [ci skip]Yves Senn2014-01-201-2/+2
| |
* | docs, hyperlink the `Mail gem` in Action Mailer guide. [ci skip]Yves Senn2014-01-201-2/+2
|/
* Minor align BR tags with HTML void - with reference to the generators code ↵AvnerCohen2013-10-091-1/+1
| | | | change - https://github.com/rails/rails/commit/f038d4cc5fe1ac21f92c7e32c61ff85a0c816f3f
* Use Ruby on Rails Coding Conventions for code examples in the guidesPaul Nikitochkin2013-09-061-14/+14
| | | | | | | | * Indent after private/protected * Ruby >= 1.9 syntax for hashes * Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks. [ci skip]
* AM Guide: Should be "different formats".Peter Jaros2013-07-241-1/+1
|
* Using preferred find_by syntax in guidesCristian Planas2013-07-011-1/+1
|
* Remove a duplicated section [ci skip]Robin Dupret2013-06-291-20/+5
| | | | | | 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.
* correct no-replay@example.com to no-reply@example.comKyle Fritz2013-05-291-1/+1
|
* Remove double spaces in guidesSunny Ripert2013-05-281-1/+1
|
* Consistent use of one space only after punctuationSunny Ripert2013-05-281-1/+1
|
* Make guide description more conciseFiona Tay2013-04-211-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-111-15/+10
|\ | | | | | | | | Conflicts: guides/source/action_mailer_basics.md
| * Proofreading tweaks to the Mailer guideJonathan Roes2013-04-011-15/+15
| |
* | get the Action Mailer guide ready. [ci skip]Yves Senn2013-04-091-117/+238
|/
* move mailer testing examples into the testing guide.Yves Senn2013-03-251-25/+2
| | | | | | | | Closes #9325. I adjusted the example and the description in the testing guide and simply linked from the mailer to the testing guide. This way we don't have to maintain two separate places.
* copy edits [ci skip]Vijay Dev2013-03-101-3/+3
|
* Adding a note for :body option in `mail` method.Fabrizio Regini2013-03-081-0/+13
|
* Merge pull request #9359 from justinwb/masterCarlos Antonio da Silva2013-02-271-1/+0
|\ | | | | Removed template_root as a configuration option
| * Removed template_root as a configuration optionJustin Bingham2013-02-211-1/+0
| | | | | | Removed template root from actionmailer configuration options as it seems to have been pulled out completely in favor of explicit definition via template_path / template_name.
* | Update guide doc to use migration shortcutsQihuan Piao2013-02-251-1/+1
| |
* | Wrap `around_action` word with <code> tagQihuan Piao2013-02-251-1/+1
|/
* Merge pull request #9084 from senny/document_am_delivieries_resetJosé Valim2013-01-261-0/+2
|\ | | | | document the behavior of `ActionMailer::Base.delivieries` in tests
| * document the behavior of `ActionMailer::Base.delivieries` in testsYves Senn2013-01-261-0/+2
| | | | | | | | thanks @danielpuglisi