class Mailer::Mailgun
- Mailer::Mailgun
- Mailer::Provider
- Reference
- Object
Defined in:
mailer/mailgun.crConstructors
-
.new(key : String, domain : String)
Setup mailgun library with your api key and domain
Instance Method Summary
Instance methods inherited from class Mailer::Provider
send(email)
send
Constructor Detail
def self.new(key : String, domain : String)
#
Setup mailgun library with your api key and domain
Mailer::Mailgun.setup(key: "your-key-here", domain: "your-domain")