angelos3lex / react-native-smtp-mailer

Send emails by connecting to smtp server+attachments, using android javamail and ios mailcore2
39 stars 32 forks source link

How can I add base64 string in attachment? #34

Closed niharikaprasad closed 3 years ago

angelos3lex commented 3 years ago

Store it in a .txt file and send that? You can always send it in the body of the message as well

niharikaprasad commented 3 years ago

Store it in a .txt file and send that? You can always send it in the body of the message as well

I mean to attach a pdf file which is being generated in my React Code using jsPDF (https://github.com/MrRio/jsPDF). I want send the generated file to the user.

angelos3lex commented 3 years ago

This lib creates a normal .pdf file no? You can send that file normally like all other file types, by specifying its path