2014-03-04 2 views
-1

스팸 폴더로 메일이 전송되었습니다. 나는 그 문제를 이해하지 못한다. 메일러 작업 메일 ROR의 스팸 함에 전송

class NewsLetterMailer < ActionMailer::Base 
    def newsletter_email(newsletter) 
    @newsletter = newsletter 
    mail(from: "[email protected]", to: @newsletter.email, subject: "New Letter For FBF Registartion", body: " Hello #{@newsletter.name} \n :Email: #{@newsletter.email}, \n Thank You For Registration Our News Letter") 
    end 
end 

사람이 알아낼 수

# Don't care if the mailer can't send. 
    config.action_mailer.raise_delivery_errors = false 

    config.action_mailer.perform_deliveries = true 
    config.action_mailer.default_url_options = { :host => 'localhost:3000' } 
    #config/environments/development.rb 
    config.action_mailer.default :charset => "utf-8" 
    config.action_mailer.delivery_method = :smtp 
    config.action_mailer.smtp_settings = { 
     :openssl_verify_mode => 'none', 
     address: 'vps103.spsnetwork.net', 
     port: 25, 
     domain: 'mail.forestbankfoundation.org', 
     authentication: :login, 
     enable_starttls_auto: true, 
     user_name: '[email protected]', 
     password: '********' 
    } 

Confirgation

메일 링

. 왜 이런 일이 일어날 지 이해하지 못하겠습니까?

답변

1

나는 action_mailer와 (과) 관련이 있다고 생각하지 않습니다. 스팸 메일에 대처하기 위해 서로 다른 스팸 필터링 기술과 일부 ISP의 활용 꽤 미친 아이디어를 사용 this

모든 수신 ISP에서보세요. 따라서 메일을 보내는 동안 에는 의심 할 여지없이 일부 메일이 필터링됩니다.

관련 문제