sendgrid-actionmailer:通过ActionMailer提供的Rails支持

时间:2024-05-27 04:40:46
【文件属性】:

文件名称:sendgrid-actionmailer:通过ActionMailer提供的Rails支持

文件大小:20KB

文件格式:ZIP

更新时间:2024-05-27 04:40:46

Ruby

SendGrid ActionMailer 一个ActionMailer适配器,可使用SendGrid的HTTPS Web API(而不是SMTP)发送电子邮件。 与Rails 5和Sendgrid API v3兼容。 安装 将此行添加到您的应用程序的Gemfile中: gem 'sendgrid-actionmailer' 用法 为您的应用程序创建一个。 然后编辑config/application.rb或config/environments/$ENVIRONMENT.rb并将以下内容添加/更改为ActionMailer配置: config . action_mailer . delivery_method = :sendgrid_actionmailer config . action_mailer . sendgrid_actionmailer_settings = {


【文件预览】:
sendgrid-actionmailer-main
----Rakefile(133B)
----.github()
--------workflows()
----gemfiles()
--------mail_2.7.gemfile(115B)
----Appraisals(49B)
----Gemfile(197B)
----sendgrid-actionmailer.gemspec(1KB)
----.rspec(32B)
----spec()
--------lib()
--------spec_helper.rb(48B)
----.gitignore(195B)
----CHANGELOG.md(2KB)
----lib()
--------sendgrid_actionmailer.rb(11KB)
--------sendgrid-actionmailer.rb(32B)
--------sendgrid_actionmailer()
----README.md(14KB)
----LICENSE.txt(1KB)

网友评论