jordenc / email-sender

Send emails with Homey
5 stars 6 forks source link

Added email with txt/ascii only #5

Closed Dijker closed 7 years ago

Dijker commented 7 years ago

Hi Jorden, For emailing my Logs from Homey I receive all txt lines separated with \n on one line in my email clients (tested several).

To prevent all lines appended I need to send only the text body and skip sending the html body. I created a extra action card to send txt/ascii only, but reducing core and separating the callback from the only changed mailoptions that differ between the functions isn't fortunately something I could do.

I duplicated the code but I guess you could do better ;-)

Can you add this code or rewrite and publish a version of the app that has an option for only text body?

Thanks! Geurt

jordenc commented 7 years ago

Will check it this weekend and if it all works, publish it :) Thanks!

Dijker commented 7 years ago

Thanks! I will see and update my How-to's ;-)