aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_mailer_basics.md
Commit message (Collapse)AuthorAgeFilesLines
* Capitalize GmailJon Moss2017-05-241-1/+1
| | | | | | `gmail` --> `Gmail` [ci skip]
* Update information on using Gmail when 2FA is in use [ci skip]Mike Gunderloy2017-05-241-1/+2
|
* Fix link to rails-ujsRyunosuke Sato2017-03-301-1/+1
| | | | | https://github.com/rails/rails-ujs is merged into actionview in favor of https://github.com/rails/rails/pull/28098. [skip ci]
* Update some jquery-ujs references to rails-ujsJon Moss2017-03-181-2/+3
| | | | [ci skip]
* Action Mailer Basics clean up [ci skip]Scott González2017-01-251-2/+2
|
* Clean up wording in Action Mailer Basics [ci skip]Scott González2017-01-211-2/+2
|
* stop using removed `render :text`yuuji.yaginuma2016-12-031-1/+1
| | | | Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496
* remove `-t` option from default sendmail arguments [ci skip]yuuji.yaginuma2016-07-061-2/+2
| | | | Follow up to #24436
* Do not suggest nonsensical OpenSSL verify modes [ci skip]Jonne Haß2016-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | SSL_set_verify(3) explains: SSL_VERIFY_FAIL_IF_NO_PEER_CERT Server mode: if the client did not return a certificate, the TLS/SSL handshake is immediately terminated with a "handshake failure" alert. This flag must be used together with SSL_VERIFY_PEER. Client mode: ignored SSL_VERIFY_CLIENT_ONCE Server mode: only request a client certificate on the initial TLS/SSL handshake. Do not ask for a client certificate again in case of a renegotiation. This flag must be used together with SSL_VERIFY_PEER. Client mode: ignored The SMTP connection here uses a OpenSSL socket in client mode, suggesting invalid/ignored flags is rather misleading.
* update Active Job default adapter [ci skip]yuuji.yaginuma2016-03-221-4/+8
| | | | Follow up to 625baa69d14881ac49ba2e5c7d9cac4b222d7022
* Add caching guide in ActionMailer basicsStan Lo2016-02-251-0/+16
|
* Merge pull request #23660 from meinac/change_x_gzip_to_gzipJon Moss2016-02-131-1/+1
|\ | | | | Change x-gzip to gzip in docs [ci skip]
| * Change x-gzip to gzip in docs [ci skip]Mehmet Emin İNAÇ2016-02-131-1/+1
| | | | | | | | For more information about GNU zip mime type please check IETF's web site [RFC6713](http://tools.ietf.org/html/rfc6713) or [IANA](http://www.iana.org/assignments/media-types/media-types.xhtml#application)
* | Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
|/
* Refer to rails command instead of rake in a bunch of placesDavid Heinemeier Hansson2015-12-181-1/+1
| | | | Still more to do. Please assist!
* 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
|