問題タブ [sendgrid-ruby]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ruby - SendGrid ruby ライブラリ : トランザクション メールでコンテキスト固有の値を送信する
私は宝石https://github.com/sendgrid/sendgrid-rubyを使用しています
SendGrid には、次のようなトランザクション メール テンプレートがあります。
変数を渡す方法:number
、:name
??
ありがとう、
sendgrid - Sendgrid と Rails で特定のリンクのリンク追跡を無効にする方法
Rails から sendgrid 経由でメールを送信するときに、特定のリンクのリンク追跡を無効にする方法はありますか?
ruby-on-rails - NoMethodError Ruby 1.9.3
Ruby 1.9.3 を使用していますが、SendGrid API を使用しようとすると、次の行で次のエラーが発生します。
エラー [" mailer.mail(mail_defaults)
" の下のこの行]:
コード:
一部のユーザーを想定して
私の mail_defaults 配列かもしれないと思ったので、これを試してみたところ (以下を参照)、同じ行に同じエラーが表示されました。
コードにエラーがありますか、それとも SendGrids の mailer.mail メソッドにエラーがありますか?