-
Bug
-
Resolution: Fixed
-
Low
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
HTML is sent When Attempting To Send Email Via Text
Example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<base href="http://localhost:8080">
<title>Message Title</title>
</head>
<body class="jira">
<table id="background-table" cellpadding="0" cellspacing="0" width="100%">
<!-- header here -->
<tr>
<td id="header-pattern-container">
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0">
<tr>
<td id="header-avatar-image-container" valign="top">
<img id="header-avatar-image" class="image_fix" src="/secure/useravatar?avatarId=10122" height="32" width="32" border="0" />
</td>
<td id="header-text-container" valign="middle">
<a class="user-hover" rel="admin" id="email_admin" href="/secure/ViewProfile.jspa?name=admin" style="color:#3b73af;">admin</a>
<strong>sent you</strong> a message
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="email-content-container" >
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<td class="email-content-rounded-top mobile-expand"> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand ">
<table class="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td style="vertical-align: top;" class="page-title-pattern-header-container">
<span class="page-title-pattern-header">
TESTing sending email
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="email-content-main mobile-expand ">
<table class='text-paragraph-pattern' cellspacing='0' cellpadding='0' border='0' width='100%'>
<tr>
<td class='text-paragraph-pattern-container mobile-resize-text '>
TEST
</td>
</tr>
</table>
</td>
</tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<tr>
<td class="email-content-rounded-bottom mobile-expand"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="footer-pattern">
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0">
<tr>
<td id="footer-pattern-text" class="mobile-resize-text" width="100%">
This message was sent by Atlassian JIRA
<span id="footer-build-information">(v6.1#6144-<span title='2e5032834b5e9b089289c97f8425a146c3cf4464' data-commit-id='2e5032834b5e9b089289c97f8425a146c3cf4464}'>sha1:2e50328</span>)</span>
</td>
<td id="footer-pattern-logo-desktop-container" valign="top">
<table>
<tr>
<td id="footer-pattern-logo-desktop-padding">
<img id="footer-pattern-logo-desktop" src="http://localhost:8080/images/mail/footer-desktop-logo.png" alt="Atlassian logo" title="Atlassian logo" width="169" height="36" class="image_fix" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Steps to replicate:
- Navigate to the Send Email Page (g + g + send email)
- Write in the subject and select the group to be sent to or project roles
- Write in some sample content
- On the Message Type select TEXT
- Click Send
- Check email, html is sent instead
- is duplicated by
-
JRACLOUD-37693 Plain text email is malformatted
-
- Closed
-
-
JRACLOUD-38090 Send email as text shows the HTML tags.
-
- Closed
-
-
JRACLOUD-38210 Using Send-Email from system panel, strips paragraph breaks from HTML mode, plain-text mode sends HTML code
-
- Closed
-
- is related to
-
JRASERVER-35145 HTML Is Sent Shown When Attempting To Send Email Via Text
-
- Closed
-
- relates to
-
JRACLOUD-30224 Send Mail option could use Full Name instead of username
- Closed