tweak emails

This commit is contained in:
Michael Ball 2021-03-23 02:21:31 -07:00
parent 2899da9823
commit e542bda8ef
2 changed files with 7 additions and 6 deletions

View file

@ -7,8 +7,9 @@ YTLF_TICKET_ID = 50
class Mailbot < ActionMailer::Base
helper ConferenceHelper
default bcc: -> { SNAPCON_BCC_ADDRESS },
template_name: -> { EMAIL_TEMPLATE },
default bcc: SNAPCON_BCC_ADDRESS,
template_name: EMAIL_TEMPLATE,
content_type: 'text/html',
to: -> { @user.email },
from: -> { @conference.contact.email }

View file

@ -4,11 +4,11 @@
Dear <%= @user.name %>,
Thanks! You have successfully booked <%= @ticket_purchase.quantity %> <%= @ticket_purchase.ticket.title %> ticket(s) for the event <%= @conference.title %>. Your transaction id is <%= @ticket_purchase.id %>.
Please, find the ticket(s) pdf attached.
Best wishes,
<%= @conference.title %> Team
<%= @conference.title %> Team
</span>
</div>
<%= render partial: "layouts/mailbot_footer" %>
<%= render partial: "layouts/mailbot_footer" %>