我正在尝试使用电子邮件扩展名发送带有附件的电子邮件。我没有在邮件中看到附件。
该如何解决?
emailext attachmentsPattern: '/scratch/testuser/output.html', body: "Test", mimeType: 'text/html', subject: 's1', to: "${EMAIL_LIST}"
答案 0 :(得分:-1)
emailext attachmentsPattern: 'attachment.html',
body: "test",
recipientProviders: [developers(), requestor()],
subject: "testattachment: Job test"