Support add attachment into SendGrid::TemplateMailer #46
Labels
status: help wanted
requesting help from the community
type: question
question directed at the library
Hello guys.
Currently I can add a attachment into a
Mail
object like well described in Attachments section:mail.add_attachment('/tmp/report.pdf', 'july_report.pdf')
Nice, I understand! My question is about this same approach but working with templates.
As described in section Working with Templates there is
SendGrid::Recipient
Class that supportsadd_substitution
method, but is there a way to pass aattachment
to aSendGridRecipient
object? This feature could be a good ideia to a pull request?I hope you understand my question and I really appreciate if you can help me with this.
The text was updated successfully, but these errors were encountered: