I want to send an email from Spring Boot with a pdf attachment. I have received the pdf file as a multipart file from a POST call. Here’s my controller class so far (sendEmails method is included in emailService service): And here’s sendEmails method: Now, in the sendEmailAndUpdate method I have the reciever’s email address, the pdf (as a MultipartFile),
Tag: email-attachments
Android 11: Send e-mail with automatically attached file
I want open and email app with already generated text, subject, recipient and attached file, it works with android sdk version 29 (android 10) and lower. However starting Android 11 there are restriction to writing file in external or internal storages, and there is also another restriction that is not allowed to attach file automatically from app file directory. Previously