blob: 263130260697d51ba95d1bfaf992c8d1f1927509 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
class ActionMailbox::Ingresses::Postfix::InboundEmailsController < ActionMailbox::BaseController
cattr_accessor :username, default: "actionmailbox"
cattr_accessor :password
before_action :authenticate
def create
ActionMailbox::InboundEmail.create_and_extract_message_id! params.require(:message)
head :no_content
end
end
|