diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 0773784849..a93bbb0c83 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -4,7 +4,7 @@ class ApplicationMailer < ActionMailer::Base helper :application, :sessions - default from: 'noreply@openstax.org' + default from: 'OpenStax Accounts ' def mail(headers={}, &block) headers[:subject] = "[OpenStax] #{headers[:subject]}" diff --git a/app/mailers/newflow_mailer.rb b/app/mailers/newflow_mailer.rb index 11ab644559..75e327e8ed 100644 --- a/app/mailers/newflow_mailer.rb +++ b/app/mailers/newflow_mailer.rb @@ -24,7 +24,7 @@ def signup_email_confirmation(email_address:) mail to: @email_value, subject: if @should_show_pin - "Use PIN #{@confirmation_pin} to confirm your email address" + "Your OpenStax account PIN has arrived: #{@confirmation_pin}" else 'Confirm your email address' end diff --git a/app/views/newflow_mailer/signup_email_confirmation.html.erb b/app/views/newflow_mailer/signup_email_confirmation.html.erb index ea15673f07..e1de336da7 100644 --- a/app/views/newflow_mailer/signup_email_confirmation.html.erb +++ b/app/views/newflow_mailer/signup_email_confirmation.html.erb @@ -61,7 +61,7 @@

- Confirm your email address + Welcome to OpenStax!

@@ -88,7 +88,11 @@

-

Verify your email by clicking the button below or use your pin: <%= @confirmation_pin %>
+
+

Please confirm <%= @email_value %> is your email.

+
+ Verify your email by clicking the button below or use your pin: <%= @confirmation_pin %> +

@@ -122,7 +126,8 @@
- If you need any assistance, please reply to this email at support@openstax.org. + If you need any assistance, please reply to this email at support@openstax.org.
+ If you did not signup for an OpenStax Account with the email <%= @email_value %>, please disregard this message.