With SMTP and HtmlBody set to true I can successfully send an html email with embedded photo. But how do I add a text alternative for those users whose email client doesn't support html?
Intuitiv i would say Set a text-body too when sending...
I dont know whether b4a has implenented this correctly.
But if a message contains a html and a text part then a multipart message should be created. Clients which can view HTML will "use" this html-part.
Clients which cannot show html (only text) will "use" the text-part of the message.
Intuitiv i would say Set a text-body too when sending...
I dont know whether b4a has implenented this correctly.
But if a message contains a html and a text part then a multipart message should be created. Clients which can view HTML will "use" this html-part.
Clients which cannot show html (only text) will "use" the text-part of the message.
Thanks. But if I add anything before the <html> the whole thing is seen as non-html and sent as plain text. I'm now using a different approach. The app gathers all the data needed and sends it by POST to php script that does the sending of the html email with plain text alternative.