EinfachHans / capacitor-email-composer

E-Mail Composer Plugin for Capacitor
MIT License
21 stars 7 forks source link

Emails with attachments staying in outbox. #37

Open rshriyan opened 3 weeks ago

rshriyan commented 3 weeks ago

Hello,

We use this in our ionic app to hand over a pdf attachment averaging 15-20mb in size, what we have noticed is the email sits in the outbox until we switch the Mail client and send it explicitly again.

We do have another native app, that does this natively where the same attachment and client works well and the email is sent.

Is there is difference in handoff between what the package does and what the native calls do ?

EinfachHans commented 3 weeks ago

Hey @rshriyan,

mhh this issue is new to me. The native code of this package is public available, feel free to compare it with your native implementation and let me know if you find differences.

rshriyan commented 1 week ago

It looks like the only difference was between the native implementation and current was the formatting of the body. Changing the body formatting to Plain Text makes the email send immediately.

rshriyan commented 1 week ago

Also a side question, does this always use the internal email client on iOS ? Can't it bring up the default configured mail app instead ?

EinfachHans commented 1 week ago

Sadly with the current implementation, that's not possible