Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailCore.MailCore.sendMail - attachment decode issue #9

Open
YujinKim0624 opened this issue Aug 22, 2019 · 0 comments
Open

MailCore.MailCore.sendMail - attachment decode issue #9

YujinKim0624 opened this issue Aug 22, 2019 · 0 comments

Comments

@YujinKim0624
Copy link

YujinKim0624 commented Aug 22, 2019

MailCore.sendMail is working, however, the attachments (pdf or any images) comes with an error.

MailCore.sendMail({
headers: {
key: 'value'
},
from: {
...
},
to: {
..
},
subject: 'test',
body: '',
attachments: ["../../../Pdf/create_document.pdf"]
})

I simply put a file in a folder, and received an email with that file. However, got an error from the acrobat reader : Adobe Acrobat Reader could not open 'out[2].pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

I am not sure whether it brings the correct file or not. Is there any way to validate this?

@YujinKim0624 YujinKim0624 changed the title MailCore.loginSmtp failed MailCore.MailCore.sendMail - attachment decode issue Aug 23, 2019
@YujinKim0624 YujinKim0624 reopened this Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant