<commit_before>class BaseMailer < ActionMailer::Base

  # configure mailer for SMTP in development
  if Rails.env.development?
    ActionMailer::Base.smtp_settings = {  
      :address              => AppConfig.smtp_server,  
      :port                 => AppConfig.smtp_port,  
      :domain               => AppConfig.smtp_domain,  
      :authentication       => :plain,  
      :user_name            => AppConfig.smtp_user_name,  
      :password             => <PASSWORD>,  
      :enable_starttls_auto => false
    }
  end

  ActionMailer::Base.default_url_options[:host] = AppConfig.domain

  default :from => AppConfig.no_reply_email
  
end<commit_msg>ensure subdomain for mailers is "www" (not sure whether this is best practice ~ better way?)<commit_after>class BaseMailer < ActionMailer::Base

  # configure mailer for SMTP in development
  if Rails.env.development?
    ActionMailer::Base.smtp_settings = {  
      :address              => AppConfig.smtp_server,  
      :port                 => AppConfig.smtp_port,  
      :domain               => AppConfig.smtp_domain,  
      :authentication       => :plain,  
      :user_name            => AppConfig.smtp_user_name,  
      :password             => <PASSWORD>,  
      :enable_starttls_auto => false
    }
  end

  ActionMailer::Base.default_url_options[:host] = "www.#{AppConfig.domain}"

  default :from => AppConfig.no_reply_email
  
end
{'fraction_non_alphanumeric': 0.09645390070921986, 'fraction_numerical': 0.0, 'mean_word_length': 2.258660508083141, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '327317', 'n_tokens_mistral': 437, 'n_tokens_neox': 417, 'n_words': 79}