|
|
|
|
@ -8,11 +8,11 @@ class NotifyMailer < ApplicationMailer
|
|
|
|
|
def send_email(email, template_id, personalisation) |
|
|
|
|
return true if intercept_send?(email) |
|
|
|
|
|
|
|
|
|
notify_client.send_email( |
|
|
|
|
email_address: email, |
|
|
|
|
template_id:, |
|
|
|
|
personalisation:, |
|
|
|
|
) |
|
|
|
|
# notify_client.send_email( |
|
|
|
|
# email_address: email, |
|
|
|
|
# template_id:, |
|
|
|
|
# personalisation:, |
|
|
|
|
# ) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def personalisation(record, token, url, username: false) |
|
|
|
|
|