2013-02-06 63 views

回答

1

你不需要將pdf轉換爲二進制文件,將其附加到電子郵件。只需添加這行裏面的方法您的郵包

attachments["filename.pdf"] = File.read("/path/to/filename.pdf")

相關問題