We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
email_address_with_name
1 parent 113c2d5 commit bd44fa3Copy full SHA for bd44fa3
README.adoc
@@ -1433,6 +1433,14 @@ Use the following format:
1433
default from: 'Your Name <info@your_site.com>'
1434
----
1435
1436
+If you're using Rails 6.1 or higher, you can use the `email_address_with_name` method:
1437
+
1438
+[source,ruby]
1439
+----
1440
+# in your mailer class
1441
+default from: email_address_with_name('Your Name', 'info@your_site.com')
1442
1443
1444
=== Delivery Method Test [[delivery-method-test]]
1445
1446
Make sure that the e-mail delivery method for your test environment is set to `test`:
0 commit comments