Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3544] Android - Email Dialog does not support CSS format

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T18:56:06.000+0000
Affected Version/sRelease 1.7.0, Release 3.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, defect, dialog, email, rplist
ReporterPedro Enrique
AssigneeEric Merriman
Created2011-04-15T03:46:30.000+0000
Updated2020-01-09T18:56:06.000+0000

Description

The body of the email dialog can be HTML formatted, but standard CSS does not work on Android. For example:
var email = Ti.UI.createEmailDialog( {
    html: true,
   messageBody : '<html><head></head><body><style type="text/css">.bigger {font-size:30px;}</style><p class="bigger">This is <b style="color:#f00;">my message</b>.</p></body></html>',
		subject : 'Test e-mail from Titanium',
		 toRecipients: ['me@me.com']
});

email.open();
This code works fine on iPhone, but not on Android: There is a http://support.appcelerator.com/tickets/KWW-53877-131/homepage that found this bug. Ti SDK 1.6.2 and 1.7.0 Android APIs 2.2

Attachments

FileDateSize
20110407184533.png2014-01-27T15:57:32.000+000047958
20110407184612.png2014-01-27T15:57:32.000+0000125364

Comments

  1. Alan Hutton 2020-01-09

    It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source