tweak emails
This commit is contained in:
parent
2899da9823
commit
e542bda8ef
2 changed files with 7 additions and 6 deletions
|
|
@ -7,8 +7,9 @@ YTLF_TICKET_ID = 50
|
||||||
class Mailbot < ActionMailer::Base
|
class Mailbot < ActionMailer::Base
|
||||||
helper ConferenceHelper
|
helper ConferenceHelper
|
||||||
|
|
||||||
default bcc: -> { SNAPCON_BCC_ADDRESS },
|
default bcc: SNAPCON_BCC_ADDRESS,
|
||||||
template_name: -> { EMAIL_TEMPLATE },
|
template_name: EMAIL_TEMPLATE,
|
||||||
|
content_type: 'text/html',
|
||||||
to: -> { @user.email },
|
to: -> { @user.email },
|
||||||
from: -> { @conference.contact.email }
|
from: -> { @conference.contact.email }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
Dear <%= @user.name %>,
|
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 %>.
|
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.
|
Please, find the ticket(s) pdf attached.
|
||||||
|
|
||||||
Best wishes,
|
Best wishes,
|
||||||
<%= @conference.title %> Team
|
<%= @conference.title %> Team
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<%= render partial: "layouts/mailbot_footer" %>
|
<%= render partial: "layouts/mailbot_footer" %>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue