Email 无法使用sendgrid通过发送CSV/文本文件
我在spring boot项目中使用sendgrid(2.2.2版本)发送包含附件的电子邮件(要求-发送CSV文件) SendGrid.Email有三种方法: email.addAttachment(字符串名称,字符串文件)-以名称和文件路径作为内容的CSV文件 email.addAttachment(字符串名称,文件文件)-未发现包含逗号分隔内容的CSV/文本文件与邮件一起附加。 但是,邮件中会附加一个包含一些垃圾邮件数据的示例文本文件 我做错了什么 谢谢,Email 无法使用sendgrid通过发送CSV/文本文件,email,csv,email-attachments,sendgrid,Email,Csv,Email Attachments,Sendgrid,我在spring boot项目中使用sendgrid(2.2.2版本)发送包含附件的电子邮件(要求-发送CSV文件) SendGrid.Email有三种方法: email.addAttachment(字符串名称,字符串文件)-以名称和文件路径作为内容的CSV文件 email.addAttachment(字符串名称,文件文件)-未发现包含逗号分隔内容的CSV/文本文件与邮件一起附加。 但是,邮件中会附加一个包含一些垃圾邮件数据的示例文本文件 我做错了什么 谢谢, Harsha你能显示你的代码吗?代
Harsha你能显示你的代码吗?代码正在设置附件?代码不起作用。不看你写的东西就很难猜出哪里错了