16 lines
220 B
Ruby
16 lines
220 B
Ruby
class Imap::FetchEmailService < Imap::BaseFetchEmailService
|
|
def perform
|
|
fetch_mail_for_channel
|
|
end
|
|
|
|
private
|
|
|
|
def authentication_type
|
|
'PLAIN'
|
|
end
|
|
|
|
def imap_password
|
|
channel.imap_password
|
|
end
|
|
end
|