Class: Gitlab::BackgroundMigration::Mailers::UnconfirmMailer

Inherits:
Notify show all
Defined in:
lib/gitlab/background_migration/mailers/unconfirm_mailer.rb

Instance Attribute Summary

Attributes inherited from ApplicationMailer

#current_user

Instance Method Summary collapse

Methods inherited from Notify

allowed_email_domains, #can_send_from_user_email?, #test_email

Methods included from Emails::ServiceDesk

#service_desk_new_note_email, #service_desk_thank_you_email

Methods included from MarkupHelper

#asciidoc?, #cross_project_reference, #first_line_in_markdown, #gitlab_markdown?, #link_to_html, #link_to_markdown, #link_to_markdown_field, #markdown, #markdown_field, #markup, #markup?, #markup_unsafe, #plain?, #render_wiki_content

Methods included from Emails::Reviews

#new_review_email

Methods included from Emails::Groups

#group_email, #group_was_exported_email, #group_was_not_exported_email

Methods included from Emails::Releases

#new_release_email

Methods included from Emails::RemoteMirrors

#remote_mirror_update_failed_email

Methods included from Emails::AutoDevops

#autodevops_disabled_email

Methods included from Emails::Members

#member, #member_access_denied_email, #member_access_granted_email, #member_access_requested_email, #member_invite_accepted_email, #member_invite_declined_email, #member_invited_email, #member_source, #notification_group

Methods included from MembersHelper

#filter_group_project_member_path, #leave_confirmation_message, #member_path, #remove_member_message, #remove_member_title

Methods included from Emails::Pipelines

#pipeline_failed_email, #pipeline_fixed_email, #pipeline_success_email

Methods included from Emails::Profile

#access_token_about_to_expire_email, #access_token_expired_email, #disabled_two_factor_email, #new_gpg_key_email, #new_ssh_key_email, #new_user_email, #unknown_sign_in_email

Methods included from Emails::Projects

#project_was_exported_email, #project_was_moved_email, #project_was_not_exported_email, #prometheus_alert_fired_email, #repository_cleanup_failure_email, #repository_cleanup_success_email, #repository_push_email

Methods included from Emails::PagesDomains

#pages_domain_auto_ssl_failed_email, #pages_domain_disabled_email, #pages_domain_enabled_email, #pages_domain_verification_failed_email, #pages_domain_verification_succeeded_email

Methods included from Emails::Notes

#note_commit_email, #note_design_email, #note_issue_email, #note_merge_request_email, #note_snippet_email

Methods included from Emails::MergeRequests

#changed_milestone_merge_request_email, #closed_merge_request_email, #merge_request_status_email, #merge_request_unmergeable_email, #merge_when_pipeline_succeeds_email, #merged_merge_request_email, #new_mention_in_merge_request_email, #new_merge_request_email, #push_to_merge_request_email, #reassigned_merge_request_email, #relabeled_merge_request_email, #removed_milestone_merge_request_email, #resolved_all_discussions_email

Methods included from Emails::Issues

#changed_milestone_issue_email, #closed_issue_email, #import_issues_csv_email, #issue_due_email, #issue_moved_email, #issue_status_changed_email, #issues_csv_email, #new_issue_email, #new_mention_in_issue_email, #reassigned_issue_email, #relabeled_issue_email, #removed_milestone_issue_email

Methods included from IssuablesHelper

#assigned_issuables_count, #assignee_sidebar_data, #assignees_label, #close_issuable_path, #close_reopen_issuable_path, #due_date_with_remaining_days, #group_dropdown_label, #has_filter_bar_param?, #issuable_author_is_current_user, #issuable_button_hidden?, #issuable_button_visibility, #issuable_display_type, #issuable_initial_data, #issuable_json_path, #issuable_labels_tooltip, #issuable_meta, #issuable_meta_author_slot, #issuable_path, #issuable_reference, #issuable_squash_option?, #issuable_url, #issuables_count_for_state, #issuables_state_counter_text, #issue_only_initial_data, #milestone_dropdown_label, #multi_label_name, #path_data, #project_dropdown_label, #reopen_issuable_path, #serialize_issuable, #sidebar_due_date_tooltip_label, #sidebar_gutter_collapsed_class, #sidebar_gutter_toggle_icon, #sidebar_gutter_tooltip_text, #sidebar_label_filter_path, #sidebar_milestone_remaining_days, #sidebar_milestone_tooltip_label, #template_dropdown_tag, #to_url_reference, #updated_at_by, #user_dropdown_label, #users_dropdown_label

Methods included from GitlabRoutingHelper

#approve_access_request_group_member_path, #approve_access_request_project_member_path, #artifacts_action_path, #commit_url, #commits_url, #edit_milestone_path, #edit_pipeline_schedule_path, #environment_delete_path, #environment_metrics_path, #environment_path, #expose_fast_artifacts_path, #fast_browse_project_job_artifacts_path, #fast_download_project_job_artifacts_path, #fast_keep_project_job_artifacts_path, #gitlab_dashboard_snippets_path, #gitlab_raw_snippet_blob_path, #gitlab_raw_snippet_blob_url, #gitlab_raw_snippet_path, #gitlab_raw_snippet_url, #gitlab_snippet_note_path, #gitlab_snippet_note_url, #gitlab_snippet_notes_path, #gitlab_snippet_notes_url, #gitlab_snippet_path, #gitlab_snippet_url, #gitlab_toggle_award_emoji_snippet_note_path, #gitlab_toggle_award_emoji_snippet_note_url, #gitlab_toggle_award_emoji_snippet_path, #gitlab_toggle_award_emoji_snippet_url, #group_member_path, #group_members_url, #issue_path, #issue_url, #leave_group_members_path, #leave_project_members_path, #merge_request_path, #merge_request_url, #pipeline_job_url, #pipeline_path, #pipeline_schedule_path, #pipeline_schedules_path, #pipeline_url, #play_pipeline_schedule_path, #preview_markdown_path, #project_commits_path, #project_member_path, #project_members_url, #project_ref_path, #project_tree_path, #request_access_group_members_path, #request_access_project_members_path, #resend_invite_group_member_path, #resend_invite_project_member_path, #take_ownership_pipeline_schedule_path, #toggle_award_emoji_personal_snippet_path, #toggle_award_emoji_project_project_snippet_path, #toggle_award_emoji_project_project_snippet_url, #toggle_subscription_path, #wiki_page_path, #wiki_path

Methods included from API::Helpers::RelatedResourcesHelpers

#expose_path, #expose_url, #issues_available?, #mrs_available?

Methods included from EmailsHelper

#action_title, #admin_changed_password_text, #closure_reason_text, #contact_your_administrator_text, #create_list_id_string, #email_action, #email_default_heading, #header_logo, #html_footer_message, #html_header_message, #notification_reason_text, #password_reset_token_valid_time, #re_enable_two_factor_authentication_text, #sanitize_name, #say_hello, #say_hi, #text_footer_message, #text_header_message, #two_factor_authentication_disabled_text

Methods included from AppearancesHelper

#brand_header_logo, #brand_header_logo_type, #brand_image, #brand_new_project_guidelines, #brand_profile_image_guidelines, #brand_text, #brand_title, #current_appearance, #default_brand_title, #footer_message, #header_message

Methods included from Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Methods inherited from ApplicationMailer

#can?

Instance Method Details

#unconfirm_notification_email(user) ⇒ Object


10
11
12
13
14
15
16
17
18
19
20
# File 'lib/gitlab/background_migration/mailers/unconfirm_mailer.rb', line 10

def unconfirm_notification_email(user)
  @user = user
  @verification_from_mail = Gitlab.config.gitlab.email_from

  mail(
    template_path: 'unconfirm_mailer',
    template_name: 'unconfirm_notification_email',
    to: @user.notification_email,
    subject: subject('GitLab email verification request')
  )
end