0
有沒有辦法通過郵件gem通過IMAP或SMTP接收郵件?通過郵件通過IMAP/SMTP閱讀電子郵件gem
的documentation似乎只提POP3:
Mail.defaults do
retriever_method :pop3, :address => "pop.gmail.com",
:port => 995,
:user_name => '<username>',
:password => '<password>',
:enable_ssl => true
end
我得到這個錯誤:'當我嘗試用'retrieve_method'代替'delivery_method'時,'NoMethodError:undefined method'new'for:smtp:Symbol' ..感謝您查看這個:) – wmmc